Version: (using KDE KDE 3.4.1)
Installed from: SuSE RPMs
When using a shortcut key assigned to "Close Other Tabs", the current visible tab gets closed and the wrong tab remains. Here're the steps to reproduce this problem:
1. Settings, Configure Shortcuts..., Search for "Close Other Tabs". Assign a key to it. I assigned F4.
2. Go to http://www.kde.org/ or any website. Open many tabs.
3. Pick the 3rd tab to make it the current tab.
4. Press F4.
5. Will notice that the current tab is closed and a wrong tab remains as the last tab.
Right-clicking a tab and using the popup menu to close other tabs doesn't seem to suffer from this problem.
SVN commit 430384 by pletourn:
Keep the current tab when removing the other tabs via the keyboard
M +1 -1 konq_viewmgr.cc
--- branches/KDE/3.4/kdebase/konqueror/konq_viewmgr.cc #430383:430384
@@ -635,7 +635,7 @@
for ( it.toFirst(); it != 0L; ++it )
- if( it.current() != tab)
+ if( it.current() != currentFrame )
*** Bug 98607 has been marked as a duplicate of this bug. ***
In KDE 3.5.8 ( Kubuntu 7.10 ) i have the same bug! I've checked kdebase/konqueror/konq_viewmgr.cc, the "if( it.current() != currentFrame )" is present there, but i can commit the same bug!
To reproduce it open three tabs, for example
then pick the first one (bugs.winehq.org) and press a hotkey to close other tabs. The rightmost tab will remain open.
The main difference between what i can see and the bug 108274 is that it appears only with certain pages opened in tabs.
I have flash player and mplayer plugins loaded.