Skip to content

[BUG] DPI scaling different (text smaller) since Qt 6 (25.7.x) #3324

@bcutter

Description

@bcutter

Expected behaviour

QOwnNotes interface and notes text size is the same as with Qt 5.

Actual behaviour

After switching from 25.5.6 to Qt 6 powered 25.7.x I noticed the whole UI is presented significantly smaller. Looks like some DPI/scaling settings got changed between Qt5 and Qt6. I tried to workaround with a custom shortcut like cmd /C "set QT_SCALE_FACTOR=1.2 && start "" "C:\path\to\QOwnNotes.exe" but that's not a perfect solution.

The core issue is, that with only setting Settings > Interface > font size of user interface and zooming in on notes has side effects like characters not being aligned anymore etc. (see screenshot below).

Steps to reproduce

Steps to reproduce the behavior:

  1. Use 25.6.5
  2. Update to 25.7.x

Screenshots

I would need to downgrade/restore a backup to show a 1:1 comparison between the Qt 5 and Qt 6 based UI.
Here's just an example how many notes look like when trying to achieve the same look as before by playing with Settings > Interface > font size of user interface and zooming in on notes

Image

Output from the debug section in the settings dialog

Expand

Relevant log output in the Log panel

Expand

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions