https://bugs.documentfoundation.org/show_bug.cgi?id=159915

Michael Weghorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
     Ever confirmed|0                           |1

--- Comment #15 from Michael Weghorn <[email protected]> ---
Observations:

* I can reproduce brokenness e.g. with the Help -> About dialog, only part of
it is rendered for the bad case.
* Issue can be reproduced with qt6, but not qt5.
* This issue is not specific Plasma 6, but can also be reproduced in a Plasma 5
Wayland session (when forcing the qt6 VCL plugin using SAL_USE_VCLPLUGIN=qt6).
* One screen is enough.
* It happens with fractional scaling set in the KDE system settings ("Display
settings"), e.g. setting a scale factor of 150 % for the screen.
* It's not an issue when applying scaling by using the `QT_SCALE_FACTOR=1.5`
environment variable instead (which is what I usually use to test scaling
without having to change system settings).

Qt 6 changed the default scaling policy from "Round" to "PassThrough" (see
[1]), which is related.

Forcing the use of the "Round" policy makes this work again for me with qt6 as
well.

Pending Gerrit change:
https://gerrit.libreoffice.org/c/core/+/164768

As mentioned in that change, an alternative workaround is setting the
QT_SCALE_FACTOR_ROUNDING_POLICY="Round" environment variable.

@affected users:
Could you please check whether that makes things work as expected for you as
well, to make clear whether this is all or there are any additional issues you
are running into?


[1] https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to