bug: some windows always tiling on primary monitor

未关闭
#388 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
12/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript, linux

调研方向

The payload names no Forge source file, so the entry point has to be found in the repository first. The one concrete lead is the journal assertion meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed from gnome-shell, which points at window stacking on a new window's first map. Reproducing needs the two-monitor layout from the report (a rotated secondary display) on GNOME 46 under Wayland. Done would mean new windows open on the monitor that has focus or the cursor, and that is hard to confirm without the same hardware.

由索引模型根据 Issue 内容生成。

描述

bug wayland window-mgt
(1) Issue/Bug Description/Video Capture/Screenshots

I switched to Wayland today and noticed some new irregular behavior.

New windows of Librewolf always open and tile to my primary, and does not respect cursor position, focus or last window position placement if i manually place them on my secondary.

gnome settings, files and mpv seem to be outliers that they do open and tile on my secondary if in focus or with cursor hover. Some applications seem to open for a brief second on the secondary but then move to the primary.

(2) Steps to reproduce
  1. Have librewolf or firefox window open on secondary monitor
  2. Open new instance without moving cursor or focus
  3. Window will actively spawn on wrong monitor
  4. Try to focus back to second monitor and open new window again
  5. Same result
(3) Distribution and Linux version
Tumbleweed Version 20240516
Kernel: 6.8.9-1
(4) Journal Logs from the last hour
gnome-shell[16853]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed

Only relevant error i could find but is not reproducible to whenever new librewolf window opens.
GNOME Shell version

46.1

Forge version

Version 46.1-4999

Other installed/enabled extensions
Name: Compiz windows effect
  Description: Compiz wobbly windows effect thanks to compiz plugin engine.

Does NOT requires any external library

NB:
In case of update error please restart Gnome Shell (on Xorg press ALT+F2 then write r and press enter, on Wayland end the session and log in again)

-----------------------------------
  Video
-----------------------------------
https://youtu.be/G8bAVIB9A7A
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/hermes83/compiz-windows-effect
  Version: 24
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: User Themes
  Description: Load shell themes from user directory.
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://gitlab.gnome.org/GNOME/gnome-shell-extensions
  Version: 57
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: ArcMenu
  Description: Application Menu Extension for GNOME
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://gitlab.com/arcmenu/ArcMenu
  Version: 56 (56)
  Enabled: Yes
  State: ACTIVE

blur-my-shell@aunetx
  Name: Blur my Shell
  Description: Adds a blur look to different parts of the GNOME Shell, including the top panel, dash and overview.

You can support my work by sponsoring me on:
- github: https://github.com/sponsors/aunetx
- ko-fi: https://ko-fi.com/aunetx

Note: if the extension shows an error after updating, please make sure to restart your session to see if it persists. This is due to a bug in gnome shell, which I can't fix by myself.
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/blur-my-shell@aunetx
  URL: https://github.com/aunetx/blur-my-shell
  Version: 61
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: Dash to Panel
  Description: An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.

For a more traditional experience, you may also want to use Tweak Tool to enable Windows > Titlebar Buttons > Minimize & Maximize.

For the best support, please report any issues on Github. Dash-to-panel is developed and maintained by @jderose9 and @charlesg99.
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/home-sweet-gnome/dash-to-panel
  Version: 62
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: Vitals
  Description: A glimpse into your computer's temperature, voltage, fan speed, memory usage, processor load, system resources, network speed and storage stats. This is a one stop shop to monitor all of your vital sensors. Uses asynchronous polling to provide a smooth user experience. Feature requests or bugs? Please use GitHub.
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/corecoding/Vitals
  Version: 67
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: RunCat
  Description: The cat tells you the CPU usage by running speed
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/win0err/gnome-runcat
  Version: 27
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: AppIndicator and KStatusNotifierItem Support
  Description: Adds AppIndicator, KStatusNotifierItem and legacy Tray icons support to the Shell
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/ubuntu/gnome-shell-extension-appindicator
  Version: 58
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: Notification Banner Reloaded
  Description: Configure notification banner position and animation to your liking.
Version 9: Gnome 45 changes by mannjani@github
Version 10: mannjani@github added a test button inside prefs
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/marcinjakubowski/notification-position-reloaded
  Version: 11
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: RebootToUEFI
  Description: Reboot system into UEFI
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/UbayGD/reboottouefi
  Version: 22
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: AATWS (Advanced Alt-Tab Window Switcher)
  Description: Highly customizable replacement for the Alt/Super+Tab window/app switchers that offers 'type to search' mode, various filtering and sorting options, workspace and monitor navigation, configurable hotkeys for navigation and window/app control and an app launcher.
AATWS is compatible with Custom Hot Corners - Extended extension, allows to configure any mouse button and scroll wheel and can be used as a mouse controlled 'dock'.

Note that GNOME has 3 built-in window switcher popups and this extension replaces all of them. The first one is grouping windows by applications and is used as default in vanilla GNOME distributions. The second one offers window list and the third one windows of the currently focused application. You can set keyboard shortcuts for all the switchers in the Gnome Settings.
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/G-dH/advanced-alttab-window-switcher
  Version: 46.1 (54)
  Enabled: Yes
  State: ACTIVE

[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/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/forge-ext/forge
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: Expandable Notifications
  Description: Makes the notifications in the notification list expandable. Using gsettings, you can choose between three modes: AUTO, ARROW and CRITICAL. 
AUTO will expand the notifications in the notification list automatically. 
ARROW adds an arrow that lets you choose what to expand or unexpand. 
CRITICAL is similar to arrow, but expands notifications with the urgency critical automatically. 

For more information and an example command to change the mode, I recommend to look at the repository.
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/kaanginam/expandable-notifications
  Version: 15
  Enabled: Yes
  State: OUT OF DATE

[email protected]
  Name: Notification Timeout
  Description: This extension allows configuring the same timeout for all notifications. It also allows ignoring the idle state.
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/[email protected]
  URL: https://github.com/vchlum/notification-timeout
  Original author: [email protected]
  Version: 11
  Enabled: Yes
  State: ACTIVE

hibernate-status@dromi
  Name: Hibernate Status Button
  Description: Adds a Hibernate button in Status menu. Using Alt modifier, you can also select Hybrid Sleep instead.
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/hibernate-status@dromi
  URL: https://github.com/arelange/gnome-shell-extension-hibernate-status
  Version: 40
  Enabled: Yes
  State: ACTIVE

[email protected]
  Name: Launch new instance
  Description: Always launch a new instance when clicking in the dash or the application view.
This extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.
  Path: /usr/share/gnome-shell/extensions/[email protected]
  URL: https://gitlab.gnome.org/GNOME/gnome-shell-extensions
  Enabled: Yes
  State: ACTIVE
(6) Monitor Setup

DP-3 connected primary 3440x1440+0+564 (normal left inverted right x axis y axis) 800mm x 330mm
3440x1440 143.91*+
Primary Landscape

DP-2 connected 1440x2560+3440+0 left (normal left inverted right x axis y axis) 600mm x 340mm
2560x1440 143.91*+
Vertical Rotation right side of DP-3

Other Notes

N/A

主要语言
JavaScript
星标
1.3k
派生
112
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

forge-ext/forge 的其他 Issue

查看 forge-ext/forge 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。