Enerccio / ewlc

Wayland compositor library - extended
MIT License
20 stars 3 forks source link

Xwayland surfaces do not always set cursor #26

Open WLCIssuesBot opened 7 years ago

WLCIssuesBot commented 7 years ago

Issue by Cloudef Friday May 01, 2015 at 19:17 GMT Originally opened as https://github.com/Cloudef/wlc/issues/21


When moving cursor to Xwayland client, they do not seem to request surface and thus you get invisible cursor.

Seeing this reproducable in weston seems to hint to bug in Xwayland.

issue

WLCIssuesBot commented 7 years ago

Comment by Cloudef Friday May 01, 2015 at 19:34 GMT


While investigating origin of this issue, I'll add temporary workaround that fallbacks to wlc's default cursor whenever over Xwayland surface and there is no cursor. fbba652

WLCIssuesBot commented 7 years ago

Comment by SirCmpwn Monday Nov 30, 2015 at 23:44 GMT


Bump.

WLCIssuesBot commented 7 years ago

Comment by crondog Monday Jan 25, 2016 at 05:50 GMT


Not sure if this helps at all but I have noticed that if I place the cursor in the area where a terminal (e.g st) will spawn the cursor changes to the I-bar cursor. This only happens on the first time until you restart sway

WLCIssuesBot commented 7 years ago

Comment by Cloudef Monday Apr 18, 2016 at 13:50 GMT


Is this issue still relevant, or is wlc buggy? Should be retested with weston.

WLCIssuesBot commented 7 years ago

Comment by crondog Wednesday Apr 20, 2016 at 10:48 GMT


I get cursors inside Xwayland windows in sway. The only issue that I have come across is when you open a menu eg File with FF the cursor is the ugly one. But if you move it into the menu then it is the normal one. However using menus with texstudio it works fine. Same thing happens in weston

WLCIssuesBot commented 7 years ago

Comment by Laaas Monday Mar 06, 2017 at 15:35 GMT


Don't know if it's related but on GIMP (single-window mode) my cursor disappears, if I select a tool and then put my cursor on the image I'm editing, though it appears when I pull my cursor out of GIMP. Tested on Sway 0.11-2 with wlc-git on Arch Linux with kernel 4.9.11-1 and xorg-server 1.19.2-1. I haven't made many changes to the Sway configuration, and none that are related to cursors.

WLCIssuesBot commented 7 years ago

Comment by upwhere Sunday Mar 12, 2017 at 14:17 GMT


Laaas writes:

GIMP (single-window mode) my cursor disappears,

Not just single-window mode.

Tested on Sway 0.11-2 with wlc-git on Arch Linux with kernel 4.9.11-1 and xorg-server 1.19.2-1.

Also happens with orbment.

It's not a regression; Has been the case for quite a few versions.

WLCIssuesBot commented 7 years ago

Comment by Biohazard50 Sunday Apr 23, 2017 at 07:19 GMT


There is an issue with the workaround fbba652: sometimes the application wants to make the cursor disappear (eg Youtube fullscreen video playback on Google Chrome) and instead of disappearing, the cursor defaults to cursor_palette (defined line 918 of wlc/gles2.c).