Summary: | KGlobalAccel gets started when using kde apps, even when not on kde plasma. | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kglobalaccel | Reporter: | peanutplays61 |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | nate, nicolas.fella |
Priority: | NOR | ||
Version First Reported In: | 5.108.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
peanutplays61
2023-08-10 20:25:56 UTC
Keybindings are attached to apps, not to Plasma (and not to KDE; KDE is the name of the community), so this is behaving as expected, (In reply to Nate Graham from comment #1) > Keybindings are attached to apps, not to Plasma (and not to KDE; KDE is the > name of the community), so this is behaving as expected, It's a bit more complex than that. The way KGlobalAccel currently works mean that when an app wants to interact with it it will be launched via DBus activation. I agree that this is undesirable outside of Plasma. I tried to change that at some point, but that broke shortcuts for people using KWin outside of Plasma, so it was reverted. For Plasma 6 I've restructured KGlobalAccel to not start kglobalacceld via DBus activation and instead require it to be launched manually if needed. That avoids the problem. That said I don't see how using KWrite would trigger this, it should only affect the very few apps that do interact with global shortcuts I'm not sure it's undesirable outside of Plasma. If I install Yakuake in GNOME and I hit F12, I expect Yakuake to activate. The fact that it uses KGlobalAccel for the shortcut is an implementation detail, but to the extent that I want the global shortcut to work, I want KGlobalAccel to be running so it can handle the shortcut. (In reply to Nicolas Fella from comment #2) > (In reply to Nate Graham from comment #1) > > Keybindings are attached to apps, not to Plasma (and not to KDE; KDE is the > > name of the community), so this is behaving as expected, > > It's a bit more complex than that. > > The way KGlobalAccel currently works mean that when an app wants to interact > with it it will be launched via DBus activation. I agree that this is > undesirable outside of Plasma. I tried to change that at some point, but > that broke shortcuts for people using KWin outside of Plasma, so it was > reverted. > > For Plasma 6 I've restructured KGlobalAccel to not start kglobalacceld via > DBus activation and instead require it to be launched manually if needed. > That avoids the problem. > > That said I don't see how using KWrite would trigger this, it should only > affect the very few apps that do interact with global shortcuts The interesting part of kwrite and Kate is that it only launches when you open a document. |