Bug 180814 - spacebar selects item in menu
Summary: spacebar selects item in menu
Status: RESOLVED UPSTREAM
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 221953 293932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-15 14:14 UTC by Jakub Zakrzewski
Modified: 2019-11-04 20:41 UTC (History)
5 users (show)

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 Jakub Zakrzewski 2009-01-15 14:14:53 UTC
Version:            (using Devel)
Installed from:    Compiled sources

In Dolphin and in other KDE applications (Konqueror, Kcalc) when I use the program menu with keyboard (in Dolphin e.g. Alt + V -> View) than I have some options I can choose. Upon them are some options which I enable/disable. In Dolphin in View there are "Preview" and "Show hidden Files" options. The only way to select them is to press Enter. After this the options is selected/deselected depending on the previous state, but the menu disappears. So in my case to select both "Preview" and "Show hidden Files" options I have to go through "Alt+V" arrow keys down until the option twice.

My idea is to use space-bar to select options as those mentioned before.
It is the significant improvement as I don't have to open the menu twice. Instead of this I select the option with space-bar and go to the next option.
Comment 1 George Kiagiadakis 2009-01-15 14:52:40 UTC
That behavior is inherited from Qt afaik. I'm not sure if it can be changed in kde...
Comment 2 Andreas Pakulat 2009-01-15 15:57:02 UTC
Technically this is possible, simply install an event filter on the menu bar and then check for spacebar presses on such items and if so trigger the action as if enter was pressed.

That said I'm not sure this is solveable easily on the kdelibs level, it might need adjustment in each application.

Of course a Qt implementation would make all this a lot easier, so I suggest to file a feature request with Qt Software.
Comment 3 Christoph Feck 2009-12-09 08:23:44 UTC
http://bugreports.qt.nokia.com/browse/QTBUG-6635
Comment 4 Christoph Feck 2009-12-09 08:35:07 UTC
http://bugreports.qt.nokia.com/browse/QTBUG-6635
Comment 5 Christoph Feck 2010-01-09 19:07:43 UTC
*** Bug 221953 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2012-02-13 00:11:38 UTC
*** Bug 293932 has been marked as a duplicate of this bug. ***
Comment 7 S. Burmeister 2012-02-13 10:33:06 UTC
The same behaviour applies to clicking on checkboxes in menus which closes them although multiple selections are possible.