Configuration.exe and SetupTv.exe don't scale correctly with high DPI (1 Viewer)

el Filou

MP Donator
  • Premium Supporter
  • July 2, 2008
    119
    93
    Belgium Belgium
    Country flag
    Hello.

    I recently tried MP 1.18 Pre-release and did not notice any issues. Afterwards, I updated Windows from version 1607 to 1703 and then I noticed that Configuration.exe and TvSetup.exe were not drawing the GUI correctly.
    I am using a 1920x1080 display resolution with 150% DPI scaling (= 144 dpi).
    Going to the Properties page for Configuration.exe or SetupTv.exe, Compatibility tab, and checking Override high DPI scaling behaviour and setting it to System or System (enhanced) fixes the problem, but the GUI is still weird (fonts and fields and boxes are all very wide but with a relatively small height.

    Attached are 3 screenshots showing the problem. I didn't attach logs as it only happens witth the setup tools and not MP itself, and the Configuration.log doesn't show any other information than this:

    MP build id 1.15.0-1113-gc51b7ed-MP1-4781V7_madVR_based_master from @Sebastiii based on 1.18 Pre-release, Windows is version 1703 build 10.0.15063.608

    Cheers!
     

    Attachments

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    Hi :)

    I've tried on my side : (i can't reproduce it but i'm on very latest madVR installation but DPI should be the same as 1.18 Pre-Release, but i will try with 1.18 Pre to confirm but i have a diff, i'm using insider build (1709) so maybe this is why it's working :p

    upload_2017-9-17_16-12-9.png
    upload_2017-9-17_16-13-12.png
    upload_2017-9-17_16-14-2.png
     

    el Filou

    MP Donator
  • Premium Supporter
  • July 2, 2008
    119
    93
    Belgium Belgium
    Country flag
    I just tried on my test laptop with a 1920x1080 internal screen running 1703 and the same thing happens (see attached photo), with your madVR build and with official 1.18 Pre-release too.
    Here's a summary:

    MP 1.17 Final on Win1607 or 1703: everything OK, uses old "blurry" scaling (like in your screenshot of 1709).
    MP 1.18 Pre on Win1607: like 1.17
    MP 1.18 Pre on Win1703 default: uses new "Application controlled scaling" behaviour, fonts are crisp and the right size but GUI elements sizing and positioning is all wrong (like in my 1st screenshot).
    MP 1.18 Pre on Win1703 using Compatibility scaling option "System": behaves like on 1607, i.e. OK but blurry
    MP 1.18 Pre on Win1703 using Compatibility scaling option "System (enhanced)": GUI elements sizing and positioning is OK but fonts are slightly blurry and not the right height (my 2nd screenshot)
    MP 1.18 Pre on Win1709: (((Edit))) same as on 1703 !

    I will try updating my test laptop to 1709 to check (it's an insider install too, but normally I only update to "Release preview" builds to test new Windows versions before updating my "production" PCs :cautious:).

    This looks like an issue specific to 1.18 on Windows 1703. Maybe it should be tested by someone else who's on 1703 with 150% scaling on 1080p before 1.18 final is released? Is it possible to change the scaling bahaviour depending on OS version?
     

    Attachments

    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    I will try to push the same code added for MP but also for config and SetupTV :p
    Will see on your side if it's better :p
     

    el Filou

    MP Donator
  • Premium Supporter
  • July 2, 2008
    119
    93
    Belgium Belgium
    Country flag
    Just tried, but same issue.
    I've started the update of the laptop to 1709, I can still test with the HTPC but not in the evening because TV recordings :whistle:
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    M 1.25.0 Tv Server Configuration Italian Dvb-t2 test channel preview error Television (MyTV frontend and TV-Server) 2
    toricred [solved] Configuring TV Server to use NAS General 5
    framug [solved] Some changes/fix in MP1 configuration client and server Submit: code patches (MediaPortal/TV-Server/etc.) 14
    W Info on particular configuration Installation, configuration support 2
    horned_reaper MediaPortal configuration error log message General Support 1
    T TV Series Configuration funktioniert nicht Plugins & Erweiterungen 15
    HTPCSourcer [Evaluate] Remove obsolete menu entries from "MP2 TV Configuration" MediaPortal 2 0
    T I cannot get a basic media import-what is the best configuration? General 10
    P Configuration Moving Pictures Support d'installation et de configuration 0
    cbr954rr How to disable a pre-configured plugin? General 2
    A FB funktioniert plötzlich nicht mehr korrekt Allgemeines Supportforum 0
    M.Hulot [solved] PureVisionHD 1080 taucht nicht im Configurator auf Allgemeines Supportforum 12
    Edwardfc Fanart setup/configuration General 10
    Edwardfc [solved] Mp 2.2.1 Configuration Issues - Goes to Sleep while playing Music General 6
    P Configuration closes on channel scan General 26
    M App Icon starts Configuration Installation, configuration support 3
    O [solved] MP2.2.1 TV-Server Configuration wont start after initial installation General 10
    D [solved] How to configure subtitle color in MP 2.2.1? General 5
    sve1 Invalid DateTime when loading configuration tool Trakt 5
    johns11 [solved] MP2.2 TV configuration issue General 4
    H MP2.2 client TV-Server configuration General 17
    R MP 2.2 TV configuration General 13
    E [solved] No Live TV in MP2.2 Client - Can TEST Successfully in "MediaPortal 2 TV Configuration" utility General 8
    E M3U Playlist and EPG Support/Configuration Installation, configuration support 1
    G Sauvegarder et dupliquer les configs de mp1 et mp2 sur plusieurs pc Support Général 3
    Similar threads

























    Top Bottom