Bug 447489

Summary: pageStack: third page has incorrect width
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Plata <plata.hill>
Component: generalAssignee: Marco Martin <notmart>
Status: REPORTED ---    
Severity: normal CC: bart, nate
Priority: NOR    
Version First Reported In: 5.88.0   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: original issue
increased window width
Incorrectly sized third page on Kasts

Description Plata 2021-12-24 18:49:55 UTC
Created attachment 144843 [details]
original issue

SUMMARY
The third page in a pageStack does not wrap the text correctly. It seems to "believe" that the page is wider than it is actually.
Even enlarging the window doesn't fix this.


STEPS TO REPRODUCE
1. Build example app https://invent.kde.org/plata/kirigami-playground/-/tree/three-pages-long-text
2. Select action in global drawer

OBSERVED RESULT
Third page in pageStack does not wrap the text.

EXPECTED RESULT
Text is wrapped/page has correct width (i.e. 1/3 of window size).

SOFTWARE/OS VERSIONS
Linux: Manjaro
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Seems to be the reason for a bug in Alligator: https://invent.kde.org/plasma-mobile/alligator/-/issues/25
Comment 1 Plata 2021-12-24 18:50:24 UTC
Created attachment 144844 [details]
increased window width
Comment 2 bart 2022-06-28 12:50:30 UTC
Created attachment 150228 [details]
Incorrectly sized third page on Kasts

Same thing is bugging Kasts.