[Bug 285056] New: Differently sort files before renaming

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] New: Differently sort files before renaming

Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056

           Summary: Differently sort files before renaming
           Product: digikam
           Version: 1.9.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Advanced Rename
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Andi Clemens
https://bugs.kde.org/show_bug.cgi?id=285056


Andi Clemens <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1




--- Comment #1 from Andi Clemens <andi clemens googlemail com>  2011-10-27 10:52:39 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Andi Clemens
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056





--- Comment #2 from Andi Clemens <andi clemens googlemail com>  2011-10-27 10:54:21 ---
Or maybe we could add a ContextMenu to the QTreeWidget, presenting all the sort
options?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Andi Clemens
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056


Andi Clemens <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Andi Clemens <andi clemens googlemail com>  2011-10-27 14:59:26 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Bugzilla from coviello.gl@gmail.com
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056





--- Comment #4 from Gianluca <coviello gl gmail com>  2011-10-27 17:18:01 ---
Created an attachment (id=64944)
 --> (http://bugs.kde.org/attachment.cgi?id=64944)
Screenshot describing visually the cause of the wish

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Bugzilla from coviello.gl@gmail.com
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056


Gianluca <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #5 from Gianluca <coviello gl gmail com>  2011-10-27 17:19:17 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Andi Clemens
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056


Andi Clemens <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #6 from Andi Clemens <andi clemens googlemail com>  2011-10-27 19:27:10 ---
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?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Andi Clemens
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056





--- Comment #7 from Andi Clemens <andi clemens googlemail com>  2011-10-27 19:31:46 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Bugzilla from coviello.gl@gmail.com
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056





--- Comment #8 from Gianluca <coviello gl gmail com>  2011-10-27 22:06:16 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Bugzilla from coviello.gl@gmail.com
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056





--- Comment #9 from Gianluca <coviello gl gmail com>  2011-10-27 22:06:58 ---
Created an attachment (id=64956)
 --> (http://bugs.kde.org/attachment.cgi?id=64956)
Screenshot with resized Rename window

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Andi Clemens
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056





--- Comment #10 from Andi Clemens <andi clemens googlemail com>  2011-10-27 22:20:20 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Bugzilla from coviello.gl@gmail.com
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056





--- Comment #11 from Gianluca <coviello gl gmail com>  2011-10-27 22:27:17 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Andi Clemens
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056





--- Comment #12 from Andi Clemens <andi clemens googlemail com>  2011-10-28 08:24:33 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285056] Differently sort files before renaming

Gilles Caulier-4
In reply to this post by Bugzilla from coviello.gl@gmail.com
https://bugs.kde.org/show_bug.cgi?id=285056

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.3.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel