Bug 454573 - KToolBar collapses (hides) expanded view, preventing user from clicking on second row buttons
Summary: KToolBar collapses (hides) expanded view, preventing user from clicking on se...
Status: REPORTED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-29 12:59 UTC by ratijas
Modified: 2022-05-29 12:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Expanded KToolBar collapses (221.79 KB, video/mp4)
2022-05-29 12:59 UTC, ratijas
Details
QToolBar is alright (510.12 KB, video/mp4)
2022-05-29 12:59 UTC, ratijas
Details

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