Open globalhuman opened 4 years ago
I am no JS coder but I took a quick look at the code today and noticed the cursor position was used in tiling.js
which made me experiment.
With the above description. If I move the cursor to the monitor that the window has moved to the accelerator bindings work fine. If I leave the cursor where the window originally was the window snaps back to this original monitor.
I also experimented with having "Group edge tiling" and "Keep the window group maximised" enabled which strangely worked like I would expect. The cursor did not dictate where the snapping occurred. The only issue with this is that I must firstly maximise a window before moving it.
Can I buy someone a coffee$ to take a look at this?
I can also add that when "Grouping edge tiling" is enabled, the problem is gone, except however, I do not wish to use that setting.
alas...
Hi, I experience the same issue, having an external monitor plugged to a notebook.
When moving the window from one screen to the other (for example, pressing shift + "windows" + arrow), if I try to change its position using ctrl + "windows" + arrow, it goes back to the screen it previously was.
As mentioned, if I interact with the window after moving it from one screen to the other, by clicking, or moving it with the mouse, then it works as expected.
I forgot to mention, I am using Ubuntu 21.04, and ShellTile version 65, with the options of the attached image.
$ gnome-extensions info ShellTile@emasab.it
ShellTile@emasab.it
Name: ShellTile
Description: A tiling window extension for GNOME Shell. Just move a window to the edges of the screen to create a tiling, otherwise move a window over another one, holding down the Control key. Grouped windows minimize, resize, raise and change workspace together. Move or maximize a window to remove it from the group.
Path: /home/cserpell/.local/share/gnome-shell/extensions/ShellTile@emasab.it
URL: https://github.com/emasab/shelltile
Version: 65
State: ENABLED
$ gnome-shell --version
GNOME Shell 3.38.4
Bug: I have two monitors. 1 Landscape and 1 Portrait. If I have a window on the portrait screen and shift it to the Landscape screen (and vise-versa) and attempt to use the keyboard shortcuts to snap to the left/right/top/bottom then the window snaps back to the portrait screen.
Workaround: If I interact with the window after moving from portrait to the landscape monitor and then attempt to snap to the left/right/top/bottom it works fine.
Help: I have had this issue for a while but am looking for either a workaround with keyboard shortcuts or if there is a potential fix.
Ubuntu 18.04 ShellTile Version: 3.34 Gnome-Shell-version: GNOME Shell 3.28.4
tags: multi-monitor previous display last screen incorrect snapping wrong window