Bug 432350 - Mouse cursor often does not change on Firefox in Wayland
Summary: Mouse cursor often does not change on Firefox in Wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.20.90
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2021-01-31 13:57 UTC by Claudius Ellsel
Modified: 2022-08-29 16:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claudius Ellsel 2021-01-31 13:57:32 UTC
SUMMARY
On Firefox (and possible other XWayland applications) the mouse cursor doesn't always change. Examples are when I am over text and the cursor should change to a "text" cursor. Or when I somehow get it to change to that cursor and move away from the text, but it still is a text cursor and doesn't change back to a normal one.

STEPS TO REPRODUCE
1. A page where this happens is https://bugs.kde.org/enter_bug.cgi
2. Move the mouse around over the content

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210128
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.9-1-default
OS Type: 64-bit
Processors: 4 × Intel® Xeon® CPU E3-1225 v3 @ 3.20GHz
Memory: 11.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics P4600/P4700

This might be unrelated to Wayland or Plasma, haven't thoroughly tested. Maybe this is a Firefox bug in general.

Product and component might be wrong.
Comment 1 Nate Graham 2021-02-01 17:42:05 UTC
On Wayland, input is handled by the server (KWin) and the client (Firefox) directly; Plasma isn't involved. Moving to KWin for now.

Can you triage this a bit? Does it happens on X11? Or in other apps? Or on other web pages? etc.
Comment 2 Bug Janitor Service 2021-02-16 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Claudius Ellsel 2021-02-17 16:32:10 UTC
Finally, I got around to test a bit further.

I cannot reproduce it on Bugzilla with X11, so setting Wayland keyword.

Not sure whether it happens on other webpages, I think I mostly noticed it on Bugzilla.
Comment 4 Claudius Ellsel 2021-02-17 16:38:31 UTC
I can also reproduce on other webpages like Wikipedia.
Comment 5 Claudius Ellsel 2021-02-17 16:52:34 UTC
During further investigation, I made some interesting findings. I did not find a Wayland application with this problem (but I also don't know of one that has a text cursor apart from input fields).

While testing with LibreOffice, I managed to reproduce the problem (but only when there was no cursor blinking). Also, I noticed that the problem doesn't happen in Firefox if I have systemsettings open focused with a blinking cursor in the text field. I assume that it doesn't have to be systemsettings.

In LibreOffice when there was a blinking "cursor", I noticed that the mouse cursor changed from normal to text after moving from normal content over text content in the frequency of the "cursor" blinking in the text field (the same happens the other way around when moving the mouse from text over normal content). There is a delay for changing the mouse cursor that seems to "wait" for the "cursor" in the text field to blink.

I thus assume that somehow the text field "cursor" blinking is interfering or limiting some function that checks for the mouse cursor position in order to change it matching the content.
Comment 6 Nate Graham 2021-03-09 17:48:45 UTC
Still cannot reproduce, now with Plasma 5.21 and firefox 86. Can you still reproduce?
Comment 7 Bug Janitor Service 2021-03-24 04:33:48 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2021-04-08 04:33:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 9 Claudius Ellsel 2022-08-29 16:59:45 UTC
I cannot reproduce anymore, so might have gotten fixed somewhere in the meantime.