Bug 153725

Summary: KAcceleratorManager breaks tab bar's scroll ability on dock widgets
Product: [Frameworks and Libraries] kdelibs Reporter: michaell <michaell>
Component: shortcutsAssignee: kdelibs bugs <kdelibs-bugs>
Status: CONFIRMED ---    
Severity: normal CC: kossebau
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description michaell 2007-12-09 15:18:31 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

When QDockWidgets are tabbed, KAcceleratorManager changes the accelerator of the dock title, but not of the associated tab. Since the accelerator is wrong, QDockAreaLayoutInfo resets it again and we have an infinite loop of tab bar updates which makes the usage of the scroll buttons impossible.
Comment 1 Friedrich W. H. Kossebau 2008-12-31 00:10:42 UTC
I just have come across the problem of infinite loop due to accelerators, I suppose. But where does QDockAreaLayoutInfo reset it again, as you say? Do you remember where you saw this? With Qt 4.4.3 at least the direction is only Dockwidget::windowTitle -> TabBar::text IIUC, see all the "tabBar->setTabText(tab_idx, title);" in qdockarealayout.cpp
I need to tackle this because it sucks 50 % CPU with Okteta's docked tools.