Bug 454573

Summary: KToolBar collapses (hides) expanded view, preventing user from clicking on second row buttons
Product: [Frameworks and Libraries] frameworks-kxmlgui Reporter: ratijas <me>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Expanded KToolBar collapses
QToolBar is alright

Description ratijas 2022-05-29 12:59:09 UTC
Created attachment 149314 [details]
Expanded KToolBar collapses

SUMMARY

KToolBar has regressed comparing to QToolBar. When a window is not wide enough, a toolbar hides all the buttons and widgets that didn't fit, and offers an "expand" button which transitions to an expanded view with multiple rows of buttons. However, KToolBar collapses/transitions back as soon as cursor leaves the first row, making it impossible to click anything in the expanded view below the first row of buttons which were visible anyway.

STEPS TO REPRODUCE
1. Open any app with a toolbar, e.g. KDE Partition Manager.
2. Shrink it so that the toolbar has to collapse. Set toolbar display mode to "Text alongside buttons" to make it easier.
3. Expand the toolbar.
4. Move mouse down to the buttons on a second (expanded) row.

OBSERVED RESULT
Toolbar automatically hides.

EXPECTED RESULT
Well, it shouldn't.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.18.0-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Comment 1 ratijas 2022-05-29 12:59:40 UTC
Created attachment 149315 [details]
QToolBar is alright

On the other hand, plain old vanilla QToolBar is alright.