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

bug: multi-display navigation keybindings not working sometimes #379

Open
Coffei opened this issue Apr 17, 2024 · 3 comments
Open

bug: multi-display navigation keybindings not working sometimes #379

Coffei opened this issue Apr 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Coffei
Copy link

Coffei commented Apr 17, 2024

(1) Issue/Bug Description/Video Capture/Screenshots

When using two monitors (one above the other) switching between windows (via C-j/C-k) on those two monitors doesn't work reliably. Sometimes it works fine, sometimes it doesn't switch from one monitor to the other, but the other way around works (so e.g. C-k to switch from bottom to top works, but C-j to switch back doesn't).

This happens randomly, sometimes right after startup sometimes it breaks later. I do sometimes disconnect and reconnect the displays, which can also induce this broken state (but not always).

At the moment it's even broken for a single workspace - from one it doesn't work but from another it works fine. Usually I can fix it by moving the window I cannot switch to to the other display and back, but sometimes this doesn't work too.

In the Gnome log I can see the following. When I press C-j and it works there's a bunch of the following lines added to the log

Window manager warning: Overwriting existing binding of

when the binding doesn't work nothing is added to the log.

(2) Steps to reproduce

  1. Setup two displays above each other and put windows on both.
  2. As declared above I am not sure what triggers this bug. Sometimes it's there right after startup, sometimes I need to disconnect and reconnect the external display.
  3. Focus the window on the top display.
  4. Press C-j to go to the bottom display.
  5. Press C-k to go to the top display.

Steps 4. and 5. don't work occasionally.

(3) Distribution and Linux version

NAME="Fedora Linux"
VERSION="39 (Workstation Edition)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora Linux 39 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:39"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f39/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=39
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=39
SUPPORT_END=2024-11-12
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Linux jtrantinworkpc 6.8.6-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Apr 13 15:14:23 UTC 2024 x86_64 GNU/Linux

(4) Journal Logs from the last hour

will attach as file, too long for to paste here

GNOME Shell version

GNOME Shell 45.5

Forge version

45.5-78 installed from extensions.gnome.org

Other installed/enabled extensions

[email protected]
  Name: Brightness control using ddcutil
  Description: Brightness control for all the monitors detected by ddcutil
This tool uses ddcutil as backend for communication with your display.

Read setup instructions from: https://github.com/daitj/gnome-display-brightness-ddcutil/blob/master/README.md
  Path: /home/jtrantin/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/daitj/gnome-display-brightness-ddcutil
  Version: 48
  State: ENABLED

[email protected]
  Name: Go To Last Workspace
  Description: Quickly toggle between two workspaces with one key
  Path: /home/jtrantin/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/arjan/gnome-shell-go-to-last-workspace
  Version: 12
  State: ENABLED

[email protected]
  Name: Clipboard History
  Description: Gnome Clipboard History is a Gnome extension that saves items you've copied into an easily accessible, searchable history panel.
  Path: /home/jtrantin/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/SUPERCILEX/gnome-clipboard-history
  Version: 34
  State: ENABLED

[email protected]
  Name: Astra Monitor
  Description: Astra Monitor is a cutting-edge, fully customizable, and performance-focused system monitoring extension for GNOME's top bar. It's an all-in-one solution for those seeking to keep a close eye on their system's performance metrics like CPU, GPU, RAM, disk usage, network statistics, and sensor readings.
  Path: /home/jtrantin/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/AstraExt/astra-monitor
  Version: 15 (24)
  State: ENABLED

[email protected]
  Name: Weather O'Clock
  Description: Display the current weather inside the pill next to the clock. GNOME Weather is required for this extension to work.
  Path: /home/jtrantin/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/CleoMenezesJr/weather-oclock
  Original author: [email protected]
  Version: 11
  State: ENABLED

[email protected]
  Name: GSConnect
  Description: GSConnect is a complete implementation of KDE Connect especially for GNOME Shell with Nautilus, Chrome and Firefox integration. It does not rely on the KDE Connect desktop application and will not work with it installed.

KDE Connect allows devices to securely share content like notifications or files and other features like SMS messaging and remote control. The KDE Connect team has applications for Linux, BSD, Android, Sailfish, iOS, macOS and Windows.

Please report issues on Github!
  Path: /home/jtrantin/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/GSConnect/gnome-shell-extension-gsconnect/wiki
  Version: 56
  State: ENABLED

[email protected]
  Name: Forge
  Description: Tiling and window manager for GNOME

Please report bugs/issues on https://github.com/forge-ext/forge/issues
  Path: /home/jtrantin/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/forge-ext/forge
  Version: 78
  State: ENABLED

[email protected]
  Name: Background Logo
  Description: Overlay a tasteful logo on the background to enhance the user experience
  Path: /usr/share/gnome-shell/extensions/[email protected]
  URL: https://pagure.io/background-logo-extension
  State: ENABLED

(6) Monitor Setup

2 monitors

  • top: external 4K, 150% scaling
  • bottom: internal 1800p, 175% scaling

Other Notes

No response

@Coffei Coffei added the bug Something isn't working label Apr 17, 2024
@Coffei
Copy link
Author

Coffei commented Apr 17, 2024

Gnome log file

@Coffei
Copy link
Author

Coffei commented Apr 19, 2024

So far I replaced this functionality with this extension which doesn't have the issue - https://extensions.gnome.org/extension/4627/focus-changer/. I suppose it uses a different approach than this extension, but maybe it can help you solve this issue.

@jmmaranan
Copy link
Collaborator

So far I replaced this functionality with this extension which doesn't have the issue - https://extensions.gnome.org/extension/4627/focus-changer/. I suppose it uses a different approach than this extension, but maybe it can help you solve this issue.

Yeah - this extension uses the same approach as i3. I suppose we can forge the extension recommended into Forge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants