Summary: | attach as tab should respect userid (or group targets by userid -- see comment 1) | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | pf |
Component: | window-tabbing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mageia RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | mockup of suggestion |
Description
pf
2015-09-01 19:37:46 UTC
Created attachment 94337 [details]
mockup of suggestion
This is a suggested enhancement to give user a better chance of finding the window to attach to as a tab.
On X11, this would require an extension of the NETWM protocol to expose the user ID on the window. Not sure about wayland? There's however absolutely nothing* kwin could possibly do unilaterally in this regard, the client (firefox) would have to provide that information itfp. That doesn't necessarily say WONTFIX, but it's currently not possible (and given the state of NETWM, it likely WONTFIX on X11 indeed) *on a linux with weak (but common) security and for local clients only, we could check the owner of /proc/_NET_WM_PID - we however so far avoid kernel interviews. > Not sure about wayland?
On Wayland we have easy access to the uid and gid. So from that point of view it will be possible. The bigger issue is that on Wayland at least GTK is strongly pushing for client side deocration so at least the Firefox usecase seems to become impossible anyway.
Unfortunately the rework in decorations in KWin 5 resulted in the window tabbing feature to be lost. We still want to bring this feature back, but after several versions it still hasn't emerged yet. Given that I think it is time to adjust the status of this bug report. The new implementation would be different anyway and it's questionable whether this report would still apply to it. |