Bug 436493

Summary: Some pages on pageStack still remain visible and active after having been popped or cleared
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: bart
Component: generalAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.81.0   
Target Milestone: Not decided   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Minimal qml file to reproduce pageStack issue

Description bart 2021-05-02 17:23:17 UTC
Created attachment 138091 [details]
Minimal qml file to reproduce pageStack issue

SUMMARY
Under certain circumstances pages on the pageStack of a ApplicationWindow remain visible and active after they have been popped or cleared.

STEPS TO REPRODUCE
1. Open the attached qml file (qml pagestack-bug.qml).
2. You should now see 3 ScrollablePages on the pageStack (red, green and yellow).
3. From the globaldrawer, select "Blue page".  This will clear the pageStack, push a blue page and then add a large bottomMargin.
4. Observer that the green page is still fully visible and active in the background (through the bottom margin of the blue page).

OBSERVED RESULT
Popped pages which were on the pageStack are still visible and active behind the new pages.

EXPECTED RESULT
Pages not being active or visible anymore after they have been popped or cleared.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Comment 1 bart 2023-12-29 21:20:37 UTC
It seems like this bug is solved with qt 6.6.1.
It's still happening with the latest qt5 though.