Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KScreen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • KScreen
  • Merge requests
  • !171

kded: auto-generate a default scale factor on X11 with single screen

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Nate Graham requested to merge ngraham/kscreen:auto-scale-on-x11-with-a-single-screen-too into master Jan 02, 2023
  • Overview 8
  • Commits 1
  • Pipelines 2
  • Changes 1

Right now this is only done on Wayland which has per-output scaling. X11 is limited to global scaling, and we don't do it there.

But if there's only one screen connected, global scaling is the same thing as per-output scaling, so we can safely doit there too for that use case.

Once the user connects a second screen with a different DPI, this will start to cause problems, of course. But that's already the case if the user manually sets a global scale on X11, since mixed-DPI multimonitor isn't supported on X11. So auto-generating a default scale factor for the single-screen use case on X11 won't result in a regression for the mixed-DPI multimonitor use case per se.

BUG: 422552 FIXED-IN: 5.27

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: auto-scale-on-x11-with-a-single-screen-too