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

Issue with Resolution #18

Closed
tknopp opened this issue Jul 13, 2024 · 4 comments
Closed

Issue with Resolution #18

tknopp opened this issue Jul 13, 2024 · 4 comments

Comments

@tknopp
Copy link
Member

tknopp commented Jul 13, 2024

Hi @jwahlstrand,

I am on Mac and try to use the Gtk4 Makie integration. Tested the widgets.jl code and got the following window.

Bildschirmfoto 2024-07-13 um 12 35 26

It seems that there is something wrong with the resolution within the figure. When using regular GLMakie, everything looks sharp. Any idea?

@jwahlstrand
Copy link
Member

The Makie 0.20 release included a lot of changes in GLMakie to better support retina displays. When I ported Gtk4Makie I tried but failed to get it to work as well as it does in GLMakie. I'll take another look. Unfortunately my old Mac laptop died, but I do have a desktop available.

Generally the Makie widget in this package is much more dangerous (in terms of crashing Julia) than the Makie window. It probably deserves a more prominent warning. I have spent a lot of time trying to fix #14...

@jwahlstrand
Copy link
Member

Fixed on my Mac in the main branch. Let me know if it's not for you.

@tknopp
Copy link
Member Author

tknopp commented Jul 14, 2024

Thanks, can confirm. Works now. One remaining issue in that concrete example is that it requires a resize to make the upper image look correct. Otherwise the aspect ratio does not fit (see original post above).

@jwahlstrand
Copy link
Member

I don't see that on my Mac. But the "widgets" example has other problems on Mac OS that don't appear on Linux for me. I opened a new issue, #19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants