Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cavenel opened this issue Sep 4, 2023 · 3 comments
Open

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

cavenel opened this issue Sep 4, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@cavenel
Copy link

cavenel commented Sep 4, 2023

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:

  • OS and version: MacOS 12.6.8

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

@cavenel cavenel added the bug Something isn't working label Sep 4, 2023
@andreped
Copy link
Member

andreped commented Sep 4, 2023

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
Copy link
Author

cavenel commented Sep 4, 2023

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
Copy link
Member

andreped commented Sep 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants