Bug 486652 - ToolBarLayout shows all actions as they are loaded before collapsing them
Summary: ToolBarLayout shows all actions as they are loaded before collapsing them
Status: CONFIRMED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: postmarketOS Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-06 00:11 UTC by Devin Lin
Modified: 2024-09-08 20:52 UTC (History)
4 users (show)

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


Attachments
Video of the bug occurring (139.19 KB, video/webm)
2024-08-01 03:31 UTC, Devin Lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Lin 2024-05-06 00:11:16 UTC
SUMMARY
As actions are loaded into ToolBarLayout, they show up fully in the toolbar before being collapsed into the overflow menu. This is particularly pronounced on slower mobile devices.

STEPS TO REPRODUCE
1. Load an app/page with actions in the header (ex. qmlkonsole)

OBSERVED RESULT
The actions flicker as they are loaded in, and then hidden into the collapsed menu

EXPECTED RESULT
Actions in the collapsed menu aren't show at all in the toolbar.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: postmarketOS
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1
Qt Version: 6.6.0
Comment 1 Devin Lin 2024-08-01 03:28:32 UTC
Note that this doesn't seem to occur with qqc2-desktop-style, it happens specifically with the default Qt Quick themes as well as qqc2-breeze-style.

A good app example with a lot of actions is qmlkonsole, try launching it with "QT_QUICK_CONTROLS_STYLE=org.kde.breeze qmlkonsole"
Comment 2 Devin Lin 2024-08-01 03:31:02 UTC
Created attachment 172169 [details]
Video of the bug occurring

It is much more pronounced on phones as they are much slower
Comment 3 ratijas 2024-08-07 10:44:12 UTC
This pretty much happens with any style. Just look at the Kirigami Gallery.