Bug 478711 - Changing display scaling for non-standard aspect ratios in a VM replaces the wallpaper and some icons in Plasma with black squares
Summary: Changing display scaling for non-standard aspect ratios in a VM replaces the ...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.91.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2023-12-19 08:27 UTC by Rune
Modified: 2024-01-31 20:31 UTC (History)
2 users (show)

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


Attachments
Video showing the bug (3.40 MB, video/mp4)
2024-01-04 09:56 UTC, Rune
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rune 2023-12-19 08:27:12 UTC
In the wayland session, for non-standard aspect ratios (e.g. maximized Virtualbox window with auto adjust, for me: 3.839:1.973), changing the display scaling factor results in the wallpaper going black. Some symbols like the ones in the logout/shutdown/reboot menu are replaced by a black rectangle. 

STEPS TO REPRODUCE
1. Set a non-standard aspect ratio (maybe non-integer?)
2. Change the display scaling

OBSERVED RESULT
Wallpaper and some icons go black

EXPECTED RESULT
Wallpaper and icons are unaffected by the changed scaling

SOFTWARE/OS VERSIONS
Linux: 6.2.0-39 generic
KDE Plasma Version: 5.90.90
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-12-20 22:24:57 UTC
This sounds like graphical corruption. Are you able to reproduce it outside of a VM, or only within it?

Does it happen on Wayland, X11, or both?
Comment 2 Rune 2023-12-20 22:44:16 UTC
This only happens in Wayland. I cannot test it on real hardware as I don't have a monitor with such a strange aspect ratio.
Comment 3 Bug Janitor Service 2024-01-04 03:46:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 David Edmundson 2024-01-04 09:18:04 UTC
Can you include a screenshot or photo please?
Comment 5 Rune 2024-01-04 09:56:05 UTC
Created attachment 164661 [details]
Video showing the bug
Comment 6 Bug Janitor Service 2024-01-19 03:45:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Rune 2024-01-23 22:50:30 UTC
The wallpaper does not turn black anymore, however the icons in the logout manager are still replaced by black squares.
Comment 8 Rune 2024-01-31 20:31:03 UTC
The wallpaper is only black if it is a .png file, if it is .jpg it works fine.