AICAN-Research / FAST-Pathology

⚡ Open-source software for deep learning-based digital pathology
BSD 2-Clause "Simplified" License
122 stars 26 forks source link

Viewport only takes a quarter of the available space in MacOS #87

Open cavenel opened 1 year ago

cavenel commented 1 year ago

When opening an image in FastPathology in MacOS, the image is only visible in a quarter of the usual space: image

When zooming on the tissue, it zooms on the point that would be there if the image was taking the full size, and not the actual visible point. Resizing the main window actually fixes the bug, until next restart. System:

Could be an issue with MacOS big resolution adding a "device pixel ratio" of 2?

andreped commented 1 year ago

Yes, this is a known bug on macOS. Resizing does indeed fix the issue (until next restart), but of course it would be better if this just worked out-of-the-box, @smistad.

cavenel commented 1 year ago

Ah ok I didn't find the issue so I thought I could open my own :p Here is a small video of this behavior: Kapture 2023-09-04 at 15 36 22

andreped commented 1 year ago

I don't think we made an issue for it, so it is great that you did, @cavenel!