Bug 477977

Summary: Contents of Sensors Details section in the settings of System Monitor widgets disappear after a few seconds
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: System Monitor widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, feus73, nate, notmart, saleem24
Priority: NOR Keywords: qt6, regression
Version First Reported In: 5.93.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2023-12-03 10:35:44 UTC
Created attachment 163807 [details]
screen recording

SUMMARY
Can reproduce on X11 and Wayland sessions of Arch Linux running Plasma 6 beta and neon unstable.

STEPS TO REPRODUCE
1. add a System Monitor widget to desktop
2. open the widget settings
3. click on "Sensors details" in the left side
4. wait a few seconds

OBSERVED RESULT
the contents of "Sensors details" section disappears.
Please watch the attached screen recording.

EXPECTED RESULT
The observed result should not occur.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 1 Paolo Zamponi 2023-12-03 13:31:30 UTC
Can confirm. And I can't add more sensors.
Comment 2 Bug Janitor Service 2024-02-16 12:23:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1468
Comment 3 Arjen Hiemstra 2024-02-16 13:24:55 UTC
Git commit f37d965ed9a910618e339ddd2fbdae77bd43a154 by Arjen Hiemstra.
Committed on 16/02/2024 at 12:18.
Pushed by carlschwan into branch 'master'.

PageRow: Ensure JS-created pages have a parent set

Since these are created by the JS engine they are JS-owned, which means
they can end up being garbage collected if we don't keep an explicit
reference around or make sure they are parented to something.

M  +3    -2    src/controls/PageRow.qml

https://invent.kde.org/frameworks/kirigami/-/commit/f37d965ed9a910618e339ddd2fbdae77bd43a154