Bug 342637 - Memory leak in KDE Keyboard Layout Indicator
Summary: Memory leak in KDE Keyboard Layout Indicator
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kxkb
Classification: Miscellaneous
Component: general (show other bugs)
Version: 3.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-08 19:59 UTC by Marc-André Laverdière
Modified: 2021-03-20 03:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laverdière 2015-01-08 19:59:55 UTC
This bug is happening with Platform Version 4.14.3
[Copied verbatim from Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=1180288]

Description of problem:
When the KDE Keyboard Layout is enabled and the key sequence to change layouts is pressed repeatedly, plasma-desktop takes up to 20% CPU and the memory usage increases gradually (in chunks of ~4mb).

Version-Release number of selected component (if applicable):
kde-workspace-4.11.14-2.fc20.x86_64

How reproducible:
Constantly

Steps to Reproduce:
1. Open the keyboard layouts settings (System Settings > Input Devices > 
Keyboard > Layouts)
2. Set the following layouts: 
3. Enable Show layout indicator
4. Click apply
5. Open ksysguard and observe plasma-desktop's memory and CPU usage
6. Press Ctrl-Alt-K repeatedly
7. Observe plasma-desktop's memory and CPU usage
8. Disable the keyboard layout indicator (uncheck System Settings > Input Devices > Keyboard > Layouts > Show layout indicator)
9. Click apply
10. Press Ctrl-Alt-K repeatedly
11. Observe plasma-desktop's memory and CPU usage

Actual results:
At step 7, the CPU usage will shoot up (up to 20% in my case) and the memory usage will increase rapidly.

At step 11, the CPU and memory usage is not affected.

Expected results:
At both steps 7 and 11, the CPU and memory usage should not affected.

Additional info:
The keyboard layouts I have set up are US English and French (Canada) / Canadian Multilingual
Comment 1 Justin Zobel 2021-03-10 00:12:36 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 2 Nate Graham 2021-03-20 03:08:24 UTC
Bugs reported against Plasma 4 can generally be unconditionally closed as RESOLVED UNMAINTAINED unless you have solid evidence that it's still happening today.