clapper icon indicating copy to clipboard operation
clapper copied to clipboard

Make Floating mode stay above on non-GNOME DE

Open gre0j opened this issue 2 years ago • 3 comments

I tried Clapper on Fedora 34 Workstation, and it's great. :)

But in elementaryOS 6 (early build) Clapper still goes behind other windows. Is there a chance or a workaround to get this working?

gre0j avatar Jul 22 '21 15:07 gre0j

AFAIK Clapper calls a GNOME specific dbus method in order to be visible above any other windows. (the same thing happens if you right click the headerbar and select "Show over other Windows" (or similar).

Does Pantheon have something similar?

sp1ritCS avatar Jul 22 '21 17:07 sp1ritCS

To be more precise Clapper calls GNOME Shell via DBus which in turn calls Mutter which handles such option (same goes for show on all workspaces), which makes this impossible on any other DE.

Implementing this per each DE (where it might even not be possible) is pointless for an app that specifically targets GNOME desktop. If and only if Wayland gains a special PiP protocol that will allow this, then we can switch to using it to make this possible. AFAIK, web browsers that run under Wayland natively (e.g. Firefox) also struggle to achieve this.

Until that happens, there is nothing that can be done here, and this isn't a player fault but Wayland limitation. There is little merit in implementing this differently for Xorg, as distros are slowly moving to Wayland one by one.

Rafostar avatar Jul 22 '21 20:07 Rafostar

I will reopen this and treat it as feature request, but as mentioned earlier, unless Wayland and Mutter can handle this differently in an unified way with other DEs, implementation of this is unlikely to happen.

Rafostar avatar Jul 28 '21 18:07 Rafostar