Bug 438606 - Multiple fast clicks generate memory leak
Summary: Multiple fast clicks generate memory leak
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_screenlocker (show other bugs)
Version: 5.21.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-14 11:05 UTC by medin
Modified: 2021-06-15 20:35 UTC (History)
3 users (show)

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


Attachments
Multiple fast click generate memory leak (2.74 MB, video/mp4)
2021-06-14 11:05 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2021-06-14 11:05:34 UTC
Created attachment 139303 [details]
Multiple fast click generate memory leak

In Screen Locking page if you click fast multiple times on Configure button, Plasma Settings process consumes more memory.
Configure button should be disabled after receiving first click event, and should be re-enabled after Appearance page finishes loading and appears. It seems like many instances are created due to many clicks.
See attached video for more info.

Operating System: Manjaro Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.4.123-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Comment 1 Nate Graham 2021-06-15 20:35:43 UTC
Can confirm. It seems to be pushing the same page onto the stack a zillion times. Not sure if the best fix for this would be here in the screen locker KCM, or in Kirigami more generally (to prevent the same page from being pushed multiple times, if that is possible.