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

Non-blocking pop-up never appears centered or remembers where it was #163

Closed
thoraxe opened this issue Jan 31, 2020 · 3 comments
Closed
Labels
env: wayland Wayland specific

Comments

@thoraxe
Copy link

thoraxe commented Jan 31, 2020

Describe the bug
When a non-blocking pop-up appears, it is always at the top-left of the screen, never centered.

To Reproduce
Steps to reproduce the behavior:

  1. Configure for non-blocking pop-ups
  2. wait for a pop-up

It will always appear at the top left.

Expected behavior
Pop-ups should be centered

Linux (please complete the following information in case you encountered the bug on Linux):

  • Distribution: Fedora
  • Distribution Version: 31
  • Desktop Environment: Gnome 3.34
  • Workrave Version: workrave-1.10.20-6.fc31.x86_64
@rcaelers
Copy link
Owner

rcaelers commented Feb 3, 2020

Do you know if you are using Wayland?

@thoraxe
Copy link
Author

thoraxe commented Feb 4, 2020

Yes pretty sure Fedora 31 has Wayland enabled.

rcaelers added a commit that referenced this issue Feb 8, 2020
Signed-off-by: Rob Caelers <rob.caelers@gmail.com>
@rcaelers
Copy link
Owner

rcaelers commented Feb 8, 2020

I am now opening non-blocking break windows as modal. This should center them when running Mutter (gnome). I doubt this can be solved in general when running Wayland. Wayland does not support absolute positioning of top-level windows.

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

No branches or pull requests

2 participants