SLADE icon indicating copy to clipboard operation
SLADE copied to clipboard

UI Scaled Incorrectly on MacOS

Open wongandj opened this issue 1 year ago • 5 comments

SLADE Version

3.2.5

OS

macOS

Editor

Resource editor

Steps to Reproduce and Observed Behavior

  1. Install SLADE on MacOS.
  2. Open the program and look at it.
  3. Attempt to set the preferences and notice the confirmation button doesn't fit on the screen.
  4. Attempt to convert graphics and notice the confirmation button doesn't fit on the screen.
  5. Notice that nothing fits on the screen, even in fullscreen.

Expected Behavior

I expected the UI to be at a normal scale, like previous versions were.

Screenshots

Full screen; Notice broken zoom widget Prefernces; Notice inaccessible confirm button

wongandj avatar Aug 03 '24 21:08 wongandj

This happens because your monitor has hiDPI enabled. If you disable it using apps like BetterDisplay, then it will render normally.

What I find weird is that if slade is started with hiDPI disabled, but then I enable hiDPI, it will keep rendering fine.

I dont know how hard it would be to fix this issue on hiDPI for Slade/wxwidgets, but its something that I will look into in the future.

Pedro-Beirao avatar Aug 03 '24 23:08 Pedro-Beirao

Building the master branch from source fixed this for me, but releases are still bugged.

107zxz avatar Jan 04 '25 02:01 107zxz

That's good to know, I think the linux DPI fixes I made probably fixed the issue in macOS too. @Pedro-Beirao are you still around and able to make macOS releases?

sirjuddington avatar Jan 06 '25 02:01 sirjuddington

That's good to know, I think the linux DPI fixes I made probably fixed the issue in macOS too. @Pedro-Beirao are you still around and able to make macOS releases?

Yeah for sure. Ive been busy with dsda-doom, but have been planning to look back into Slade.

I can make a new macOS release, but would you instead be interested in using Github Actions for building every commit and release? I can make a PR for Windows and macOS

Pedro-Beirao avatar Jan 06 '25 02:01 Pedro-Beirao

Oh yeah that would be a great help if you can get it going via GitHub Actions when you get the time, thanks :)

sirjuddington avatar Jan 06 '25 03:01 sirjuddington

Closing this as it's fixed since 3.2.5

sirjuddington avatar Sep 28 '25 07:09 sirjuddington