[mythtv-commits] Ticket #13390: Desktop scaling inversely scales mythfrontend

MythTV noreply at mythtv.org
Sun Jan 27 16:20:09 UTC 2019


#13390: Desktop scaling inversely scales mythfrontend
----------------------------------+--------------------------
     Reporter:  peper03           |      Owner:  peper03
         Type:  Developer Task    |     Status:  assigned
     Priority:  minor             |  Milestone:  needs_triage
    Component:  MythTV - General  |    Version:  Unspecified
     Severity:  medium            |   Keywords:
Ticket locked:  0                 |
----------------------------------+--------------------------
 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.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13390>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list