Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Broken HiPDI support of some applications after last update on Plasma 5

  1. #1

    Default Broken HiPDI support of some applications after last update on Plasma 5

    I have laptop Lenovo Y-50-70 with 240 DPI screen and Tumbleweed with Plasma 5 on it.

    My display scale factor is set to 2, and before last update (24.01.2018, it brings +- 200 updates) all worked fine.
    But after update my Firefox and Thunderbird have been ignoring scale factor and other Plasma settings such force font's DPI, and have too small interface and fonts.
    There was no updates of Firefox and Thunderbird itself.

    I have only standard tumbleweed repositories + packman.
    Last edited by Shadasviar; 25-Jan-2018 at 07:12.

  2. #2

    Default Re: Broken HiPDI support of some applications after last update on Plasma 5

    You should probably file a bug report at bugs.kde.org about this.

    Firefox and Thunderbird are GTK3 applications, maybe the scale factor or DPI isn't set properly for GTK3 anymore.

    Btw, is this on X11 or Wayland?

  3. #3

    Default Re: Broken HiPDI support of some applications after last update on Plasma 5

    PS: It might be caused by this change:
    https://cgit.kde.org/plasma-workspac...4de06aad5c75d7

    But that should actually *fix* the problem that the scaling did not affect GTK3 application (https://bugs.kde.org/show_bug.cgi?id=387849).

    What are those variables set to on your system? (inside Plasma)
    Code:
    echo $GDK_SCALE $GDK_DPI_SCALE

  4. #4
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,230

    Default Re: Broken HiPDI support of some applications after last update on Plasma 5

    This has long been my goto page for HiDPI settings:
    https://wiki.archlinux.org/index.php/HiDPI

    On my laptop I have
    layout.css.devPixelsPerPx set to 2
    in the Firefox about:config page.
    --
    slàinte mhath,
    rayH

    ~ knowing the right answer is easier than knowing the right question.

  5. #5

    Default Re: Broken HiPDI support of some applications after last update on Plasma 5

    Quote Originally Posted by wolfi323 View Post
    PS: It might be caused by this change:
    https://cgit.kde.org/plasma-workspac...4de06aad5c75d7

    But that should actually *fix* the problem that the scaling did not affect GTK3 application (https://bugs.kde.org/show_bug.cgi?id=387849).

    What are those variables set to on your system? (inside Plasma)
    Code:
    echo $GDK_SCALE $GDK_DPI_SCALE
    These variables are not set in my system because this section on startkde is not executed:

    Code:
    if [ "$kdeglobals_kscreen_screenscalefactors" ]; then
        export QT_SCREEN_SCALE_FACTORS="$kdeglobals_kscreen_screenscalefactors"
        export GDK_SCALE=$kdeglobals_kscreen_scalefactor
        export GDK_DPI_SCALE=`awk "BEGIN {print 1/$kdeglobals_kscreen_scalefactor}"`
    fi
    Additionaly I have
    Code:
    $QT_AUTO_SCREEN_SCALE_FACTOR
    set to 0

  6. #6

    Default Re: Broken HiPDI support of some applications after last update on Plasma 5

    Quote Originally Posted by Shadasviar View Post
    These variables are not set in my system because this section on startkde is not executed:

    Code:
    if [ "$kdeglobals_kscreen_screenscalefactors" ]; then
        export QT_SCREEN_SCALE_FACTORS="$kdeglobals_kscreen_screenscalefactors"
        export GDK_SCALE=$kdeglobals_kscreen_scalefactor
        export GDK_DPI_SCALE=`awk "BEGIN {print 1/$kdeglobals_kscreen_scalefactor}"`
    fi
    But it should be executed if you changed the scaling settings.

    Does it help if you run Firefox e.g. like this?
    Code:
    GDK_SCALE=2 GDK_DPI_SCALE=0.5 firefox
    Have you tried to explicitly change the scaling since the update?

    Additionaly I have
    Code:
    $QT_AUTO_SCREEN_SCALE_FACTOR
    set to 0
    That shouldn't affect GTK though.

  7. #7

    Default Re: Broken HiPDI support of some applications after last update on Plasma 5

    Quote Originally Posted by wolfi323 View Post
    But it should be executed if you changed the scaling settings.

    Does it help if you run Firefox e.g. like this?
    Code:
    GDK_SCALE=2 GDK_DPI_SCALE=0.5 firefox
    Have you tried to explicitly change the scaling since the update?


    That shouldn't affect GTK though.
    I changed gtk variables in startkde and run Firefox like you reccomended, but it has no effect.

  8. #8

    Default Re: Broken HiPDI support of some applications after last update on Plasma 5

    Quote Originally Posted by Shadasviar View Post
    I changed gtk variables in startkde and run Firefox like you reccomended, but it has no effect.
    You should not change anything in startkde. And that of course won't have any effect if it is not executed.
    But again, it should be executed (and the variables set) if you changed the scaling settings.
    What does your ~/.config/startupconfig file contain?

    Well, I can't try with Firefox (because I'm on 42.3 with a GTK2 based Firefox), but those GDK_* variables do work with other GTK3 applications like gedit here.
    You do use the standard Firefox 57 from the standard repos?
    Last edited by wolfi323; 26-Jan-2018 at 03:24.

  9. #9

    Default Re: Broken HiPDI support of some applications after last update on Plasma 5

    Quote Originally Posted by wolfi323 View Post
    You should not change anything in startkde. And that of course won't have any effect if it is not executed.
    But again, it should be executed (and the variables set) if you changed the scaling settings.
    What does your ~/.config/startupconfig file contain?

    Well, I can't try with Firefox (because I'm on 42.3 with a GTK2 based Firefox), but those GDK_* variables do work with other GTK3 applications like gedit here.
    You do use the standard Firefox 57 from the standard repos?
    In startkde i changed it to force set variables. But even without it running firefox as GDK_*=... firefox has no effect. Firefox is from standard repos, 57.0.7.

  10. #10
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,230

    Default Re: Broken HiPDI support of some applications after last update on Plasma 5

    Quote Originally Posted by Shadasviar View Post
    In startkde i changed it to force set variables. But even without it running firefox as GDK_*=... firefox has no effect. Firefox is from standard repos, 57.0.7.
    From the HiDPI wiki that I referred to earlier (Applications>Browsers>Firefox):
    Firefox should use the #GDK 3 (GTK+ 3) settings. However, the suggested GDK_SCALE suggestion doesn't consistently scale the entirety of Firefox, ...
    I originally set the Firefox “layout.css.devPixelsPerPx” in Leap-42.1 and it has survived migrations through 42.2 to Tumbleweed (Plasma5 and Openbox-KDE) without any trouble.
    --
    slàinte mhath,
    rayH

    ~ knowing the right answer is easier than knowing the right question.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •