| Summary: | Window doesn't get focus when opening files in an already running app | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | neonder <mata987> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED DOWNSTREAM | ||
| Severity: | normal | CC: | mata987, nate, ronan.jouchet |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 6.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | SublimeText changelog | ||
|
Description
neonder
2024-03-09 15:55:29 UTC
This is an issue in Sublime itself, which apparently lacks proper support for the xdg_activation_v1 Wayland protocol. Created attachment 172787 [details]
SublimeText changelog
An recent update to the app concerning xdg-activation protocol, but still the focus is not working properly...
I don't get it, is it still on their side, or is this something KDE related?
The protocol needs to be implemented for both the sending app and the receiving app, and both need to implement it properly. So it's not enough that Sublime does it, the sending app needs to as well. What is the other app? (In reply to Nate Graham from comment #3) > The protocol needs to be implemented for both the sending app and the > receiving app, and both need to implement it properly. So it's not enough > that Sublime does it, the sending app needs to as well. > > What is the other app? Dolphin. Although weird, from my perspective, for it to not have it implemented, as it is a first class citizen in KDE. Yes, Dolphin should definitely be doing the right thing here. Does it work if the receiving app is Kate, and not Sublime Text? If that works, then the issue is in Sublime Text's implementation of the activation protocol. (In reply to Nate Graham from comment #5) > Yes, Dolphin should definitely be doing the right thing here. Does it work > if the receiving app is Kate, and not Sublime Text? > > If that works, then the issue is in Sublime Text's implementation of the > activation protocol. You're correct. Kate works properly. It only fails with Sublime Text. I'll reach out to their devs. Thanks! You're welcome! For anyone having the same issue, here is the reason (from https://github.com/sublimehq/sublime_text/issues/6236) "KDE Neon is based on ubuntu 22.04. While it's running the latest KDE it has pretty outdated versions of GTK (which ST uses). The version of GTK you have doesn't implement the xdg-activation protocol and so ST can't be focused." So, until we move to the next Ubuntu LTS, this can't be fixed. |