ampli-Fe icon indicating copy to clipboard operation
ampli-Fe copied to clipboard

UI doesn't work correctly in Bitwig under MacOS

Open sebastianpfluegelmeier opened this issue 2 years ago • 3 comments

Screenshot 2022-02-11 at 19 27 35 UI looks like this and the knob doesn't turn on MacOS 11.6 on Bitwig 4.1.6

sebastianpfluegelmeier avatar Feb 11 '22 18:02 sebastianpfluegelmeier

i just realized the knob actually turns, you just have to click where it would be if the scaling was correct (so somewhere in the right lower corner in the white area).

sebastianpfluegelmeier avatar Feb 11 '22 19:02 sebastianpfluegelmeier

Sadly I haven't been able to find any useful developer documentation on working with macOS hi-DPI scaling. I think last time I tried, the window was upscaled to 2x resolution and I couldn't figure out what to do to draw at native scale.

Maybe something's changed in wgpu or elsewhere since then to make it draw smaller instead of upscaling by default? If so, vst_window just needs a way to detect the window scale and adjust drawing code accordingly.

antonok-edm avatar Feb 14 '22 23:02 antonok-edm

i did a bit of research and found this here. could this have introduced the issue? https://github.com/gfx-rs/wgpu/pull/1874

sebastianpfluegelmeier avatar Mar 09 '22 18:03 sebastianpfluegelmeier