scopehal-apps icon indicating copy to clipboard operation
scopehal-apps copied to clipboard

DPI Scaling Issues, noticed on Windows

Open sphereinabox opened this issue 9 months ago • 1 comments

With increasing DPI scaling percent in windows I'm noticing some UI elements don't look as I think they should as the DPI setting is increased.

For ease of testing at the moment, the below screenshots are of maximized windows running at 200% dpi scaling on a 1920x1200 monitor

Initial window.

Image

Now maximized

Image

  • The top toolbar icons only fill half the shaded height
  • the tabs for the stream browser and filter graph are underneath the toolbar
  • the list on the right of filters is too narrow horizontally to show the names

Connected to the demo scope, running:

Image

  • The width of the stream browser is cutting each of the things in half
  • The vertical scale on the right side of each trace has twice the space required for the digits displayed

sphereinabox avatar Apr 13 '25 10:04 sphereinabox

Can you try with latest and see if this is fixed?

azonenberg avatar Sep 09 '25 14:09 azonenberg

I'm able to replicate all of the scaling issues described above in b2b889d87045c4e1848ab6859307519f7cfd875b (the commit that would have been the tip of master when this issue was created) on Linux with X11 at 165% scaling, and I've seem most of them on Windows. All of them appear to be fixed on current master (80bb983e43a36b0ce8bf62216483894fdf841d97).

Most of the issues were fixed by #922. The toolbar overlapping the tab strips was fixed in 53890c2c41f40905ac8d2f1a299f99d0f5b1d1ba. The y-axis scale being twice too wide was fixed in 21cdb39e3d719955d670df70a10f991e34fd55ee.

Elemecca avatar Dec 14 '25 01:12 Elemecca