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

Appears on non-primary screen #25

Open
probonopd opened this issue Nov 26, 2021 · 4 comments
Open

Appears on non-primary screen #25

probonopd opened this issue Nov 26, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@probonopd
Copy link
Member

The Dock can appear on another scren than the primary screen (the one that has the Menu).

https://github.com/cutefishos/dock/blob/main/src/mainwindow.cpp does quite some trickery with timers and whatnot to react to changes in screen geometry.

@probonopd probonopd added the bug Something isn't working label Nov 26, 2021
@probonopd
Copy link
Member Author

probonopd commented Nov 26, 2021

However, this is not always the case.

This is working correctly:

image

(Note that DVI-D-1 is the screen that shows BIOS messages.)

@probonopd
Copy link
Member Author

But with this, the Dock is not shown at all:

image

@probonopd
Copy link
Member Author

And with this, the Dock is shown on the wrong screen (DVI-D-0) at the bottom of the screen, but not correctly centered for DVI-D-0 (looks like it is attempting it to center it to the width of DVI-I-1).

image

@probonopd
Copy link
Member Author

So the whole thing is messed up. We need to backport the proper logic from https://github.com/cutefishos/dock.

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

1 participant