[GH-ISSUE #631] DPI scaling #500

Open
opened 2026-05-05 06:33:03 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Wouterdek on GitHub (Apr 19, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/631

Operating Systems

Server: doesn't matter
Client: Windows 10 version 1903 (OS Build 18362.778)

Barrier Version

2.3.2-snapshot-210c2b70

Steps to reproduce bug

  1. Have 2 or more monitors.
  2. In Windows settings, under System -> Display -> Scale and layout, set the scaling value for both monitors to different values.
  3. Start Barrier and observe the UI as you move the application window between monitors.

See this screenshot for example:
image

Also, on high DPI monitors the version string in the About dialog is cut off. The easy fix would be to allow resizing of the about window.

Other info

  • Is there a way to work around it? Yes, if you set the scaling behavior override to System in the barrier.exe properties dialog under Compatibility, the scale is OK. However, this also makes the application blurry as Windows then simple scales up the bitmap.
  • Does this bug prevent you from using Barrier entirely? No

This bug is caused by issues in the DPI awareness of the application. Here is the relevant QT documentation.

Originally created by @Wouterdek on GitHub (Apr 19, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/631 ### Operating Systems ### Server: doesn't matter Client: Windows 10 version 1903 (OS Build 18362.778) ### Barrier Version ### 2.3.2-snapshot-210c2b70 ### Steps to reproduce bug ### 1. Have 2 or more monitors. 2. In Windows settings, under System -> Display -> Scale and layout, set the scaling value for both monitors to different values. 3. Start Barrier and observe the UI as you move the application window between monitors. See this screenshot for example: ![image](https://user-images.githubusercontent.com/913101/79689916-23592880-8258-11ea-8ab7-4e819f9eb594.png) Also, on high DPI monitors the version string in the About dialog is cut off. The easy fix would be to allow resizing of the about window. ### Other info ### * Is there a way to work around it? Yes, if you set the scaling behavior override to System in the barrier.exe properties dialog under Compatibility, the scale is OK. However, this also makes the application blurry as Windows then simple scales up the bitmap. * Does this bug prevent you from using Barrier entirely? No This bug is caused by issues in the [DPI awareness](https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows) of the application. Here is the [relevant QT documentation](https://doc.qt.io/qt-5/highdpi.html).
Author
Owner

@github-actions[bot] commented on GitHub (Sep 24, 2020):

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:698060852 --> @github-actions[bot] commented on GitHub (Sep 24, 2020): This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#500
No description provided.