Bug 447744 - Notifications applet when started in Latte renames Plasma Desktop global shortcuts _k_friendly_name
Summary: Notifications applet when started in Latte renames Plasma Desktop global shor...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.23.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 440391 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-12-31 14:33 UTC by Michail Vourlakos
Modified: 2022-09-17 12:07 UTC (History)
6 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 Michail Vourlakos 2021-12-31 14:33:41 UTC
SUMMARY
when Latte startups it overwrites _k_friendly_name for Plasma and names it "Latte Dock". If the user goes to Global Shortcuts afterwards will find two different records for Latte Dock BUT one of them is actually the official Plasma desktop one
Comment 1 Michail Vourlakos 2021-12-31 14:34:06 UTC
no idea yet why this happens and how it can be fixed....
Comment 2 Michail Vourlakos 2021-12-31 14:36:24 UTC
maybe this is relevant: https://github.com/KDE/kglobalaccel/blob/master/src/kglobalaccel.cpp#L413
Comment 3 Michail Vourlakos 2021-12-31 14:42:39 UTC
tracked down to plasma systemtray to create this issue and I dont know it might be one of the applets in the systemtray....
Comment 4 Michail Vourlakos 2021-12-31 15:38:39 UTC
Steps to reproduce:

1. Add Notifications applet inside Latte Dock
2. Go to Plasma SystemSettings -> Shortcuts and observe that Plasma has been faulty renamed to Latte Dock
3. Restart plasma desktop
4. Go again to [2] and observe that Plasma Desktop shortcuts record is now shown correctly
5. Next time Latte start same thing will occur again and Plasma Desktop will have been rename to Latte Dock and two records will now exist in the system.
Comment 5 Konrad Materka 2021-12-31 19:49:23 UTC
Latte Dock has System Tray forked (Ui part, C++ backend libraries are the same). Several times in the past this caused issues.

Can you check if you have the same behavior on pure Plasma, with Latte? If yes, then bug is in Latte Dock itself (there is a separate product/component for that)
Comment 6 Michail Vourlakos 2021-12-31 21:16:26 UTC
(In reply to Konrad Materka from comment #5)
> Latte Dock has System Tray forked (Ui part, C++ backend libraries are the
> same). Several times in the past this caused issues.
> 
> Can you check if you have the same behavior on pure Plasma, with Latte? If
> yes, then bug is in Latte Dock itself (there is a separate product/component
> for that)

The issue is with Notifications not systray. Latte does not change anything to Notifications.
Comment 7 Michail Vourlakos 2021-12-31 21:18:19 UTC
Just to add, I have checked that Latte when not using Notifications applet in any way it does not provide such issue.
Comment 8 Michail Vourlakos 2022-01-01 19:12:26 UTC
my guess is that this is the faulter: https://github.com/KDE/plasma-workspace/blob/master/applets/notifications/globalshortcuts.cpp#L22
Comment 9 Michail Vourlakos 2022-09-17 12:07:43 UTC
*** Bug 440391 has been marked as a duplicate of this bug. ***