[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Nate Graham changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #25 from Nate Graham --- > There is a new issue: This means you should file a new bug report, not re-open an existing one. :) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #24 from Zesko --- > Possibly you are facing bug 442839 Thanks, I report it in 442839 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #23 from Patrick Silva --- (In reply to Zesko from comment #22) > There is a new issue: > > mouse cursor turns into black "Adwaita theme" in any GTK app (for example: > snapper-gui, pamac-manager) when using root permission in Wayland or > XWayland. > > Try to run "kdesu snapper-gui" to show wrong cursor theme. > > It works fine without using root permission, but it does not work with root > permission. Possibly you are facing bug 442839 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Zesko changed: What|Removed |Added Resolution|FIXED |--- CC||xichen.b...@gmail.com Status|RESOLVED|REOPENED --- Comment #22 from Zesko --- There is a new issue: mouse cursor turns into black "Adwaita theme" in any GTK app (for example: snapper-gui, pamac-manager) when using root permission in Wayland or XWayland. Try to run "kdesu snapper-gui" to show wrong cursor theme. It works fine without using root permission, but it does not work with root permission. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 gudv...@gmail.com changed: What|Removed |Added CC||gudv...@gmail.com --- Comment #21 from gudv...@gmail.com --- I am not sure if it's fixed. When I start SDL-based game from Steam, it shows black cursor (from Adwaita theme) but when game is loaded I see breeze cursor. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Nate Graham changed: What|Removed |Added Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kwin/commit/966a95e5fdfe |ma/kwin/commit/3f5d8a94b190 |eaf0044bd1a2fd0fe0862332ec6 |bcc033f004f72b18389423ba130 |3 |e --- Comment #20 from Nate Graham --- Git commit 3f5d8a94b190bcc033f004f72b18389423ba130e by Nate Graham, on behalf of Vlad Zahorodnii. Committed on 23/09/2021 at 13:54. Pushed by ngraham into branch 'Plasma/5.23'. wayland: Set default cursor shape for the root window Previously, it was done by plasmashell, now it needs to be done by kwin. (cherry picked from commit 966a95e5fdfeeaf0044bd1a2fd0fe0862332ec63) M +6-0src/xwl/xwayland.cpp https://invent.kde.org/plasma/kwin/commit/3f5d8a94b190bcc033f004f72b18389423ba130e -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #19 from Nate Graham --- Git commit ab234fa25dfef4181a48a704e3b0d9c62aa80185 by Nate Graham, on behalf of Vlad Zahorodnii. Committed on 23/09/2021 at 13:54. Pushed by ngraham into branch 'Plasma/5.23'. wayland: Fix cross cursor in Xwayland apps Startup code in plasmashell was changed so xsetroot is not called anymore, which is sort of fine. Unfortunately (or not?), it exposed a bug in kwin. Cursor::x11Cursor() only works in the standalone X11 session. On Wayland, Cursor::x11Cursor() will return XCB_NONE which results in seeing cross cursor when there should be arrow cursor. This change moves xcb_cursor_t look up code from X11Cursor to the base Cursor class. In hindsight, I would like to introduce a window manager class where the xcb cursor and other x11 specific code can be moved in the future for better encapsulation of platform-specific code. (cherry picked from commit ca1c72dd16699a5b8250e235f27e67f0f78adae9) M +2-0autotests/CMakeLists.txt M +1-0src/CMakeLists.txt M +35 -14 src/cursor.cpp M +1-12 src/cursor.h M +1-1src/plugins/platforms/x11/standalone/CMakeLists.txt M +0-44 src/plugins/platforms/x11/standalone/x11cursor.cpp M +0-4src/plugins/platforms/x11/standalone/x11cursor.h https://invent.kde.org/plasma/kwin/commit/ab234fa25dfef4181a48a704e3b0d9c62aa80185 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Nate Graham changed: What|Removed |Added Latest Commit||https://invent.kde.org/plas ||ma/kwin/commit/966a95e5fdfe ||eaf0044bd1a2fd0fe0862332ec6 ||3 Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #18 from Nate Graham --- Git commit 966a95e5fdfeeaf0044bd1a2fd0fe0862332ec63 by Nate Graham, on behalf of Vlad Zahorodnii. Committed on 23/09/2021 at 13:52. Pushed by ngraham into branch 'master'. wayland: Set default cursor shape for the root window Previously, it was done by plasmashell, now it needs to be done by kwin. M +6-0src/xwl/xwayland.cpp https://invent.kde.org/plasma/kwin/commit/966a95e5fdfeeaf0044bd1a2fd0fe0862332ec63 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #17 from Nate Graham --- Git commit ca1c72dd16699a5b8250e235f27e67f0f78adae9 by Nate Graham, on behalf of Vlad Zahorodnii. Committed on 23/09/2021 at 13:52. Pushed by ngraham into branch 'master'. wayland: Fix cross cursor in Xwayland apps Startup code in plasmashell was changed so xsetroot is not called anymore, which is sort of fine. Unfortunately (or not?), it exposed a bug in kwin. Cursor::x11Cursor() only works in the standalone X11 session. On Wayland, Cursor::x11Cursor() will return XCB_NONE which results in seeing cross cursor when there should be arrow cursor. This change moves xcb_cursor_t look up code from X11Cursor to the base Cursor class. In hindsight, I would like to introduce a window manager class where the xcb cursor and other x11 specific code can be moved in the future for better encapsulation of platform-specific code. M +2-0autotests/CMakeLists.txt M +1-0src/CMakeLists.txt M +35 -14 src/cursor.cpp M +1-12 src/cursor.h M +1-1src/plugins/platforms/x11/standalone/CMakeLists.txt M +0-44 src/plugins/platforms/x11/standalone/x11cursor.cpp M +0-4src/plugins/platforms/x11/standalone/x11cursor.h https://invent.kde.org/plasma/kwin/commit/ca1c72dd16699a5b8250e235f27e67f0f78adae9 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #16 from Pawel --- sure np. here: https://bugs.kde.org/show_bug.cgi?id=442839 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #15 from Vlad Zahorodnii --- (In reply to Pawel from comment #12) > Created attachment 141816 [details] > awdaita > > Hi Vlad, > > I have made sure to apply this commit as well now and the situation has > slightly improved: instead of an X, the cursor now changes into what I think > is the default, adwaita cursor. I would expect it to remain at the cursor I > have selected in the settings - breeze. I've just booted in Plasma 5.22 and I see the same issue. Please file a new bug report as putting new issues in the same bug report makes it harder to keep track of what has regressed in 5.23. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #14 from Pawel --- and again, executing xsetroot -cursor_name left_ptr resolves this as well. Clicking on a thunderbird menu item retains the breeze cursor -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #13 from Pawel --- Created attachment 141817 --> https://bugs.kde.org/attachment.cgi?id=141817=edit breeze -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #12 from Pawel --- Created attachment 141816 --> https://bugs.kde.org/attachment.cgi?id=141816=edit awdaita Hi Vlad, I have made sure to apply this commit as well now and the situation has slightly improved: instead of an X, the cursor now changes into what I think is the default, adwaita cursor. I would expect it to remain at the cursor I have selected in the settings - breeze. See attached screenshots. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #11 from Vlad Zahorodnii --- @Pawel can you please re-test the merge request again? (make sure that you have "wayland: Set default cursor shape for the root window" commit) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #10 from Vlad Zahorodnii --- Thanks for testing the patch. I've changed BUG to CCBUG. It seems like we still need to change the cursor shape on the root window after all.. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 --- Comment #9 from Pawel --- the above MR resolves the issue only partially. Clicking on menu items in thunder bird still changes the cursor into X, as per the screenshot I attached in the original report. executing xsetroot -cursor_name left_ptr resolves the issue *fully*. so there must be a difference somewhere still. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Bug Janitor Service changed: What|Removed |Added Status|CONFIRMED |ASSIGNED --- Comment #8 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1454 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Samuel Reddy changed: What|Removed |Added CC||samuelsumukhre...@gmail.com --- Comment #7 from Samuel Reddy --- Running this command seems to fix the problem, but you have to do this everytime at login: xsetroot -cursor_name left_ptr -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Lewis Lakerink changed: What|Removed |Added CC||le...@retsim.com --- Comment #6 from Lewis Lakerink --- +1 for me as well. Games such as factorio only have the X cursor in Xwayland. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Matej Mrenica changed: What|Removed |Added CC||matejm98m...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Nate Graham changed: What|Removed |Added Summary|[Wayland] mouse cursor |[Wayland] mouse cursor |turns into X in GTK and SDL |turns into X in GTK and SDL |apps|apps running through ||XWayland -- You are receiving this mail because: You are watching all bug changes.