[Breeze] [Bug 462005] Window shadow outlines have artifacts with fractional scale factors

2024-02-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=462005

Nate Graham  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #33 from Nate Graham  ---
Fixed for Plasma 6.0.1 with the commits in
https://invent.kde.org/plasma/kdecoration/-/merge_requests/56 and
https://invent.kde.org/plasma/breeze/-/merge_requests/416, but only for Breeze.

In Plasma 6.1, we're going to try to come up with something more comprehensive
that works for everything.

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

[Breeze] [Bug 462005] Window shadow outlines have artifacts with fractional scale factors

2024-01-24 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=462005

--- Comment #32 from Akseli Lahtinen  ---
Git commit ff0635d876a00754d3ce421a40a91ae7c24b0738 by Akseli Lahtinen.
Committed on 24/01/2024 at 23:16.
Pushed by akselmo into branch 'Plasma/6.0'.

Move outline drawing to Decoration::paint

Instead of drawing window outline in the shadow drawcall, draw it on top of
border instead.

This helps keeping the outline size in sync with the window size and has less
glitches.

Also moved shadow a tiny bit under the window, so it wont snap from next of the
window when using fractional scaling.

Should at the very least alleviate the issues, if not fix them all.


(cherry picked from commit 6171b3feeabb0860f5b19980e4a302a5a80ee64c)

M  +54   -59   kdecoration/breezedecoration.cpp
M  +7-1kdecoration/breezedecoration.h

https://invent.kde.org/plasma/breeze/-/commit/ff0635d876a00754d3ce421a40a91ae7c24b0738

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

[Breeze] [Bug 462005] Window shadow outlines have artifacts with fractional scale factors

2024-01-24 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=462005

--- Comment #31 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/breeze/-/merge_requests/412

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

[Breeze] [Bug 462005] Window shadow outlines have artifacts with fractional scale factors

2024-01-24 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=462005

--- Comment #30 from Akseli Lahtinen  ---
Git commit 6171b3feeabb0860f5b19980e4a302a5a80ee64c by Akseli Lahtinen.
Committed on 24/01/2024 at 22:55.
Pushed by akselmo into branch 'master'.

Move outline drawing to Decoration::paint

Instead of drawing window outline in the shadow drawcall, draw it on top of
border instead.

This helps keeping the outline size in sync with the window size and has less
glitches.

Also moved shadow a tiny bit under the window, so it wont snap from next of the
window when using fractional scaling.

Should at the very least alleviate the issues, if not fix them all.

M  +54   -59   kdecoration/breezedecoration.cpp
M  +7-1kdecoration/breezedecoration.h

https://invent.kde.org/plasma/breeze/-/commit/6171b3feeabb0860f5b19980e4a302a5a80ee64c

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

[Breeze] [Bug 462005] Window shadow outlines have artifacts with fractional scale factors

2024-01-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=462005

Nate Graham  changed:

   What|Removed |Added

Summary|Window shadow outlines have |Window shadow outlines have
   |artifacts on HiDPI, |artifacts with fractional
   |especially with fractional  |scale factors
   |scale factors   |

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