Version: (using KDE KDE 3.1) Installed from: Compiled From Sources Compiler: gcc 2.96 OS: Linux Add a bookmark location, now split this window into two, using Alt-PgDn to goto the next bookmark location always goes to the newly created window, instead of the window with the cursor.
This is a misunderstanding: The new view allways gets focus. You can see it, because the cursor is blinking in it, and the statusbar has the active color scheme (it is a bit lighter than the statusbar of the old view). Unless you have more arguments, I close this bug tomorrow. -anders
Yes, the new view automatically gets focus. But, even after I select the original view for focus, Alt-PgDn still goes to bookmark location the new view. So the new view becomes "sticky" for bookmark navigation.
Subject: Re: goto bookmark location with split windows On Tuesday 13 May 2003 00:00, Nan Zou wrote: > Yes, the new view automatically gets focus. But, even after I select the > original view for focus, Alt-PgDn still goes to bookmark location the new > view. So the new view becomes "sticky" for bookmark navigation. Right you are. I can't see a way to ix this immediately, since it has to do with the action, which is handled by the kdeui libraries. We'll keep the bug for now (culmann, should we reassign this to kdeui?) -anders
If i'm not mistaken, it is caused by the fact that m_activeView in KateDocument class is never updated. There are more related bugs i think.
Subject: Re: goto bookmark location with split windows On Tuesday 13 May 2003 00:50, Paul Pogonyshev wrote: > If i'm not mistaken, it is caused by the fact that m_activeView in > KateDocument class is never updated. There are more related bugs i think. Oh, thanks! That definitely needs fixing. -anders
Subject: Re: goto bookmark location with split windows On Tuesday 13 May 2003 00:50, Paul Pogonyshev wrote: > If i'm not mistaken, it is caused by the fact that m_activeView in > KateDocument class is never updated. There are more related bugs i think. Hm, I fixed that issue, but it didn't fix the bookmark bug. The bookmarks menu is owned by the view, but it seems to work really weird. If i have a document with several bookmarks and split the view, pressing alt + pgdown several times will make the two views go to next bookmark in turn... Activating the menu allways works correctly. I could fix this by using the now fixed doc->m_activeView, since this seems to be a issue with kaccel (?) - i'll do that in a moment. -anders
Works in HEAD now, even the fix is a bit hacky. However, I don't think the wrong view getting the keyboard event is a kate issue, and the feature is absolutely not mission critical. Thanks for reporting.