After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 651270 - Allow Drag&Drop to reorder items in Mail Filters dialog
Allow Drag&Drop to reorder items in Mail Filters dialog
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
3.24.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[selections] evolution[filters]
: 200975 661884 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-05-27 17:21 UTC by Milan Crha
Modified: 2017-12-06 21:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2011-05-27 17:21:09 UTC
As mentioned in bug #229244, there are dialogs using Top/Up/Down/Bottom buttons to reorder items in a list widget. It would be nice to have some common class (the list/tree view) which will take care of this reordering and will also support drag&drop as a quicker part of the buttons. It may also support drag & drop items from the outside.

The dialogs in question, I know of, are:
 * Contact list editor
 * Message filters
 * Saved searches
Comment 1 Matthew Barnes 2011-05-27 17:41:24 UTC
There's also several places in Preferences where this would be useful: labels, message headers and signatures.

Note in these cases there's no real significance to the order of these items -- other than the displayed order is persistent across sessions -- and therefore there's no reason to forbid reordering the items by drag and drop.  I can imagine an anal-retentive user wanting to group his 40-some custom labels by color in the preferences window, or something silly like that.  We should let him.
Comment 2 André Klapper 2012-08-07 10:09:43 UTC
*** Bug 661884 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2012-08-07 10:10:22 UTC
*** Bug 200975 has been marked as a duplicate of this bug. ***
Comment 4 Jean-François Fortin Tam 2017-09-21 03:17:15 UTC
I don't really see the point in anything but alphabetical for "search filters", in the sense that it doesn't affect the "logic" governing the filter, just the order in which they are displayed at the bottom of the sidebar UI...

The preferences dialog's "Accounts" list already allows drag-and-drop reordering (and has an infobar button to "reset the order") so that one is done.

The only significant one remaining is the mail filtering rules dialog. In that one, the order is actually important, and reordering is a frequent operation. So fix that one and I'd say you'd be good to go to close this bug report (unless you want to reuse the same code into the "search filters" dialog while you're at it).
Comment 5 Milan Crha 2017-09-21 07:26:18 UTC
(In reply to Jean-François Fortin Tam from comment #4)
> (unless you want to reuse the same code into the "search filters"
> dialog while you're at it).

It is the same code, actually.
Comment 6 Milan Crha 2017-12-06 21:57:27 UTC
I agree with Mail Filters dialog being the most important, thus I made it and I'm closing this bug report.

Created commit 0086baed2c in evo master (3.27.3+)