Bug 445448

Summary: Jagged cursor in Firefox, but MOZ_ENABLED_WAYLAND is enabled
Product: [Plasma] kwin Reporter: poperigby
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.23.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A screenshot of a cursor with jagged edges, while hovering over Firefox

Description poperigby 2021-11-13 23:29:12 UTC
Created attachment 143522 [details]
A screenshot of a cursor with jagged edges, while hovering over Firefox

SUMMARY
The edges of my cursor are jagged when ever I mouse over Firefox, but the `MOZ_ENABLED_WAYLAND` environment variable is set to 1, and I can verify Firefox is using Wayland in about:support, as `Window Protocol` says `wayland`. This also happens in Thunderbird, so I'm assuming it's a Gecko thing.

STEPS TO REPRODUCE
1. Login to a Wayland session
2. Mouse over Firefox

OBSERVED RESULT
The edges of the cursor are jagged when hovering over Firefox

EXPECTED RESULT
The edges of the cursor are smooth when hovering over Firefox

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.15.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Comment 1 poperigby 2021-11-16 20:04:19 UTC
This definitely seems to be an issue with fractional scaling, because it doesn't happen at 100% scaling, but does at 150%.
Comment 2 Nate Graham 2021-11-18 02:52:51 UTC
Works for me with 200% scaling.

Does it only happen over Firefox, or with other apps too?
Comment 3 poperigby 2021-11-18 03:23:17 UTC
(In reply to Nate Graham from comment #2)
> Works for me with 200% scaling.
> 
> Does it only happen over Firefox, or with other apps too?

It also happens with Zoom and Thunderbird. Probably something to do with web engines?
Comment 4 Nate Graham 2021-11-18 03:29:06 UTC
Hmm, Zoom is a Qt app. Not any KDE apps?
Comment 5 poperigby 2021-11-18 03:35:40 UTC
(In reply to Nate Graham from comment #4)
> Hmm, Zoom is a Qt app. Not any KDE apps?

My bad, it actually does happen on everything. It's just hard to tell on a dark background, and I'm using a dark theme.
Comment 6 Nate Graham 2021-11-18 03:40:26 UTC
Gotcha, thanks. Looks like this is Bug 413034.

*** This bug has been marked as a duplicate of bug 413034 ***