Bug 2027431

Summary: Mouse cursor disappears on secondary monitor after some time
Product: [Fedora] Fedora Reporter: Gergely Polonkai <gergely>
Component: wlrootsAssignee: Aleksei Bavshin <alebastr89>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: alebastr89, dpgraham4401, grumpey0, me, oranenj, plautrba, sway-sig, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: wlroots-0.14.1-3.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-26 01:24:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gergely Polonkai 2021-11-29 16:12:30 UTC
Description of problem:

After i boot up my computer and start Sway (from the command line, no login managers are present), the mouse cursor image disappears from the secondary monitor. I say “mouse cursor image” because the cursor itself is still present, as i can still move around and click as if it was there; only the arrow (hand, caret, etc.) is missing. Meanwhile, it becomes visible when i move back to the primary monitor.

Version-Release number of selected component (if applicable):

sway-1.6.1-3.fc35.x86_64
wlroots-0.14.1-2.fc35.x86_64

How reproducible:

No exact way to reproduce. I just start up Sway and wait. Sometimes it’s around 10-15 minutes, sometimes it’s 6 hours. I can’t even connect it to a specific application, load, movement, etc.

Comment 1 Gergely Polonkai 2021-11-29 16:29:19 UTC
Seems to be related to https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3189.

Opening wdisplays fixes the issue for a while (cursor re-appears).

Comment 2 Gergely Polonkai 2021-12-06 09:26:53 UTC
As it turns out, the issue i linked is fixed and solves my problem.

Comment 3 Aleksei Bavshin 2021-12-13 07:59:38 UTC
Hi Gergely,

Can you please test if the issue is fixed on the wlroots build from https://koji.fedoraproject.org/koji/taskinfo?taskID=79916036?
I want to make sure that the patch I backported is sufficient before publishing an official update.

Comment 4 Jarkko Oranen 2021-12-13 17:56:40 UTC
I installed the wlroots package from that build and so far everything works. I can't say if it's just luck that I haven't triggered the bug, but I tried triggering it by having sway hide and redraw the cursor multiple times, and so far it has stayed visible.

Comment 5 Fedora Update System 2021-12-17 15:27:43 UTC
FEDORA-2021-d40a38b89c has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d40a38b89c

Comment 6 Fedora Update System 2021-12-18 02:21:17 UTC
FEDORA-2021-d40a38b89c has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d40a38b89c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d40a38b89c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-12-26 01:24:27 UTC
FEDORA-2021-d40a38b89c has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.