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

Filip Fila <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|                            |6.8.3
  Fixed/Implemented|                            |
                 In|                            |
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/oxygen/-/commit/1d023c58
                   |                            |a00cd05654d18df0961cd097940
                   |                            |9ca6f
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from Filip Fila <[email protected]> ---
Git commit 1d023c58a00cd05654d18df0961cd0979409ca6f by Filip Fila.
Committed on 29/10/2026 at 06:21.
Pushed by filipf into branch 'master'.

kstyle: Fix glitchy lines in menus when fractional scaling is used

Oxygen's menu backgrounds have been drawn in a bit of weird way. They're
actually comprised of two backgrounds (one a bottom flat fill, the other top
one being a vertical gradient) that are stitched together at one point
(splitY).

What happens with fractional scaling? The two backgrounds don't quite land on
the right pixels and we get glitchy semi-transparent lines between them.

Instead of stiching two pieces togther, why not just draw a flat fill that
covers the whole menu, and then put a gradient on top of that? That way no seam
between the two can ever appear.

And that's what this patch does, along with also making the gradient pixmap
render according to the surface DPR.

FIXED-IN: 6.8.3

M  +6    -5    kstyle/oxygenstylehelper.cpp

https://invent.kde.org/plasma/oxygen/-/commit/1d023c58a00cd05654d18df0961cd0979409ca6f

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

Reply via email to