domferr / tilingshell

Extend Gnome Shell with advanced tiling window management. Supports multiple monitors, Windows 11 Snap Assistant, Fancy Zones, customised tiling layouts and more.
https://extensions.gnome.org/extension/7065/tiling-shell/
GNU General Public License v2.0
645 stars 20 forks source link

Focus window to the right / left / below / above not working #184

Open tflori opened 5 days ago

tflori commented 5 days ago

Describe the bug I bound super + wasd to navigate the windows but even though I was able to define them (there where not bound to something else) there are not doing anything

To Reproduce Steps to reproduce the behavior:

  1. Go to Extension Settings
  2. Click on View and Customize all the Shortcuts
  3. Scroll down to Focus window to the right
  4. Click on "Set new Accelerator"
  5. Set an unused keybinding
  6. Arrange two windows next to each other
  7. Activate the window to the left
  8. Press the keybinding you set in step 5
  9. the window to the right does not get focus

Screenshots These is my keybindings configuration: image

Information (please complete the following):

I hope I'm not just miss understanding the functionality of this hotkey.

domferr commented 5 days ago

Hey thank you for opening this issue! I tried to reproduce the problem. On my system these hotkeys are already bound to something by default (e.g. SUPER + S opens the overview) and unfortunately I cannot test them. However, the functionality is working correctly if I bind SUPER + WIN + RIGHT / LEFT / UP / DOWN. So, I'm not able to reproduce the problem, I'm afraid. Do you have the same problem if you bind other hotkeys?

tflori commented 5 days ago

hm I've installed it on another notebook now and have the same issue - or maybe it is really doing something else?

update: seems to be another extension. I disabled everything else and restarted gnome-shell now it works - I will try extension by extension and come back if I found out which it is

tflori commented 5 days ago

turns out it is a good idea to restart gnome-shell after disabling an extension. back at my office notebook and it works after a fresh boot without changing anything...

domferr commented 4 days ago

That's great!

tflori commented 3 days ago

oh I have it again. it might have to do with suspending or changing the desktop layout (plug / unplug a monitor).

here is the current output of journalctl -b|grep tilingshell https://0x0.st/XdbP.txt

I will try reproducing with a fresh session now.

tflori commented 2 days ago

reconnecting the display does not cause the issue but lock/unlock the screen does. the log does not show much difference after logging out and back in:

Nov 17 17:35:47 mobile-miracle gnome-shell[5778]: [tilingshell] [extension] building a tiling manager for each monitor
Nov 17 17:35:47 mobile-miracle gnome-shell[5778]: [tilingshell] [TilingManager 0] Work area for monitor 0: 1920 30 3840x1570
Nov 17 17:35:47 mobile-miracle gnome-shell[5778]: [tilingshell] [TilingManager 1] Work area for monitor 1: 0 0 1920x1200
Nov 17 17:35:47 mobile-miracle gnome-shell[5778]: [tilingshell] [extension] extension is enabled
Nov 17 17:35:48 mobile-miracle gnome-shell[5778]: [tilingshell] [DefaultMenu] [{"name":null,"x":1920,"y":0,"width":3840,"height":1600},{"name":null,"x":0,"y":0,"width":1920,"height":1200}]
Nov 17 17:36:02 mobile-miracle gnome-shell[145366]: Extension tilingshell@ferrarodomenico.com already installed in /usr/share/gnome-shell/extensions/tilingshell@ferrarodomenico.com. /usr/share/gnome-shell/extensions/tilingshell@ferrarodomenico.com will not be loaded
Nov 17 17:36:15 mobile-miracle gnome-shell[146009]: [tilingshell] [extension] extension is enabled
Nov 17 17:36:15 mobile-miracle gnome-shell[146009]: [tilingshell] [DefaultMenu] [{"name":null,"x":1920,"y":0,"width":3840,"height":1600},{"name":null,"x":0,"y":0,"width":1920,"height":1200}]
Nov 17 17:36:15 mobile-miracle gnome-shell[146009]: [tilingshell] [extension] building a tiling manager for each monitor
Nov 17 17:36:15 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 0] Work area for monitor 0: 1920 0 3840x1600
Nov 17 17:36:15 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 1] Work area for monitor 1: 0 0 1920x1200
Nov 17 17:36:15 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 0] new work area for monitor 0: 1920 30 3840x1570
Nov 17 17:37:49 mobile-miracle gnome-shell[146009]: [tilingshell] [LayoutWidget] relayout not needed
Nov 17 17:37:49 mobile-miracle gnome-shell[146009]: [tilingshell] [LayoutWidget] relayout not needed
Nov 17 17:37:49 mobile-miracle gnome-shell[146009]: [tilingshell] [DefaultMenu] [{"name":null,"x":1920,"y":0,"width":3840,"height":1600},{"name":null,"x":0,"y":0,"width":1920,"height":1200}]
Nov 17 17:38:21 mobile-miracle gnome-shell[146009]: [tilingshell] [LayoutWidget] relayout not needed
Nov 17 17:38:21 mobile-miracle gnome-shell[146009]: [tilingshell] [LayoutWidget] relayout not needed
Nov 17 17:38:21 mobile-miracle gnome-shell[146009]: [tilingshell] [extension] building a tiling manager for each monitor
Nov 17 17:38:21 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 0] Work area for monitor 0: 0 0 1920x1200
Nov 17 17:38:21 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 0] new work area for monitor 0: 0 30 1920x1170
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [DefaultMenu] [{"name":null,"x":1920,"y":0,"width":3840,"height":1600},{"name":null,"x":0,"y":0,"width":1920,"height":1200}]
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [LayoutWidget] relayout not needed
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [extension] building a tiling manager for each monitor
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 0] Work area for monitor 0: 1920 0 3840x1600
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 1] Work area for monitor 1: 0 30 1920x1170
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [DefaultMenu] [{"name":null,"x":1920,"y":0,"width":3840,"height":1600},{"name":null,"x":0,"y":0,"width":1920,"height":1200}]
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [DefaultMenu] [{"name":null,"x":1920,"y":0,"width":3840,"height":1600},{"name":null,"x":0,"y":0,"width":1920,"height":1200}]
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [DefaultMenu] [{"name":null,"x":1920,"y":0,"width":3840,"height":1600},{"name":null,"x":0,"y":0,"width":1920,"height":1200}]
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 0] new work area for monitor 0: 1920 30 3840x1570
Nov 17 17:38:53 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 1] new work area for monitor 1: 0 0 1920x1200
Nov 17 17:39:18 mobile-miracle gnome-shell[146009]: [tilingshell] [LayoutWidget] relayout not needed
Nov 17 17:39:34 mobile-miracle gnome-shell[146009]: [tilingshell] [extension] extension is disabled
Nov 17 17:39:51 mobile-miracle gnome-shell[146009]: [tilingshell] [extension] building a tiling manager for each monitor
Nov 17 17:39:51 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 0] Work area for monitor 0: 1920 30 3840x1570
Nov 17 17:39:51 mobile-miracle gnome-shell[146009]: [tilingshell] [TilingManager 1] Work area for monitor 1: 0 0 1920x1200
Nov 17 17:39:51 mobile-miracle gnome-shell[146009]: [tilingshell] [extension] extension is enabled
Nov 17 17:39:52 mobile-miracle gnome-shell[146009]: [tilingshell] [DefaultMenu] [{"name":null,"x":1920,"y":0,"width":3840,"height":1600},{"name":null,"x":0,"y":0,"width":1920,"height":1200}]
 iras  ~  

this log includes all tests (unplugging the monitor too) and to disable / re-enable the extension didn't work either.

tflori commented 2 days ago

I just verified that this also happens when I disable all other extensions.