Bug 478778 - Mouse pointer tiny on native wayland Chromium
Summary: Mouse pointer tiny on native wayland Chromium
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://invent.kde.org/plasma/kwin/-/...
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-20 17:54 UTC by Mike Lothian
Modified: 2024-01-10 20:00 UTC (History)
1 user (show)

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


Attachments
Normal (309.88 KB, image/png)
2023-12-20 17:54 UTC, Mike Lothian
Details
Tiny (309.14 KB, image/png)
2023-12-20 17:55 UTC, Mike Lothian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2023-12-20 17:54:52 UTC
Created attachment 164322 [details]
Normal

I'm testing kwin 6 from master compiled earlier today along with the frameworks from master too, I'm using scaling set at 125%

Chromium is running wayland natively (not Xwayland) and looks correct for the menus and the sites themselves, the cursor however shrinks to a fraction of the size when over the browser
Comment 1 Mike Lothian 2023-12-20 17:55:12 UTC
Created attachment 164323 [details]
Tiny
Comment 2 Mike Lothian 2023-12-20 17:58:45 UTC
It's chromium 120.0.6099.109

Operating System: Gentoo 2.14
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Kernel Version: 6.7.0-rc6-tip+ (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
Memory: 62.2 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 3 Nate Graham 2023-12-21 21:42:30 UTC
This has been fixed in the Breeze cursor theme with https://invent.kde.org/plasma/breeze/-/merge_requests/380, but it's still an open question as to how we support this properly when not using the Breeze cursor theme, or when using a screen scale that the active cursor theme doesn't have a pre-generated pixmap for. See https://invent.kde.org/plasma/kwin/-/issues/187.
Comment 4 Mike Lothian 2023-12-21 23:41:59 UTC
I'm running git master which includes this MR already
Comment 5 Nate Graham 2023-12-22 15:16:34 UTC
Git master of what? Everything? Just KWin? I ask because with current git master of Plasma 6 Wayland an the Breeze cursor theme at 200% scale, this is working fine for me.
Comment 6 Mike Lothian 2023-12-22 15:29:45 UTC
Yes everything
Comment 7 Mike Lothian 2023-12-28 17:45:47 UTC
I'm wondering if this is a Chromium bug, if I set --force-device-scale-factor=1 everything looks blurry but the mouse pointer is almost the correct size (it looks like the wrong theme though)

From what I understand apps use wp_fractional_scale_manager_v1 and cursor_shape_v1, is there a way to debug this? i.e. see what chromium is asking kwin to display
Comment 8 Mike Lothian 2024-01-04 17:19:15 UTC
I've raised the same issue on the Chromium bug tracker

https://bugs.chromium.org/p/chromium/issues/detail?id=1515620

I've tested this on another machine still using Plasma 5, and I get the same issue when running wayland (I'm usually still on X)
Comment 9 Nate Graham 2024-01-10 20:00:02 UTC
Thanks, let's see where it goes.