Bug 77247

Summary: Keyboard shortcuts for navigating to prev / next bookmark do not respond normally.
Product: [Frameworks and Libraries] kdelibs Reporter: Philippe A <futhark77>
Component: generalAssignee: Ellis Whitehead <ellis>
Status: RESOLVED FIXED    
Severity: normal CC: kwrite-bugs-null
Priority: NOR    
Version: 2.2.1   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Philippe A 2004-03-11 03:36:14 UTC
Version:           2.2.1 (using KDE KDE 3.2.1)
Installed from:    RedHat RPMs
OS:          Linux

This does not seem to reproduce well in the default doc. So,
open a few files and select the 2nd or more. Add two bookmarks. 
Press alt+pgup and alt+pgdn to jump to one or another. It 
will very rarely work on the first keypress. 

Open the bookmarks menu and close it. The shortcuts will start
to work normally until you select another file.

This didn't work in KDE 3.2 either. I don't know if the 
repro steps were the same. 

It was working in the previous KDE version 3.1 I was using 
before (3.1.2 or 3.1.3, don't remember precisely).
Comment 1 Anders Lund 2004-03-17 22:51:01 UTC
It seems that the call is sent to the wrong [document's] view.
For some reasons the "toggle bookmark" action is not infected.
Setting a different shortcut not using the ALT key works, but we have no logical keys for this.

We can use CTRL + Fn (CTRL + F3/CTRL + F4 or so), or CTRL + n (CTRL + <a number>)

We can reassign the bug to kdelibs/kdeui

Opinions?
Comment 2 Anders Lund 2004-03-17 23:16:01 UTC
No matter what shortcut I use, it *does not work*. this is a bug either in KActionMenu or in KXMLGuiClient I guess, so I reassign it.
How ever, as I can't count on it beeing fixed (!), I will give up the usage of KActionMenu in KateBookmarks if that will work.
Comment 3 Anders Lund 2004-03-18 23:45:17 UTC
CVS commit by alund: 

Get rid of the unfortunate (in this context, anyways) KActionMenu.
ucky-sucky QTimer::singleShot to get to the gui factory in kate, kdevelop and
similar apps.

I'm gonna backport this to BRANCH in a bit.

CCMAIL: 77247-done@bugs.kde.org


  M +58 -42    katebookmarks.cpp   1.32
  M +1 -3      katebookmarks.h   1.13