https://bugs.kde.org/show_bug.cgi?id=528710

            Bug ID: 528710
           Summary: Re-created layer surfaces get no preferred scale at
                    100%, leaving panel and wallpaper blurry
    Classification: Plasma
           Product: kwin
      Version First 6.8.2
       Reported In:
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 198366
  --> https://bugs.kde.org/attachment.cgi?id=198366&action=edit
Blurry panel on the top, sharp panel on the bottom

STEPS TO REPRODUCE
1. Have multiple screens with at least one 100% scale and one at some other
scale. In my case 100% and 135% scaling.
2. Change which screen is the primary one, so that the panel moves from 135%
scale screen to 100% scale one.
3. Notice that the panel becomes a little bit blurred.

I was also able to reproduce it with a nested session (kwin_wayland --virtual
--output-count 2)

OBSERVED RESULT
Panel becomes a little blurred, washed out.
At the start, on the 100% scale screen, the desktop (wallpaper) buffer is
1920x1200 and the panel buffer is 1920x48.
After making the 135% scale screen primary and back, the buffers are 2592x1620
and 2592x65, which
is exactly the original size times the 1.35 scale. The screen itself stays at
1920x1200.
Rebooting or restarting plasmashell while keeping the 100% scale screen as
primary fixes it.

In plasmashell-wayland-debug.log I attached a logfile showing it happening.
eDP-1 is the 135% screen, while HDMI-A-1 is the 100% scale one and the primary
one at the start.

EXPECTED RESULT
Plasma panel stays looking sharp, like after restart.

SOFTWARE/OS VERSIONS
Operating System: NixOS 26.11
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 7.3.1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 260 w/ Radeon 780M Graphics
Memory: 24 GiB of RAM (22.8 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 5050 Laptop GPU
Graphics Processor 2: AMD Radeon 780M Graphics

ADDITIONAL INFORMATION
This problem is actually even more visible with Ghostty quick terminal.
Opening it once on the 135% scale makes it permanently blurry on the 100% scale
one until
process restart. I also attached a logfile (ghostty-wayland-debug.log) that
shows only preferred_scale(162) without
subsequent preferred_scale(120) when switching screens.
wl_output#34 is the 135% screen, while wl_output#30 is the 100% scale one.


- 503294: while the original issue talks about 150%/200% scale, some comments
on it sound, like they might be describing my issue

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to