Bug 489024 - Visual glitch of the "Order" dropdown list of the "Slideshow" wallpaper type in the Wallpaper module of System Settings
Summary: Visual glitch of the "Order" dropdown list of the "Slideshow" wallpaper type ...
Status: RESOLVED DUPLICATE of bug 479891
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_wallpaper (other bugs)
Version First Reported In: 6.1.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-23 07:16 UTC by Huanyu Liu
Modified: 2025-01-11 18:15 UTC (History)
4 users (show)

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


Attachments
Visual glitch when the system language is set to American English (en_US) (221.27 KB, image/png)
2024-06-23 07:18 UTC, Huanyu Liu
Details
Visual glitch when the system language is set to Simplified Chinese (zh_CN) (220.55 KB, image/png)
2024-06-23 07:19 UTC, Huanyu Liu
Details
Font corruption in Positioning text Centered (345.61 KB, image/png)
2024-08-07 15:35 UTC, TraceyC
Details
Glitch happened to "Positioning" (instead of "Order") with FreeSerif at 12pt (232.55 KB, image/png)
2024-09-19 03:34 UTC, Huanyu Liu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Huanyu Liu 2024-06-23 07:16:57 UTC
SUMMARY
When the wallpaper type is set to "Slideshow", there is a possibility that a visual glitch of the "Order" dropdown list can be observed when opening the Wallpaper module of System Settings. The glitch is not observed through right-clicking on the desktop and selecting "Desktop and Wallpaper".

STEPS TO REPRODUCE
1. Launch System Settings, click on the Wallpaper module
2. Set the wallpaper type to "Slideshow" and order to "Random" (not sure whether setting the order is necessary)
3. Close System Settings, reopen it and go to the Wallpaper module again (avoid moving your mouse after clicking on the Wallpaper module)

OBSERVED RESULT
There is a possibility that a visual glitch can be observed immediately (not every time, see the attached screenshots). Changing the wallpaper type consecutively (e.g. Image → Slideshow → Image → Slideshow → ...) may also trigger the glitch. Sometimes changing the wallpaper type consecutively will also fail, and a relaunch of System Settings is necessary. The glitch is observable when the system language is set to American English (en_US) or Simplified Chinese (zh_CN) (I haven't tried other languages yet).

EXPECTED RESULT
There should not be any glitches

SOFTWARE/OS VERSIONS
Linux: 6.9.5-arch1-1
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Graphics Platform: Wayland
Screen Resolution: 1920x1280 (scale 100%, refresh rate 144Hz)
Global Theme: Breeze
Color Theme: Breeze Classic (with "accent color from wallpaper" and "tint all colors with accent color")
Application Theme: Breeze
Plasma Theme: Materia Color
Window Decorations: Breeze
Icons: Papirus
UI Font: Noto Sans 12pt (anti-aliasing enabled, sub-pixel rendering RGB, hinting disabled), with Noto Sans CJK SC configured for Chinese through fontconfig
Comment 1 Huanyu Liu 2024-06-23 07:18:01 UTC
Created attachment 170846 [details]
Visual glitch when the system language is set to American English (en_US)
Comment 2 Huanyu Liu 2024-06-23 07:19:13 UTC
Created attachment 170847 [details]
Visual glitch when the system language is set to Simplified Chinese (zh_CN)
Comment 3 Nate Graham 2024-07-31 18:40:07 UTC
Can you reproduce this issue when you right-click on the desktop and choose "Desktop and Wallpaper"?
Comment 4 Huanyu Liu 2024-08-02 10:14:04 UTC
(In reply to Nate Graham from comment #3)
> Can you reproduce this issue when you right-click on the desktop and choose
> "Desktop and Wallpaper"?

No, I cannot reproduce this through the right-click menu. This is only reproducible through system settings.

Furthermore, I observed that only the "Image → Slideshow → Image → Slideshow → ..." order will trigger the glitch; I cannot reproduce this with other wallpaper plugins.
Comment 5 TraceyC 2024-08-02 17:14:33 UTC
I can reproduce this with 6.1.3. I also noticed that moving the mouse cursor over the Positioning drop down removes the text glitch
I can also reproduce on git-master. Additionally, just going from Image -> Slide show -> Image shows the glitch. Moving the cursor over the text fixes it like 6.1.3.
Comment 6 Nate Graham 2024-08-06 21:29:28 UTC
I'm not able to reproduce this at all in git master, FWIW. Can you, Tracey? If not, I think we can call it fixed.
Comment 7 TraceyC 2024-08-07 15:33:55 UTC
I can still reproduce the font corruption / glitch on git-master

Going from Image → Slideshow -> Image will sometimes show the font corruption (glitch). 
Positioning: Centered - the word "centered" will appear corrupted
Sometimes I have to switch back and forth a few times to see it, but I can reliably reproduce the problem

As an aside, after closing and re-opening System Settings a few times, it crashed. I'll handle that in a separate bug report.
Comment 8 TraceyC 2024-08-07 15:35:04 UTC
Created attachment 172375 [details]
Font corruption in Positioning text Centered

This screenshot shows the font corruption
Comment 9 Méven Car 2024-09-13 16:39:07 UTC
(In reply to TraceyC from comment #8)
> Created attachment 172375 [details]
> Font corruption in Positioning text Centered
> 
> This screenshot shows the font corruption

I think I saw this in the past, I don't see it anymore with current master.

What are your display settings, scale in particular ?
Comment 10 TraceyC 2024-09-18 19:48:57 UTC
I  just rebuild workspace from master and re-tested. I'm no longer able to reproduce the bug.
I also can no longer reproduce in Plasma 6.1.5

> What are your display settings, scale in particular ?
Just the laptop display currently (git-master)
1920x1080 @100%

There was discussion about this recently, and it was noticed that you may need to be using the Noto Sans font to see the effect

Huanyu Liu, when you update your system to Plasma 6.1.5, this will probably be fixed for you
Comment 11 Huanyu Liu 2024-09-19 03:32:29 UTC
(In reply to TraceyC from comment #10)
> There was discussion about this recently, and it was noticed that you may
> need to be using the Noto Sans font to see the effect
> 
> Huanyu Liu, when you update your system to Plasma 6.1.5, this will probably
> be fixed for you

I have updated my system to Plasma 6.1.5, but the bug persists.

I played with the font settings, and found that the bug is reproducible only when using certain fonts at certain sizes. What's worse, the bug seems to be reproducible only at certain window sizes.

The following fonts at 12pt can reproduce it reliably on my laptop (at the minimal window size of System Settings):
- Noto Sans/Serif
- Noto Sans/Serif CJK
- FreeSans/FreeSerif (but not FreeMono)
- Sarasa Gothic/UI/Fixed/...

When using certain fonts, the glitch will happen to "Positioning" (instead of "Order"). You may need to switch the "Wallpaper type" several times before the glitch shows up. See the following screenshot (FreeSerif at 12pt).

In addition, Liberation Sans at 14pt and Noto Sans at 11pt & 14pt (but not 13pt) can also reproduce it.

If you change the window size, the glitch may or may not go away. At a specified combination of font, font size & window size, whether the glitch happens or not is determined. All the experiments above were done at the minimal window size of System Settings.

Software information:
Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.10-arch1-1 (64-bit)
Graphics Platform: Wayland

Colors & Themes information (if relevant):
Colors: Breeze Classic with "Tint all colors with accent color" and "Accent Color From Wallpaper"
Application Style: Breeze
Plasma Style: Materia Color
Window Decorations: Breeze
Icons: Papirus
Cursors: Material Cursors

Resolution is 1920x1080 @ 100% with refresh rate 144Hz.

All themes and fonts are from Arch Linux and archlinuxcn repositories.

(I'm not really familiar with the bugzilla status system; is it correct to change the status to REPORTED?)
Comment 12 Huanyu Liu 2024-09-19 03:34:07 UTC
Created attachment 173849 [details]
Glitch happened to "Positioning" (instead of "Order") with FreeSerif at 12pt
Comment 13 TraceyC 2024-09-19 17:39:01 UTC
I was able to reproduce with Noto Serif 12pt using my laptop screen - 1920x1080@100%
git-master Wayland
Switched wallpaper type from Image to Slideshow (or back), noticed "Scaled and cropped" was corrupted as in the latest screenshot
Comment 14 Méven Car 2025-01-11 18:14:42 UTC
Sounds like https://bugs.kde.org/show_bug.cgi?id=479891

*** This bug has been marked as a duplicate of bug 479891 ***
Comment 15 Méven Car 2025-01-11 18:15:25 UTC
Please let us know if this isn't fixed with Plasma 6.3.