Wayland and Eyes (i.e. taskbar plugin): deprecated?

Dear all,

my system:

  • openSUSE Leap 16.0
  • Xfce 4.20
  • Wayland (labwc)

I just once again tried the Eyes (taskbar plugin) — like back then on Leap 15.x with Xfce on X11. I noticed that it is working properly only when the mouse is in the taskbar. … I guess this is due to Wayland, isn’t it. So I wonder is it deprecated now? Are there any other solutions? (I liked the taskbar plugin for Eyes because it is rather always visible, even when you have applications maximized…)

Screenshots with examples




(the last one could be better, maybe it’s misguiding: I wasn’t fast enough to place the mouse more on the left side)

This plugin? https://docs.xfce.org/panel-plugins/xfce4-eyes-plugin

It looks not really supported but you could create an issue.

Yes, very likely this problem is wayland related, should be easy to test by switching back temporary to X11.

Yes.

I could.

When it is actually not possible with Wayland — which could be I guess — then it’s obviously deprectad for Wayland use. Then no issue filing would be needed. … I was looking for some one who can confirm this reliably.

My understanding is that for security reasons a Wayland application does not get the pointer position when it is out of its context (out of its “window”) and this has several effects like this one, closed applications “remembering” their last window size but not their last position etc.

[I’m not a Wayland expert, so I might not be entirely accurate]

1 Like

Yes! This is close to what I have got, so far.

So, I guess this tool is deprecated in this way of use from now on (Wayland). Right? (There is nothing to fix — because it actually cannot be fixed.)

It might be fix in the future. The xfce developers are developing a new wayland windowmanager for xfce. It will be called “xfwl4”.

Really…?

I have already heard about that development project. But it’s still “Wayland”! If it’s Wayland related in general I guess there is just nothing to fix whatever implementation in detail. Well, I would appreciate it (as I would like to use it). But AFAIK Wayland rules, it’s not “intended” on Wayland, is it.

@C7NhtpnK maybe https://github.com/cjacker/wl-find-cursor

1 Like

highlight and print out global mouse position in wayland, especially for compositors based on wlroots, such as sway.

(text formatting (bold) done by me)

Interesting… Thank you @malcolmlewis !

It needs some patching of the includes to add either "wayland/.." or <wayland/...>

Likewise, compile in one command and test…

gcc -g -o wl-find-cursor main.c tmp/xdg-shell.c \
                                tmp/wlr-layer-shell-unstable-v1.c \
                                tmp/wlr-virtual-pointer-unstable-v1.c \
                                tmp/single-pixel-buffer-v1.c \
                                tmp/viewporter.c -I./tmp -lwayland-client

./wl-find-cursor

Oh, sorry, too techy for me!

But thank you for advising, at least. Interesting stuff.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.