bug: multi-display navigation keybindings not working sometimes

オープン
#379 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, linux
領域
desktop

調査の方向性

The payload names no source file or test. Start from the log line 'Window manager warning: Overwriting existing binding of', which appears only when C-j/C-k works, and from the reported pattern of the keybinding failing after monitor reconnects. Reproducing needs a two-monitor GNOME 45 setup, which is hard to get. The issue has no comments since 888 days ago and no agreed cause, so done is not defined yet.

索引モデルが issue の本文から書いたものです。

説明

bug
(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

主要言語
JavaScript
スター
1.3k
フォーク
112
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

forge-ext/forge のほかの issue

forge-ext/forge の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。