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

Wrong positioning dialog windows on linux #216

Open
gucio321 opened this issue Mar 2, 2021 · 4 comments
Open

Wrong positioning dialog windows on linux #216

gucio321 opened this issue Mar 2, 2021 · 4 comments

Comments

@gucio321
Copy link
Contributor

gucio321 commented Mar 2, 2021

Describe the bug
sometimes, when a dialog's error message should be opened, its window is placed in a wrong position of the screen.

To Reproduce
Steps to reproduce the behavior:

  1. Open MPQ editor
  2. navigate to d2data.mpq/data/global
  3. try to open chars_cof.mpq (this file is bugged, so editor shouldn't be created)
  4. error message will be displayed, but in wrong place of screen (see screenshot)

Expected behavior
dialog should be opened in a screen's center

Screenshots
image

Desktop (please complete the following information):

  • OS: Fedora release 33 (Thirty Three)
    it might also depend on desktop:
  • desktop: GNOME Shell 3.38.3
@gucio321
Copy link
Contributor Author

gucio321 commented Mar 2, 2021

we can also see, that the error message isn't focused by default.

@gravestench
Copy link
Contributor

Is there some place where you're telling giu/imgui to open the dialog in the center and to have focus...? Even if so, wouldn't this actually just be a bug of giu/imgui...?

@gucio321
Copy link
Contributor Author

gucio321 commented Mar 2, 2021

it isn't giu / imgui issue. Thats dialog's fault.

@gravestench
Copy link
Contributor

That's good; it isn't an issue with hellspawner.

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