https://bugs.kde.org/show_bug.cgi?id=389523

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fab...@ritter-vogt.de,
                   |                            |plasma-b...@kde.org
            Product|kde-gtk-config              |plasmashell
     Ever confirmed|0                           |1
          Component|general                     |general
           Assignee|manutortosa@chakra-project. |k...@davidedmundson.co.uk
                   |org                         |
             Status|UNCONFIRMED                 |CONFIRMED
   Target Milestone|---                         |1.0
           Severity|normal                      |major

--- Comment #3 from Fabian Vogt <fab...@ritter-vogt.de> ---
Whatever startkde does to those environment variables is completely wrong:

    export GDK_SCALE=$kdeglobals_kscreen_scalefactor
    export GDK_DPI_SCALE=`awk "BEGIN {print
1/$kdeglobals_kscreen_scalefactor}"`

According to https://developer.gnome.org/gtk3/stable/gtk-x11.html this will
*always* result in a effective scale of 1.

I suggest:

- Round up GDK_SCALE to the next integer
- Set GDK_DPI_SCALE to account for the difference in rounding

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to