Opened 6 years ago
Closed 6 years ago
Last modified 6 years ago
#13390 closed Developer Task (fixed)
Desktop scaling inversely scales mythfrontend
Reported by: | peper03 | Owned by: | peper03 |
---|---|---|---|
Priority: | minor | Milestone: | 31.0 |
Component: | MythTV - General | Version: | Unspecified |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When desktop scaling is not 1.0, mythfrontend is scaled inversely so a 4k display with scaling set to 1.5 (under kde) makes the UI appear at 2560x1440 instead of 3840x2160:
2019-01-27 16:07:14.117391 I mythuihelper.cpp:260:GetScreenBounds MythUIHelper: Primary screen: 0. 2019-01-27 16:07:14.117421 I mythuihelper.cpp:314:GetScreenBounds MythUIHelper: Using screen 0, 2560x1440 at 0,0 2019-01-27 16:07:14.145047 N DisplayRes.cpp:64:Initialize Desktop video mode: 3840x2160 59.997 Hz
Although the whole screen is covered, the UI is only shown in part of it (see attachment).
Setting Qt::AA_DisableHighDpiScaling in the application seems to fix the problem but is only available from QT 5.6 onwards.
This doesn't only affect hidpi displays. A laptop with 1920x1080 but desktop scaling set to 1.2 shows the same issue.
Attachments (1)
Change History (3)
Changed 6 years ago by
Attachment: | mythfrontend_scaled.png added |
---|
comment:1 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:2 Changed 6 years ago by
Milestone: | needs_triage → 31.0 |
---|
Note: See
TracTickets for help on using
tickets.
In 65d3f7b81/mythtv: