Skip to content

Conversation

ltoenning
Copy link
Contributor

This removes the --scale command line option.
Qt6 seems to have this already integrated to scale according to the native display settings: https://doc.qt.io/qt-6.8/highdpi.html
Adjusting the scale on a per-application basis is not intended (anymore) according to the documentation. Tested on a (near) high-dpi screen.

@ltoenning ltoenning requested a review from Copilot July 20, 2025 21:50
@ltoenning ltoenning self-assigned this Jul 20, 2025
Copilot

This comment was marked as outdated.

@ltoenning ltoenning force-pushed the high_dpi_scaling branch 2 times, most recently from 932a006 to 0c77b87 Compare July 21, 2025 19:49
This removes the --scale command line option.
Qt6 seems to have this already integrated to scale according to the
nativ display settings: https://doc.qt.io/qt-6.8/highdpi.html
Adjusting the scale on a per-application basis is not intended (anymore)
according to the documentation.
Tested on a (near) high-dpi screen.
@ltoenning ltoenning requested a review from Copilot September 1, 2025 20:45
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes high DPI scaling functionality from the codebase, as Qt6 now handles high DPI scaling automatically according to native display settings. The PR eliminates the manual --scale command line option and related scaling components that are no longer needed.

Key changes:

  • Removed scale screen factor component and related UI elements
  • Eliminated high DPI scaling methods and command line options
  • Updated Qt API usage to align with Qt6 standards (deprecated method replacements)

Reviewed Changes

Copilot reviewed 61 out of 61 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/gui/components/scalescreenfactor.* Completely removed scale screen factor component files
src/swiftlauncher/swiftlauncher.* Removed scale factor UI component and related functionality
src/gui/guiapplication.* Removed high DPI scaling methods and command line options
src/misc/variant.* Updated Qt API calls to use Qt6-compatible methods
samples/*/main.cpp Removed high DPI scaling initialization calls
Multiple test files Updated deprecated Qt datetime methods to use QTimeZone::utc()

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ltoenning ltoenning merged commit ff45b56 into main Sep 3, 2025
17 checks passed
@ltoenning ltoenning deleted the high_dpi_scaling branch September 3, 2025 21:38
@ltoenning ltoenning deployed to github-pages September 3, 2025 22:48 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant