https://bugs.kde.org/show_bug.cgi?id=434417

            Bug ID: 434417
           Summary: Forcing all Plasma windows to be the maximum possible
                    size KWin allows causes CPU and memory leaking
           Product: plasmashell
           Version: 5.21.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: ferenos...@outlook.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY
I decided for a laugh to try a suggestion by an internet friend that tried to
make Kickoff be at a maximum size, and due to this I found out something
interesting:
If you make a window rule from a pinned Plasma Plasmoid popup's window menu for
Plasma, with the window set to all types of window, and the only rule being
Force size at the maximum possible value it allows in both width and height,
and then save... well, looking at top it seems to max out CPUs and eat A LOT of
RAM.


STEPS TO REPRODUCE
1. Trigger the window menu via the menu hotkey on a pinned Plasmoid popup (a
non-pinned one will cause the menu to immediately close with the popup itself)
2. Make a rule for that window
3. Set the window types to match to be ALL the window types
4. Add the Size effect
5. Set the effect to Force
6. Set the values it forces to to the maximum values (quick way is typing
99999)
7. Save

OBSERVED RESULT
The RAM usage and CPU usage skyrockets because of plasmashell, and eventually
the DE dies because of Linux freaking out, probably, since both resource types
are being used uncontrollably.

EXPECTED RESULT
The DE wouldn't 'leak' those resources when trying to cope with this...? That
or KWin wouldn't even allow this to be possible to begin with.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 5.21.2
(available in About System)
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
bruh.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to