Bug 459104 - Moving text cursor in 2x scaled Chromium (ozone wayland) leaves artifacts
Summary: Moving text cursor in 2x scaled Chromium (ozone wayland) leaves artifacts
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.25.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-14 14:39 UTC by hexchain
Modified: 2022-09-15 04:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hexchain 2022-09-14 14:39:12 UTC
(Not sure if this is the correct product/component, sorry if it's not)

SUMMARY
Chromium issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1361325

When running Chromium with Ozone Wayland platform (with --ozone-platform=wayland) in a 2x scaled Plasma Wayland session, moving the text cursor inside the content area leaves artifacts around the text.

Please see the chromium issue for a screen recording.

This issue is not reproduced on Sway and GNOME.

Steps to reproduce the problem:
1. In a 200% scaled Wayland environment, start Chrome with --ozone-platform=wayland
2. Turn off the spell checker
2. Navigate to "data:text/html,<html contenteditable>"
3. Focus the content area and enter something
4. Use left and right keys to move the text cursor back and forth

OBSERVED RESULT
There are clearly noticeable artifacts between the characters where the cursor has touched.

EXPECTED RESULT
There should not be any artifacts.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 6860Z with Radeon Graphics
Memory: 30.1 GiB of RAM
Graphics Processor: AMD YELLOW_CARP

Mesa: 22.1.7-1
Comment 1 Nate Graham 2022-09-14 17:01:33 UTC
Cannot reproduce in a Plasma Wayland git master session with 2x scaling and running chromium 105.0.5195.102 with `--ozone-platform=wayland` when I go to "data:text/html,<html contenteditable>", type "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" and move back and forth with the arrow keys, as shown in the screen recording.
Comment 2 hexchain 2022-09-15 04:45:49 UTC
I can confirm your findings. It still happens in the KDE Neon user edition, but not on the Unstable one.
Comment 3 Nate Graham 2022-09-15 04:48:30 UTC
Cool, sounds like it got fixed for Plasma 5.26 already!