Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse cursor disappears on video playing and not showing back #6352

Closed
koponomarenko opened this issue Jun 28, 2021 · 6 comments · Fixed by swaywm/wlroots#2998
Closed

Mouse cursor disappears on video playing and not showing back #6352

koponomarenko opened this issue Jun 28, 2021 · 6 comments · Fixed by swaywm/wlroots#2998
Labels
bug Not working as intended

Comments

@koponomarenko
Copy link

koponomarenko commented Jun 28, 2021

  • Sway Version: sway version 1.6

  • Debug Log:
    sway -d 2> ~/sway_stderr.log https://gist.github.com/koponomarenko/a3140910e90825d49515f8e9a48fcb58

  • Description:
    In Firefox and Chromium when a video plays (YouTube, Netflix, etc ... ) a mouse cursor disappears, and stays invisible. It looks like the cursor is there, but it is just invisible in the program (Firefox, Chromium). Outside the program window the cursor is back visible. A restart of the program bring the cursor back, until the next time you play any video.

This happens only with scaling factor of 3. The cursor is back when scaling is set to 2.

What could it be? Is there a fix for this?

@koponomarenko koponomarenko added the bug Not working as intended label Jun 28, 2021
@emersion
Copy link
Member

Your bug report is missing debug logs. Please add a link to the full debug log file.

@koponomarenko
Copy link
Author

@emersion I updated the description with the log

@emersion
Copy link
Member

Seems to be triggered by

00:00:39.457 [DEBUG] [wlr] [types/wlr_surface.c:189] Client bug: submitted a buffer whose size (64x64) is not divisible by scale (3)

emersion added a commit to emersion/wlroots that referenced this issue Jun 30, 2021
There are still many situations where the buffer scale is not
divisible by scale. The fix will require a tad more work, so
let's just log the client error for now and continue handling
the surface commit as usual.

Closes: swaywm/sway#6352
@emersion
Copy link
Member

Does swaywm/wlroots#2998 help?

bl4ckb0ne pushed a commit to swaywm/wlroots that referenced this issue Jun 30, 2021
There are still many situations where the buffer scale is not
divisible by scale. The fix will require a tad more work, so
let's just log the client error for now and continue handling
the surface commit as usual.

Closes: swaywm/sway#6352
@koponomarenko
Copy link
Author

@emersion I haven't tried this yet. Thank you anyway. I will let know if that doesn't work as soon as I get the fix.

emersion added a commit to emersion/wlroots that referenced this issue Jul 7, 2021
There are still many situations where the buffer scale is not
divisible by scale. The fix will require a tad more work, so
let's just log the client error for now and continue handling
the surface commit as usual.

Closes: swaywm/sway#6352
(cherry picked from commit 1c4b5bc)
@koponomarenko
Copy link
Author

@emersion I just tried wlroots-0-14.1 and it works, this problem is not present anymore. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

Successfully merging a pull request may close this issue.

2 participants