Bug 428079 - App entry for kwin automatically changes to Latte Dock/Plasma
Summary: App entry for kwin automatically changes to Latte Dock/Plasma
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (show other bugs)
Version: 5.20.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-21 23:18 UTC by Timothy B
Modified: 2024-03-04 19:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Duplicate Latte Dock entries in Shortcuts settings screen, with plasmashell being the currently selected app (96.50 KB, image/png)
2020-10-21 23:18 UTC, Timothy B
Details
Duplicate Plasma entries with Latte Dock not installed (1.77 KB, image/png)
2021-03-12 02:51 UTC, Timothy B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy B 2020-10-21 23:18:25 UTC
Created attachment 132621 [details]
Duplicate Latte Dock entries in Shortcuts settings screen, with plasmashell being the currently selected app

SUMMARY
Application names for kwin and plasmashell are being displayed as "Latte Dock" in the Shortcuts page of System Settings despite showing correct icons.

STEPS TO REPRODUCE
1. Install Latte if it's not installed in your system
2. Log out and log back in, or alternatively, restart kglobalaccel5 in the terminal or KRunner
3. Open System Settings, go to Shortcuts, and note the duplicate "Latte Dock" entries with different icons in the application list

OBSERVED RESULT
There would be three "Latte Dock" entries on the application list, and "KWin" or "Plasma Workspace" can't be found in that list.

EXPECTED RESULT
Only one "Latte Dock" entry would appear in the apps list, and both "KWin" and "Plasma Workspace" would appear with their matching icons.

SOFTWARE/OS VERSIONS
Linux: 5.8 64-bit (Manjaro)
KDE Plasma Version: 5.20.0
KDE Frameworks Version: 5.75
Qt Version: 5.15.1

ADDITIONAL INFORMATION
As an attempt to manually fix the wrong names, I changed the _k_friendly_name values for plasmashell and kwin in .config/kglobalshortcutsrc, ran kbuildsycoca5 --noincremental, and the new display name for kwin would apply in the app list. However, plasmashell keeps "Latte Dock" for its _k_friendly_name value as if I never touched it. The _k_friendly_name value for kwin would regress back to "Latte Dock" every time Plasma is upgraded while Latte is still installed.

I've noted this annoying behavior since at least Plasma 5.18.

Note that in the attached screenshot, I've already done the above steps to fix the display name for KWin. The shortcuts being shown in the screenshot is for plasmashell, and the icons look slightly different because I'm using the Papirus icon theme.
Comment 1 Timothy B 2021-03-12 02:43:00 UTC
UPDATE
I uninstalled Latte Dock a few weeks ago over memory leak concerns, and after installing every new Plasma update (I'm now on 5.21.2), the display name for KWin becomes a duplicate "Plasma" entry but with the KWin icon. I tried clearing my kglobalshortcutsrc file, and the wrong display name assignments persist.

I have updated the title of this ticket and added a new attachment (screenshot) to reflect on this update.
Comment 2 Timothy B 2021-03-12 02:51:32 UTC
Created attachment 136598 [details]
Duplicate Plasma entries with Latte Dock not installed

UPDATE
I uninstalled Latte Dock a few weeks ago over memory leak concerns, and after installing every new Plasma update (I'm now on 5.21.2), the display name for KWin now becomes a duplicate "Plasma" entry but with the correct icon.

In addition I tried clearing my kglobalshortcutsrc file and logged out and back in, and the kwin entry still doesn't correct itself.

I have updated the title of this ticket and added a new attachment (screenshot) to reflect on this update. Note that I'm using a different icon theme than Breeze in the screenshot.
Comment 3 Timothy B 2021-07-31 14:34:05 UTC
I found bug #440259 via Nate Graham's blog post posted earlier (https://pointieststick.com/2021/07/30/this-week-in-kde-better-hidpi-on-x11/), and it turns out the observed behavior is very similar to this ticket. The only difference is that I'm using Plasma on X11, but either way, I'm hoping the commit that resolved the aformentioned bug fixes this one too.
Comment 4 Nate Graham 2024-03-04 19:41:51 UTC
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now.

Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again.

Thanks for your understanding, everyone.