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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |UNCONFIRMED
         Resolution|WAITINGFORINFO              |---

--- Comment #8 from David Edmundson <k...@davidedmundson.co.uk> ---
Things are complex:

 - plasma does it's own scaling thing making things just bigger based on font
size. It was first, but it has a limited scope and is somewhat rubbish (hence
context menu being wrong)

 - Qt has a thing to have a separate physical and virtual pixels within the
client app. Mostly fantastic. Used in all apps.
Causes a mess for things like panels where we have to communicate between apps
or the WM which don't use the same virtual pixels as the client sees.
Given we have above, it's disabled in Plasma.

 - wayland also understands scaling that has the separate virtual and physical
pixels. It requires the "qt scaling" above to keep things high res but at least
we now use the same virtual pixels between app communication.

On wayland we enabled Qt scaling, using the internal env I added. 

When enabled in general as your virtual font size is now scaled back to 96dpi, 
Plasma's scaling cancels out. (even if it makes the code a mess)

Latte dock being plasma is mostly doing it the "plasma way" but it has a
setting in "px" which doesn't fit in within the Plasma font approach and won't
cancel out when we enable scaling. Your initial bug.
It also /might/ do it's own icon pixmap handling, which needs to be adapted for
Qt scaling. (potential jaggedness)


-----

In any case, I shall look into fixing latte + wayland having jagged edges.  
If that happens to fix anything else, great. Otherwise, tough.

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

Reply via email to