osu-framework: Borderless mode does not scale well on multi-monitor set up with different Windows scaling configured

Environment: Windows 10 computer with 2 displays. The primary display is external 1080p monitor(Windows scale: 100%), the secondary one is Surface Pro 2 display which is 1080p too(Windows scale: 150%).

Steps to reproduce:

  1. Launch visual-tests in windowed mode.
  2. Move it to the secondary display.
  3. Switch to borderless. (using TestCaseFullscreen)

Expected results: The content is scaled correctly. The whole scene is visible.

Actual results: Only part of the scene is visible. Some elements are out of the screen. borderless_different_scale

Additional info: Fullscreen mode scales ok. If both displays have the same Windows scale, borderless scales correctly too. borderless_same_scale

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (14 by maintainers)

Most upvoted comments

There are two issues in here.

  1. The issue with DPI specific to osu-framework. This is the OP, please keep on this topic.
  2. The issue by @Llaurence which is specific to osu-lazer and fixed by @AtomCrafty. Please drop this topic.

This is still an issue.