Bug 86196 - Arrange shortcut hierarchy as in menus in kkeydialog
Summary: Arrange shortcut hierarchy as in menus in kkeydialog
Status: REPORTED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-29 05:52 UTC by Gustavo Sverzut Barbieri
Modified: 2011-07-26 12:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Sverzut Barbieri 2004-07-29 05:52:48 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Gentoo Packages

KDE should arrange shortcut items in the kkeydialog as they're in the menus (when possible/item in menu), so it's much easier to find out where the item is located, this will complement the icon for shortcuts and the search line in the last betas.

For KMail it should be something like:

File
   +-New Window
   +-Save As
   +-Print
...
Edit
   +-Undo
   +-Copy
...

Basically you need to change kkeydialog.cpp KKeyChooser::buildListView(). I don't have knowledge on how to achive this, but I'm looking at... if you could point me how to do it I'll try to code.

Thanks,

Gustavo
Comment 1 Stephan Kulow 2004-07-29 09:49:05 UTC
this is about impossible, but you can try. The menu structure is defined by KXMLGUI - but you're aware that there are a lof of shortcuts that are not in the menus?
Comment 2 Sebastien 2004-07-29 14:18:36 UTC
> this will complement the icon for shortcuts
> and the search line in the last betas.

Oh this is already implemented ?
Great: I willn't have to ask them :-)

BTW, I vote for your wish.
It would really be good.
Comment 3 Gustavo Sverzut Barbieri 2004-07-29 15:36:50 UTC
Stephan,

Why would it be impossible? Can't I do something like this:

1) Build a tree of items in menu, travessing the menu to reach this goal.
2) Go through all actions and build a list of items not in 1)

They could be arranged like:

File
   +-New Window
   +-Save As
   +-Print
...
Edit
   +-Undo
   +-Copy
... 
Kmail
   +-Item-Not-In-Menu-1
   ...

What do you think?

Is that possible? Where can I get menu hierarchy?

Gustavo