-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Manually update xmp files for selected collections #14686
Comments
Can you check #12828 and look if part of this post is related with your FR please? |
I would say that #12828 is a great example of feature that could be inclluded as one of the functionalities in the Lighttable XMP update "module". See my mentions about future functionalities that I might not have thought about in my description and motivation for a windows or module like field. |
If the question also applies to if I with floating window mean a window like the one that #12828 refers to, the answer is yes. |
Thats exactly what I'm asking for but with some more information/features that also give me information about the progress in updating the xmp:s AND most important of all, the ability to select which pictures XMP files I want DT to update if there is an updated XMP file available. I think "why do I want the progress information?" is a fair question: Well, on both my main windows and my Linux machine DT sometimes stop "responding". I've learned that most of the time, it hasn't crashed but I've asked it to handle to many pictures. So if I just let it be for a couple of minutes or hours it usually "comes back". But sometimes it doesn't. In these cases it usually have done what I asked it to do but just didn't make it "back" from not responding. In these cases it would be nice to have continues feedback of the progress because then I would be able to see that it's working with my "too large question" and when it says 100%, well, if it's not back and running I can just terminate DT and restart. (DT is really good at handling this which I guess is thanks to the XMP files.) A scaled progress bar as described above would also give the user some indication of how long time the operation might take. I'm not asking for DT to make an estimation but I want to give the user (in this case me:)) an indication about how long it might be before all the requested pictures XMP files is checked for potential updates. |
Well. In most other DT modules there's only one image that is being processed and you have quite good capability to verify the result. Another example on where DT already have some sort of counter involved is when you export multiple files. Then there is a small report/feedback telling the user how many images that has been exported by the total number of image that is requested by the user to be exported. Even in this case it will be mainly easy to verify the result since the images will appear somewhere where the user have told DT to put them. If they're not there, then something haven't worked as expected. In this case however, you can have thousands of images you want to have checked for potential updates and it might be quite overwhelmingly to verify if everything has worked as expected. My suggestions is not idiot proof and there will be plenty of room for users do do "logical bugs/mistakes" in how they use my suggested function without my suggested feedback/reports will help the user to notice there mistake. But it is something that at least will give, as I see it, the most basic suport in verifying the execution. What about the taskbar then. My wish for that one comes down to that I would really appreciate the ability to make a some what qualified guess or estimate for how long the initiated process seems to take. To get that this way, you will make that estimate taking into account the computer's total load. So if you're running other apps on the computer that affects how fast DT can work, that would show up because the next step on the taskbar is only done when the image is checked, which will take different time depending on the computers total work load. In that way you will have a quite good indicator that will help you determin if you should/can wait or if you should/can go and do something else (like sleep because it's night... :)) while you're waiting which is sensitive for total work loads. And as I mentioned above, if DT stops responding but the taskbar still moves then it's not responding because it's occupied. If it's not responding and the taskbar is stuck on the same place then it's probably (but not necessary) crashed. This is, though, my thoughts and what I belive would suite my needs. Thats the best I can do in this wish for this feature. Since I can't do the code myself I'm left to the opinions and judgments of those who may want to take care of this request/desire and actually can program the function might do. :) |
This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue. |
Preferences->Storage->look for updated XMP files on startup |
Not possible with a NAS and hundreds of Go: too slow (with my home lan at least). Or DT should allow to maintain some light "touch" repo/sqlite on the NAS_or_at_specific_path to speedup things (working with NAS or slow storage could be improved but it's not in the scope of this issue). So just allow to refresh the current selection is not so bad. Without touching the UI, it could be part of the local files sync with a big sync_the_stuff (but there will always be a case when doing all together will break something). |
or you could make sure your "NAS" has the same address on all your work stations, then each of your photos would have the same latest, unique xmp |
Sorry I don't understand Xmp is on NAS ok the PB is how to discover modifications of XMP done by other computers with DT without scanning 500 Go of photos over network. Is the XMP somewhat address dependant ? But in the end I know which photos I have worked on even if it's on my travel laptop (in the typical workflow it's the last subfolders). I just need to refresh the XMP on my tower PC at some point. |
if you have configured xmp updates while working photo and your photos are on a "NAS", the xmp files on the "NAS" are current. |
Ok I understand and I use it like it. Thx for your kind explanations. But that does not answer the need to update DT local DB from XMP in a multiple working computers environnement without having to scan the whole NAS at startup. |
put the db on the "NAS" |
This use case was discussed elsewhere but seams dangerous to me. When you work on local files on a laptop on the go (NAS not available) you need a DB. Merging multiple DB or working with multiple DT installation seams risky or at least not dumb proof. And each DT instance locks the DB at startuo. So if you forget to close DT on one computer you're screwed. As for today this is bad idea. Maybe one day we will see a DT server for this kind of use case. |
Still, some kind of module or functionality to "manually" trigger a check for updated xmp:s on only a selected amount of pictures would be of great help. Especially when working with the same pictures on different computers, where the pictures are stored on a NAS or in a cloud service. |
Well, how long does it actually take to scan all XMPs over network? DT doesn't (shouldn't) read the actual big image files during this process. |
It's not relevant because it will always increase. Scanning all files at startup is bad by design. It's just a quick workaround because of NAS users. But a real NAS workflow is yet to be found (A DT server). For me it takes 3 minutes at least before splash screen to appear (5k photos increasing). |
This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue. |
#17202 will provide an updating progress percentage while darktable checks for changed sidecars at startup. |
This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue. |
Still very relevant. Startup time for a darktable 4.8.1 is 10+ minutes if enabled [x] look for updated XMP files on startup. Multiple minutes for darktable to show the main window after starting is a bug in any case, even if I have a slow storage I'd expect application to start and show some kind of user interface - progress bar perhaps or some way to cancel the scan and start using the software? Use case: Images are on a NAS samba share on a 1GbE LAN. Have not yet tried to run a darktable on a WiFi or VPN link as this would probably take days. darktable 4.8.1 flatpak install on debian 12: aa956@desktop02:~$ flatpak list --app
Name Application ID Version Branch Installation
darktable org.darktable.Darktable 4.8.1 stable user
digiKam org.kde.digikam 8.5.0 stable user
Krita org.kde.krita 5.2.6 stable user
aa956@desktop02:~$ |
That may be a good idea but I immediately see 2 problems:
Edit: added points 3-4 |
I've tried and it's not "safe". IMO The only way would be to create a server version of dartktable (could be the same binary with --server on the command line). The clients darktable could communicate with the server running on the NAS to query distant files and db. |
Problem:
I'm always frustrated when I start darktable (DT) and have look for updated XMP files on startup turned on which make the start up of DT to take a very very long time. In my case, I want that on part of the year when we are working on the familys year books, a work including DT when we are selecting images which is done on 3 computers (both windows and linux). For this we are only using the lighttable mode. For editing, we are also using DT on these 3 computers, but there it's not a problem because we complete every photoediting work on the same computer.
Solution:
In collections, right click the collection you would like to check for updated xmp files. In the right click menu you get the option of Check for updated XMP, Update XMP or something similar.
When the option for checking for and update the XMP files have been selected:
When finished, at the bottom of the window:
Alternative
Instead of right click a collection this could also be like an own module called something like collections XMP or similar. Then it could work in that way that the module check for updated XMP files like described above for all images that is selected in Lighttable. This would give a more stringent "feel" compared to how DT looks and works for the user. The user then can use collections and the associated filters as of today to select all images the user want to check for updated XMP files, then select all or only the pictures of interest for the user in Lightable, go to this "module" and run it on selectet/marked images. (I do apologise for several updates of this post, my kid conmtroled the mouse "on my behalf" so instead of preview it became update comment.)
The module like window described above can also be a floating window if that's more convenient.
The taskbar and percentage display doesn't need to be in the suggested colors from above. But I love bright green against black in contexts like this.
The text was updated successfully, but these errors were encountered: