Bug 400461

Summary: Cursor doesn't change or fails to revert to pointer while using zoom effect (Firefox and Thunderbird)
Product: [Plasma] kwin Reporter: retired <pepko94>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: bugseforuns, jacobryanham, kdedev, notuxius, quarro, ready2rumbel
Priority: NOR Keywords: accessibility
Version First Reported In: 5.27.3Flags: mgraesslin: Wayland+
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: qdbus org.kde.KWin /KWin supportInformation
demo

Description retired 2018-10-29 21:22:44 UTC
SUMMARY
Mouse pointer fails to change back or doesn't change at all in zoom mode (meta + +). It gets stuck in pointer, link, text select etc mode.

STEPS TO REPRODUCE
1. Zoom in
2. Do something to provoke pointer change (hover over text for example)
3. Check if it changes back, or if it changes at all

OBSERVED RESULT

Pointer gets stuck with incorrect icon.

EXPECTED RESULT

It should change icons depending if it's over text, link, 

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION

I was only able to reproduce this problem with firefox and thunderbird.
Comment 1 Alexander Mentyu 2018-10-30 10:31:21 UTC
Cannot reproduce, are you using some non standard system settings?

Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.14.80
Qt Version: 5.11.2
KDE Frameworks Version: 5.52.0
Comment 2 Martin Flöser 2018-10-30 18:44:48 UTC
Please provide output of:
qdbus org.kde.KWin /KWin supportInformation
Comment 3 retired 2018-10-30 20:33:45 UTC
Created attachment 115995 [details]
qdbus org.kde.KWin /KWin supportInformation

I don't think that there is anuthing unusual about my configs, I will try to reproduce it on clean user.
Comment 4 retired 2018-10-30 20:42:44 UTC
New user has same issues.
Comment 5 Martin Flöser 2018-10-31 04:46:04 UTC
The missing information might be that you use Wayland.
Comment 6 Patrick Silva 2019-02-21 17:51:25 UTC
I can't reproduce here under Wayland.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.1
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Comment 7 retired 2019-02-21 18:37:49 UTC
I just tested again and can still reproduce.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.1
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Kernel Version: 4.20.10-zen1-1-zen
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3720QM CPU @ 2.60GHz
Memory: 15.4 GiB


Kudos to whoever implemented that copy button in kinfocenter.
Comment 8 retired 2019-03-22 15:06:43 UTC
Created attachment 118970 [details]
demo

Cursor was not captured when screen was zoomed out, that's just something to do with pipewire/obs/kwin. It's working as expected when zoomed out.
Comment 9 Patrick Silva 2019-03-23 21:08:29 UTC
Forget my previous comment 6. I can confirm.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 10 Patrick Silva 2021-05-14 16:17:33 UTC
it's still reproducible on Arch Linux with Firefox 88.0.1 running on Xwayland and Plasma 5.22 beta.
Cannot reproduce with Firefox running natively on Wayland.
Comment 11 jacob ham 2022-05-06 21:05:33 UTC
I encounter this bug with all applications running under XWayland (Firefox with XWayland backend, Steam, and Discord). Some can be run with Wayland backends.

Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 5 1400 Quad-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Comment 12 retired 2022-09-22 21:30:40 UTC
Still a thing.

Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.10-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD RENOIR
Nvidia 515.65.01
Comment 13 ready2rumbel 2022-09-23 13:27:49 UTC
I've been experiencing this over the last couple of days as well. The current work-around is to enable KWIN_FORCE_SW_CURSOR=1 in ~/.config/environment.d/ .

Operating System: Fedora 36 KDE
KDE Plasma Version: 5.25.5
Qt Version: 5.15.5
KDE Frameworks Version: 5.98.0
Kernel: 5.19.9-200.fc36.x86_64
GPU: AMD RX 6800M
GPU Driver: mesa 22.3.0-devel
Comment 14 ready2rumbel 2022-09-23 13:32:03 UTC
Forgot to mention that this occurs running the desktop with Wayland but non-zoomed. Examples of this quirk occurs in Firefox (running in Wayland mode) and Steam (XWayland).
Comment 15 retired 2023-03-26 14:33:24 UTC
Unfortunately this is still a thing.
Comment 16 retired 2024-02-03 22:41:00 UTC
I can't reproduce it on Firefox  with 6.0 RC2, however it still happens with Thunderbird.
Comment 17 Greeniac 2025-01-19 12:27:47 UTC
I can reproduce this with chromium/electron based applications and Flatpak GTK based applications. Firefox is fine, and I don't use Thunderbird so i haven't tried it there.

A list of applications that i have found with this bug:

Libreoffice (GTK Based Flatpak)
GIMP 3.0 RC (GTK Based Flatpak)
Chromium (Flatpak)
Zapzap (Electron based Flatpak)
FreeTube (Electron based from the AUR)
Upscayl (Electron based from the AUR)
Comment 18 TraceyC 2025-04-02 19:05:34 UTC
I'm not able to reproduce this currently on Plasma 6.3.3 , using the original testing steps. I tested with

Thunderbird - tested using zoom

Tested the rest mousing over text, window borders, controls & other things, also resizing windows
Steam main window (Native package)
Obsidian Notes (Electron based Flatpak)
Libreoffice (GTK Based native package)
Chromium (Flatpak)
FreeTube (Electron based Flatpak)

Is anyone still able to reproduce this with Plasma 6.3.3 or later?
Comment 19 jacob ham 2025-04-02 19:31:53 UTC
(In reply to TraceyC from comment #18)
> I'm not able to reproduce this currently on Plasma 6.3.3 , using the
> original testing steps. I tested with
> 
> Thunderbird - tested using zoom
> 
> Tested the rest mousing over text, window borders, controls & other things,
> also resizing windows
> Steam main window (Native package)
> Obsidian Notes (Electron based Flatpak)
> Libreoffice (GTK Based native package)
> Chromium (Flatpak)
> FreeTube (Electron based Flatpak)
> 
> Is anyone still able to reproduce this with Plasma 6.3.3 or later?

Yes I can still reproduce it  on Plasma 6.3.3. Tested against:

Steam (native)
Discord (native)
Chromium (native, cursor behaves as expected when launched with a Wayland backend using --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto)

Follow the original steps, check if the cursor changes.

Another way:

1. Place the cursor over an element in an XWayland window that should cause change (e.g. text, a clickable link)
2. Zoom in
3. check if the cursors has erroneously reverted to the default pointer.