Comments (5)
Is this intended bevahiour?
The group ID of an image group is altered to the image id of the current group leader.
Yes, that's how groups are created.
group ids should not change once created
When an image is imported the group id is set to the image id. If this were the case, we could never have groups.
How are you changing the group leader?
As far as the collection, it displays what was at the time the filter ran. If you change the conditions then you need to rerun the filter to update.
from darktable.
Furthermore....
It's not just groups that behave this way.
For example: I display a film roll/folder. I select an image and rename it using a lua script. If I hover over the image after I've renamed it, the old name still shows up. If I refresh the collection, then the new name shows up.
from darktable.
How are you changing the group leader?
by clicking the group icon in the image overlay
As far as the collection, it displays what was at the time the filter ran. If you change the conditions then you need to rerun the filter to update.
This is what I am well aware of.
When an image is imported the group id is set to the image id.
I was thinking about this and tbh i find this behavior somehow odd for a variety of reasons. The fact that it creates this huge, useless set of one-image-sized groups being the most prominent even though it almost doesn't become visible in day-to-day use unless you are actually working with groups.
If this were the case, we could never have groups.
And for that reason I think, the underlying behavior should change.
Instead of setting group id to image id on import, group id should not be set or set to 0 (to represent no group assignment). Once a group is created the group id should (of course) be unique and not depend on image id at all and - most important - should not change during it's lifetime.
I do however suspect that this change probably requires quite large code changes and might also cause database compatibility issues. So unless there are further comments or thoughts on this feel free to close this issue and in the meantime I will think about how i can change my workflow. I might try to hook into the group leader change and dynamically update the collection filter in my group-view lua plugin.
from darktable.
be unique and not depend on image id at all and - most important - should not change during it's lifetime.
The image id is unique :-).
I use the autogrouper script, which groups by time interval. If I run it and don't like the grouping, because I didn't choose the right time, then I just rerun it with another time setting. If group ids can never be changed then I couldn't do this.
I do however suspect that this change probably requires quite large code changes and might also cause database compatibility issues.
Yes :-). As well as having to rethink grouping entirely.
Grouping isn't saved in the XMP file, #16827, because it's dependent on the image id which would probably change on a re-import. As I was trying to think of workarounds to this I thought about using tags, which are kept in the XMP, to record grouping information. If you use the darktable|<something>
then they don't show up in the tag list but you can still access them from lua. Doing that you could have darktable|group|<somevalue>
and darktable|group-leader|<samevalue as group>
to keep track of your grouping. You could also have images in multiple groups. You could manipulate darktable.gui.selection() to display your groups or use collect rules to filter.
from darktable.
Thanks for additional input
from darktable.
Related Issues (20)
- Compilation against libavif-0.10.1 fails HOT 1
- Cannot add new tags HOT 3
- Inconsistent colors/processing (HLR inpaint opposed OpenCL) HOT 6
- crashes on start-up HOT 3
- QA panel only module layout messes up on preset selection
- Prevent terminal windows from popping up during start on Windows HOT 6
- Segfault right after launch (solved, most likely caused by XP-Pen) HOT 20
- Panasonic Lumix DC S5 Mark II HOT 2
- darktable-cli: problems with export, if composit with the same image
- Scene referred style output from darktable-chart
- OBS Signature is not valid HOT 1
- Crop is incorrect when cropping a portrait image to landscape HOT 4
- stripes with opencl and denoise HOT 6
- color calibration - Chroma slider color not updating when % is 0
- Add skin tone line to vectorscope HOT 2
- Framing reflected in Histogram HOT 3
- When "look for new XMP on startup" is enabled and RAWs + XMP are on a CIFS share darktable launch can take more than 10 minutes to launch HOT 8
- Lighttable : unexpected behavior of selective paste (all) in overwrite mode HOT 13
- unable to delete image previously used as overlay HOT 4
- Cannot install DarkTable on M1 Mac. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darktable.