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

bug: incorrect monitor size on linux #175

Closed
ghost opened this issue Aug 7, 2021 · 1 comment · Fixed by #143
Closed

bug: incorrect monitor size on linux #175

ghost opened this issue Aug 7, 2021 · 1 comment · Fixed by #143
Labels
good first issue Good for newcomers

Comments

@ghost
Copy link

ghost commented Aug 7, 2021

from @FabianLars on discord:

i also started looking into the center thingy and it looks like the root cause is an incorrectly reported monitor size (470,300 instead of 1440p on my end), which causes a attempt to subtract with overflow error. Unfortunately i have to start cooking now sweat_smile

@amrbashir amrbashir changed the title Tauri windows config setting center not working as expected bug: incorrect monitor size on linux Aug 7, 2021
@amrbashir
Copy link
Member

I think we should use gdk::monitor::workarea or gdk::monitor::geometry.

@wusyong wusyong added the good first issue Good for newcomers label Aug 8, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants