Bug 169059

Summary: Menu titles gain focus when navigating with keyboard
Product: [Frameworks and Libraries] kdelibs Reporter: Bram Schoenmakers <me>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: divan, g111, r, tjabo.kloppenburg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Bram Schoenmakers 2008-08-13 20:16:00 UTC
Version:            (using KDE 4.1.0)
Installed from:    Compiled From Sources
Compiler:          gcc 4.1.2 
OS:                Linux

Entries added with KMenu::addTitle() still gain focus when navigating with the arrow keys through a menu with titles. The expected behavior would be that these items would be skipped. 

An example would be the Klipper menu: Ctrl+Alt+V and press the down arrow. The selected item is the menu title, and not the first clipboard entry.
Comment 1 Pino Toscano 2008-08-19 10:56:16 UTC
*** Bug 169430 has been marked as a duplicate of this bug. ***
Comment 2 robert lindgren 2008-10-12 08:45:35 UTC
This is a realy annoying regression for klipper, please try to fix it in 4.1.x branch, especially since many distos now are the verge of releasing version with kde4 as default kde.
Comment 3 Pino Toscano 2008-11-01 12:18:53 UTC
*** Bug 172505 has been marked as a duplicate of this bug. ***
Comment 4 Joseph Reagle 2009-04-21 14:56:25 UTC
Was just creating an entry for this, the klipper case, but see this is considered a duplicate.
Comment 5 Joseph Reagle 2009-05-28 04:40:30 UTC
Still present in 4.2.3.
Comment 6 Andreas Pakulat 2009-05-28 09:31:27 UTC
Fixing this bug would depend on extending Qt's QMenu class to also support the title-feature. As navigation is purely done inside QMenu I can't see a way of fixing this in KDE itself.
Comment 7 Christoph Feck 2009-06-08 23:32:59 UTC
*** Bug 195574 has been marked as a duplicate of this bug. ***
Comment 8 g111 2009-06-09 08:36:01 UTC
As long as Qt cannot be fixed, it might be an idea to workaround this in klipper by not setting a title entry. Alternatively the title could be placed below the clipboard entries, above the klipper menu entries (above "Enable Actions").
Comment 9 Joseph Reagle 2009-08-06 15:31:47 UTC
Still present in 4.3.0 .
Comment 10 g111 2009-08-07 11:06:53 UTC
As third alternative (regarding my comment #8) would be to automatically preselect the first klipper entry (the one that is below the title). This would be ok also in future when the title will be no more selectable.
Comment 11 Albert Astals Cid 2009-11-19 23:45:13 UTC
SVN commit 1051646 by aacid:

avoid kmenu keyboard focus to end up on titles
BUGS: 169059


 M  +28 -0     kmenu.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1051646