Dock icon indicating copy to clipboard operation
Dock copied to clipboard

Appears on non-primary screen

Open probonopd opened this issue 4 years ago • 4 comments

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 avatar Nov 26 '21 21:11 probonopd

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 avatar Nov 26 '21 21:11 probonopd

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

image

probonopd avatar Nov 26 '21 21:11 probonopd

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 avatar Nov 26 '21 21:11 probonopd

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

probonopd avatar Nov 26 '21 21:11 probonopd