Version: 1.9.0 (using KDE 4.6.5) OS: Linux Hi there, I am a newbie with linux, but I already fell in love with digiKam for its capabilities and its complete integration of pretty everything for image managing in just one program. I also love the capability of the batch renamer of adding almost any information in the file name. Still, you cannot sort as you prefer the files before renaming. For example, one thing I do to organise the photos is to have filenames with a progressing number at the end so that the most recently created files have a greater number. But, alas, to achieve this, I'm compelled to make a double renaming process: in the first process, the files to rename are sorted on the basis of their original names, so I make a first rename including the timestamp in the files and then, I make a second renaming process as now the file name order, due to the presence of the timestamp in the file name itself, respect a date order. It'd be nice if when renaming you could sort the files accordingly not necessarily to the original filename, but accordingly to other criteria, such as the creaton date, modification date and so on. Wouldn't it? It's just an idea... Well done, anyway. digiKam definitely rocks Reproducible: Always Expected Results: The program should give the possibility to sort the files accordingly to a user-defined criterion before renaming and not oblige the user to accept the default (and not changeable) sorting order, i.e. by filename
Hi, the sorting is taken from the icon view, e.g when you sort by Date in there, the files in the rename dialog will also be sorted by date. But I agree, it should be an option in the dialog itself. I have added a simple sort button in my repository, currently sorting by name (asc, desc). It shouldn't be a problem adding more sort criteria like "modification date", "file size" etc. The only problem I have right now is how to add this button to the rename dialog. Gilles, Marcel, any idea? Maybe it is possible to have a dropdown box in the QTreeWidget header, so if you click it, the dropdown will appear with sorting options? Andi
Or maybe we could add a ContextMenu to the QTreeWidget, presenting all the sort options?
Git commit d7c498fcc0011189488842081efeeab22e43a5d9 by Andi Clemens. Committed on 27/10/2011 at 14:24. Pushed by aclemens into branch 'master'. Add sorting capabilities to the file list in the AdvancedRenameDialog. You can access the sorting actions by right-clicking on the file list. Right now only sorting by name and creation date is implemented, but I will add the ability to sort by file-size and (maybe) rating. BUG: 285056 M +59 -3 utilities/advancedrename/advancedrenamedialog.cpp M +7 -0 utilities/advancedrename/advancedrenamedialog.h M +49 -31 utilities/advancedrename/advancedrenamemanager.cpp M +12 -5 utilities/advancedrename/advancedrenamemanager.h M +1 -0 utilities/advancedrename/common/tooltipcreator.cpp http://commits.kde.org/digikam/d7c498fcc0011189488842081efeeab22e43a5d9
Created attachment 64944 [details] Screenshot describing visually the cause of the wish
WOW! I must admit I would never expect such a fast reply! I'm astonished! You're great! Anyway, I must disagree about what you said, i.e. that the images are sorted as in the icon view. I attach an image in which you can see how the images are sorted by filename in the Rename dialog, while their sorting is different in the background list view. Or maybe my Rename window is not the Advanced Rename window of which you're talking about? If so, might you please tell me where to find the Advanced Rename dialog? Another thing which me, the newbie, must learn to do seems to be how to integrate the modifications you did and posted. Still, my compliments for the speed with which you have replied and with which you've handed into the work. That's really astonishing and pushing to make things better. Cheers, Gianluca PS: I switched the status of the bug to 'reopened'. I hope not to bother you too much :D
You are running an old version where it was always sorted by name, in the current stable release (2.2.0) this issue has been fixed (I guess I fixed it in version 2.0.0). The new changes will be in the next release, that will be provided by your linux distribution some day. If you can't wait that long, you'll need to build digiKam from source code. What linux distribution are you using? Maybe someone is building nightly builds for it so you can test it?
Gianluca, according to your screenshot the option buttons in the dialog are not as wide as the dialog itself (there is a space on the right side). Normally, these buttons should shrink / grow and realign dynamically, filling up the space completely. What happens if you resize the dialog (make it wider)? Can you take another screenshot? If the problem is still visible, maybe there is a problem with your KDE theme. Can you tell me what theme you are using? I'll check if I can reproduce this issue on my machine. Andi
O_o... You never stop learning, it seems. I really can't not be astonished by the speed of your replies, Andi. Changing the window dimensions, anyways, the buttons move, shrink or become wider, filling, almost always, the available space (screenshot attached in the next comment). Anyway, I don't expect the behaviour of the windows to be perfect, as I'm not using KDE, whose version, accordingly to digiKam, is 4.6.5, but GNOME. I suppose digiKam only installed the KDE packages needed. About the KDE theme, I sincerely have no clue... might you give me a hint to verify it? Maybe I'm running the mm... default one? :S The linux distribution I'm using is Linux Mint Katya x64. About compiling from source code, I'm a developer too (for work) and, although I'm a newbie with linux and I mainly write firmwares and I'm still enough lazy to prefer the precompiled packages, sooner or later I will compile digiKam, if it's the best way to have the last improvements. But this will come later, when I'll be more into linux and its mechanisms. May be someday I will even give you a hand to develop digiKam, who knows... About testing the possible nightly build, I'm completely available: my actual linux installation is for me to learn, so I have no problem in testing... just... how? Cheers, Gianluca
Created attachment 64956 [details] Screenshot with resized Rename window
Ok, so it generally works resizing the image, I had the impression from your first screenshot that it doesn't. Since you are using Gnome, I guess the KDE theme doesn't matter anymore :-) I just thought I have found a bug, but it doesn't seem to be the case. I don't know Linux Mint, but as far as I know, it is heavily based on Ubuntu, and therefore you might be able to install digiKam "trunk" versions from Ubuntu packages. You could try to ask the digikam-users mailinglist for the newest Ubuntu / Mint packages, maybe they have an idea? I use Archlinux and, in the case of digiKam, never use binaries, so I can not directly help you with Mint. Andi
It seems like we're chatting :D Thanks for the support. About Mint, it is definitely based on Ubuntu, with which it shares the package repositories. I will look for more updated packages or compile digiKam :) Archlinux? First time I hear of it. It seems quite advanced... I'll go on for newbies distros for a while and then change to something geeker :D The next week (here in Italy tomorrow it starts a long weekend and I'm on holidays) I will compile the last version of digiKam and let you know if there's something wrong. As I see you're using a googlemail email account, I suppose you're German, so there's no better way to thanks you again than using a Vielen Dank. Gutenacht, Gianluca
Hi, yes I'm from Germany. I'm on my holdidays right now, too, that's why I have a little spare time for digiKam at the moment :-) Andi