Bug 160250 - Please Make It Possible To Sort Icons In The Kmenu Alphabetically By Either Name or Description
Summary: Please Make It Possible To Sort Icons In The Kmenu Alphabetically By Either N...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-kickoff (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 170117 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-02 09:59 UTC by Jay LaCroix
Modified: 2009-06-27 00:20 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Alphabetic sorting in simple kickoff (8.71 KB, patch)
2008-09-03 23:07 UTC, Björn Ruberg
Details
Alphabetic sorting in simple kickoff (8.71 KB, patch)
2008-09-03 23:18 UTC, Björn Ruberg
Details
Alphabetic sorting in simple kickoff (8.71 KB, patch)
2008-09-03 23:34 UTC, Björn Ruberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jay LaCroix 2008-04-02 09:59:53 UTC
Version:            (using KDE 4.0.2)
Installed from:    Ubuntu Packages
OS:                Linux

I'm actually using KDE 4.0.3 but I didn't see that option.

Anyway, when I install KDE4, I have to use kmenuedit to manually sort my icons by name.

I think it would be alot better if you could make it so you can choose to have KDE automatically sort the icons in the kmenu, and have a choice to sort them alphabetically by Description or Name.

There could be a setting in System Settings where you can go to choose to display the Name or Description of an icon first, and automatically sort it alphabetically by name or description.

For example, for Konqueror you can choose to have it show the name first like this:

Konqueror
Web Browser

Or you can have it show the description first:

Web Browser
Konqueror

And then there could be a check box to let KDE automatically keep your menu alphabetized.

This would make things alot easier for me and I'm sure others could benefit too.
Comment 1 Jay LaCroix 2008-04-02 10:01:12 UTC
Also I think it would be cool to have an option to alphabetize the Favorites menu as well in Kickoff, rather than just display them in the order that they were added in.
Comment 2 Alan Braslau 2008-06-04 15:31:11 UTC
In fact, how can one edit the order of favorites (other than editing .kde4/share/config/plasmarc)? Note also that the application launcher menu dies if an error is thus introduced in this file.

Currently, the only simple way seems to be to remove all favorites and then add them all back in the desired order!
Comment 3 Todd 2008-07-11 21:54:14 UTC
I agree, being able to change the order (especially of favorites) from within the menu would be extremely useful.  Either by having a drag-and-drop ability or having a "move up" and "move down" option when you right-click an icon.  Dragging and dropping would be better, but just having the option on right-click would be better yet.  

A passable, although not ideal, solution would be to have the favorites appear in the menu editor, either integrated into the main part or in their own section.  Dragging and dropping is better but I think there needs to be some way to move favorites around.
Comment 4 Rufus 2008-09-01 10:27:49 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Björn Ruberg 2008-09-01 23:56:04 UTC
I'm working on a patch for this. This model-stuff makes it really hard :(
I have it working so far, that you can choose sorting by group like "Web-browser" (what is the current default) or alphabetical.
Sadly the setting is currently not saved and I cannot find the reason. If someone could tell me in which file KConfigGroup stores the settings, that would help me investigate.
So, stay tuned, patch will follow in the next days.
Comment 6 Jay LaCroix 2008-09-02 00:27:40 UTC
Awesome!

Is your patch also able to make the Application names display in bold in the Kmenu instead of the description? That was a big part of it for me.

For example, now the Firefox kmenu entry looks like this:

Web Browser
Firefox

When it would be easier to find if it looked like this:
Firefox
Web Browser

Just wanted to make sure I understood you correctly. Thanks again.
Comment 7 Björn Ruberg 2008-09-03 23:07:51 UTC
Created attachment 27220 [details]
Alphabetic sorting in simple kickoff

This adds an option for sorting the menu in simple kickoff in alphabetical order to configuration interface. 
It sorts for the application name, not the description. 

This is just for the simple kickoff menu. I may implement this for normal kickoff as well, if wished.
Comment 8 Björn Ruberg 2008-09-03 23:18:43 UTC
Created attachment 27221 [details]
Alphabetic sorting in simple kickoff

This adds an option for sorting the menu in simple kickoff in alphabetical order to configuration interface. 
It sorts for the application name, not the description. 

This is just for the simple kickoff menu. I may implement this for normal kickoff as well, if wished.
Comment 9 Björn Ruberg 2008-09-03 23:34:25 UTC
Created attachment 27222 [details]
Alphabetic sorting in simple kickoff

This adds an option for sorting the menu in simple kickoff in alphabetical order to configuration interface. 
It sorts for the application name, not the description. 

This is just for the simple kickoff menu. I may implement this for normal kickoff as well, if wished.
Comment 10 Jay LaCroix 2008-09-03 23:46:14 UTC
I think that's cool, I was also hoping that there would be a selection to have the application name bolded instead of the description if the user wishes.

It's not a huge deal, since I go into kmenuedit and remove the descriptions from every icon manually and then the name is listed first automatically. I was just hoping that if you choose to sort by name, the name would appear first in the kickoff icon.
Comment 11 Todd 2008-09-21 17:45:57 UTC
I think it would be great to have across the board (kickoff, 3.5 menu, lancelot, etc).  However, I still think being able to sort manually is really important.  I don't really want to sort it alphabetically, I want to sort it so the most-used applications are at the top and less-used applications are at the bottom (or perhaps vice-versus).
Comment 12 Jonathan Thomas 2008-09-23 02:40:00 UTC
*** Bug 170117 has been marked as a duplicate of this bug. ***
Comment 13 Todd 2009-01-30 20:57:22 UTC
This seems to be working now.
Comment 14 Jay LaCroix 2009-01-31 02:51:16 UTC
Not on my end with 4.2. You can sort alphabetically with the favorites icons now, but the whole point of this bug report was to make it so that emphasis can be placed on the application name rather than the description in the Kickoff menu. For example, you have to look for Firefox under "W" for "Web Browser" instead of "F" for "Firefox". In the Kickoff menu, the description appears on top and the application name appears below the description. You should be able to flip it.
Comment 15 Nicolas Bigaouette 2009-02-04 04:43:20 UTC
It is sad that after that much time this is still not implemented... :(
Comment 16 Dotan Cohen 2009-06-26 12:32:12 UTC
With the patches in the bug, can this be fixed?
Comment 17 Aaron J. Seigo 2009-06-27 00:20:38 UTC
actually, this is all implemented in 4.3.

btw, in future, patches really ought to go on reviewboard.kde.org as it's a lot harder for them to get lost there and a lot easier to actually review them there. you can reference the bug number from the review request and it will link the review request to the bugs.kde.org page.