Bug 342349

Summary: toolbar buttons get stuck depressed when they shouldn't be
Product: [Frameworks and Libraries] frameworks-kxmlgui Reporter: kdebugs
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: christoph
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description kdebugs 2014-12-30 22:50:42 UTC
Buttons on the tool bar fail to properly handle events, such that they can remain in a "depressed" state even when they should not appear depressed.

This can cause it to appear as though panels are open when they aren't, or as if you had multiple views at the same time, which is of course impossible.

Reproducible: Always

Steps to Reproduce:
1. Left-click down on a toolbar button.
2. Right-click down.
3. Move off of the toolbar button.
4. Release mouse buttons.
(5. click somewhere or press Esc to make the menu go away)

Actual Results:  
The button sticks in a depressed state.

Expected Results:  
Button depression state should be maintained properly.
Comment 1 kdebugs 2014-12-30 22:51:38 UTC
Created attachment 90171 [details]
screenshot
Comment 2 Christoph Feck 2014-12-31 03:00:48 UTC
This is not limited to Dolphin, but reproducible with all tool bars, even with the Qt5 version. It might be caused by the menus added to toolbars, but Qt should handle that.
Comment 3 Justin Zobel 2021-03-09 05:54:13 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 4 Christoph Cullmann 2025-01-24 18:56:05 UTC
(In reply to Justin Zobel from comment #3)
> Thank you for the bug report.
> 
> As this report hasn't seen any changes in 5 years or more, we ask if you can
> please confirm that the issue still persists.
> 
> If this bug is no longer persisting or relevant please change the status to
> resolved.
Comment 5 kdebugs 2025-01-24 19:40:59 UTC
Reproduces just as described in 2014.
Dolphin 24.08.3
Plasma 6.2.4
Frameworks 6.8.0
Qt 6.8.1