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

The window always opens at the same location #50

Open
aik opened this issue Dec 4, 2018 · 4 comments
Open

The window always opens at the same location #50

aik opened this issue Dec 4, 2018 · 4 comments

Comments

@aik
Copy link

aik commented Dec 4, 2018

https://github.com/Rob--W/open-in-browser/issues/7 is not fixed - the window opens on a laptop screen even though the external monitor is configured as primary and every other app honors that.

@aik
Copy link
Author

aik commented Dec 18, 2018

is there a way to disable window positioning and let the system choose the location? thanks

@Rob--W
Copy link
Owner

Rob--W commented Dec 18, 2018

is there a way to disable window positioning and let the system choose the location?

No. The logic responsible for moving the dialog is unconditional.

Can you provide the exact steps to reproduce your problem? What OS and version are you using, window manager, display configuration, etc.

@aik
Copy link
Author

aik commented Dec 20, 2018

Linux Fedora 27 or 29, firefox 64.0, lenovo thinkpad x1 laptop with intel graphics, gnome3 window manager 3.30.1, 2 displays - external 4K set as primary (gnome3 bars go there) and laptop fullhd screen as a secondary. The dialog always opens on the laptop screen no matter what. Here xrandr:

[aik@aik ~]$ xrandr --current | egrep "\+| connected"
eDP-1 connected 1920x1080+3840+631 (normal left inverted right x axis y axis) 309mm x 173mm
   1920x1080     60.05*+  60.01    59.97    59.96    59.93  
DP-2-2 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 596mm x 335mm
   3840x2160     60.00*+  29.98  

The browser and everything is on DP-2-2 but the addon window goes to eDP-1.

@aik
Copy link
Author

aik commented Jan 18, 2019

Things are actually better. When the addon is just installed, it works correctly - the window is on the main display. But if I disconnect the dock with external monitors, wait till the laptop screen becomes the main display, and then connect the dock back - the main display moves to the external monitor BUT firefox or addon (I bet it is firefox'es "screen" object) does not and therefore place the window to the laptop screen. I do not know how to resolve this :-/

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