Bug 153725 - KAcceleratorManager breaks tab bar's scroll ability on dock widgets
Summary: KAcceleratorManager breaks tab bar's scroll ability on dock widgets
Status: CONFIRMED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: shortcuts (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-09 15:18 UTC by michaell
Modified: 2008-12-31 00:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.