Skip to content

GKD_SCALE useless for fractional scaling #541

Open
@stefonarch

Description

@stefonarch

Playing with fractional scaling I noticed that firefox and GTK3 apps in general don't scale if not set to 2 or 3. A value in lxqt-config-session of 1.22 will be produce env vars like

GDK_SCALE=1.15
QT_SCALE_FACTOR=1.15

where the first just does nothing, resulting in GTK applications not upscaled.

Expected Behavior

Global Scale Factor should be global

Current Behavior

If not set to an integer GTK apps are not affected at all.

Possible Solution

Replace GDK_SCALE= with GDK_DPI_SCALE

Steps to Reproduce (for bugs)
  1. Set global scale factor to 1.2

  2. Relogin and open any GTK app

  3. In Session Settings→ Advanced change GDK_SCALE=1.2 to GDK_DPI_SCALE=1.2

  4. Restart session and check GTK apps.

                               -
    
System Information
  • Distribution & Version: 1.4, 2.0, git, any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions