Bug 153725

Summary: KAcceleratorManager breaks tab bar's scroll ability on dock widgets
Product: [Unmaintained] kdelibs Reporter: michaell <michaell>
Component: shortcutsAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kossebau
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.
Comment 2 Christoph Cullmann 2024-09-14 17:06:55 UTC
Hi,

kdelibs (version 4 and earlier) is no longer maintained since a few years.

KDE Frameworks 5 or 6 might already have resolved this bug.

If not, please re-open against the matching framework if feasible or against the application that shows the issue.

We then can still dispatch it to the right Bugzilla product or component.

Greetings
Christoph Cullmann