acarabott / tabToWindow

Chrome extension to move the current tab to a new window using the command API
https://acarabott.github.io/tabToWindow/
MIT License
111 stars 19 forks source link

[Linux] sizing issue #56

Open acarabott opened 3 years ago

acarabott commented 3 years ago

Yesterday, I had to switch one of my display (factory issues) and ended up with one that works at a larger resolution. So now I have one display working at 2560x1440 (main one) and my secondary display at 1920x1080. Now after I changed the display, I've been having issues with the Alt+Shift+D option (I'm on Linux) to switch a tab into another display. This comes in two forms: 1) When using it to move from the main (larger) display to the secondary (smaller) one, the tab instead is put into a new smaller window on the main display (looks like it might be sizing it to the secondary display's screen size). It also reacts kinda weirdly to trying to move it using Shift + Super + Arrows right afterwards. It's sort of as if the window thinks it's on the secondary display, but is not? I do get to move it as normally by dragging, or by using Shift + Super + Arrows after I maximize it. I know, weird. 2) When using it to move from the secondary (smaller) display to the main (larger) one, the tab moves ok into a new window on the main display, but the window is shrunk just vertically, to kinda the size of what it had on the secondary display, while still adjusting to its new width.

I tried using Alt + Shift + Z, and it cycles perfectly between windows on different displays, without issue. Also, using Super + Shift + Arrows works fine on any window, including Chrome, so I'm guessing it's just something to do with the extension. Oh, and my previous main display was also larger than the secondary display, just the same resolution, so it looks as though it's got to do with resolution and not screen size.