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

Julius Künzel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Keywords|needs_verification          |
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #13 from Julius Künzel <[email protected]> ---
I can confirm this issue on Windows. It is indeed related to the scale factor.
With a single monitor, I can get the same bug after switching the scale factor
in the Windows settings. After a restart of the app the issue is gone until I
change scale factors again.

The bug does not happen in other KDE apps such as Kate.

Some technical details: After I reproduced the bug, I set
$Env:QT_SCALE_FACTOR_ROUNDING_POLICY="PassThrough"; before starting Kdenlive
and that solved the issue. PassThrough is the default behavior in Qt (see
https://doc.qt.io/qt-6/qguiapplication.html#setHighDpiScaleFactorRoundingPolicy),
but we are overwriting it in Kdenlives code. This was introduced by commit
https://invent.kde.org/multimedia/kdenlive/-/commit/404e79def4b30345388201d55176154b1df13117

I did not see a bad side effect by reverting to PassThrough from a quick test,
so we should likely just revert the mentioned commit. It does unfortunately not
mention details, but it was created several years ago when we still used Qt5.
The underlying issue may have been resolved in the meantime.

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

Reply via email to