bug: multi-display navigation keybindings not working sometimes

Đang mở
#379 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
18/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, linux
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
JavaScript
Star
1.3k
Fork
112
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của forge-ext/forge

Tất cả issue của forge-ext/forge

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.