forge-ext / forge

Forge - Tiling and Window Manager for Gnome-Shell
GNU General Public License v3.0
941 stars 49 forks source link

bug: some windows always tiling on primary monitor #388

Open Kostrol opened 6 months ago

Kostrol commented 6 months ago

(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/compiz-windows-effect@hermes83.github.com
  URL: https://github.com/hermes83/compiz-windows-effect
  Version: 24
  Enabled: Yes
  State: ACTIVE

user-theme@gnome-shell-extensions.gcampax.github.com
  Name: User Themes
  Description: Load shell themes from user directory.
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com
  URL: https://gitlab.gnome.org/GNOME/gnome-shell-extensions
  Version: 57
  Enabled: Yes
  State: ACTIVE

arcmenu@arcmenu.com
  Name: ArcMenu
  Description: Application Menu Extension for GNOME
  Path: /home/liminal_headspace/.local/share/gnome-shell/extensions/arcmenu@arcmenu.com
  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

dash-to-panel@jderose9.github.com
  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/dash-to-panel@jderose9.github.com
  URL: https://github.com/home-sweet-gnome/dash-to-panel
  Version: 62
  Enabled: Yes
  State: ACTIVE

Vitals@CoreCoding.com
  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/Vitals@CoreCoding.com
  URL: https://github.com/corecoding/Vitals
  Version: 67
  Enabled: Yes
  State: ACTIVE

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

appindicatorsupport@rgcjonas.gmail.com
  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/appindicatorsupport@rgcjonas.gmail.com
  URL: https://github.com/ubuntu/gnome-shell-extension-appindicator
  Version: 58
  Enabled: Yes
  State: ACTIVE

notification-banner-reloaded@marcinjakubowski.github.com
  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/notification-banner-reloaded@marcinjakubowski.github.com
  URL: https://github.com/marcinjakubowski/notification-position-reloaded
  Version: 11
  Enabled: Yes
  State: ACTIVE

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

advanced-alt-tab@G-dH.github.com
  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/advanced-alt-tab@G-dH.github.com
  URL: https://github.com/G-dH/advanced-alttab-window-switcher
  Version: 46.1 (54)
  Enabled: Yes
  State: ACTIVE

forge@jmmaranan.com
  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/forge@jmmaranan.com
  URL: https://github.com/forge-ext/forge
  Enabled: Yes
  State: ACTIVE

expandable-notifications@kaan.g.inam.org
  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/expandable-notifications@kaan.g.inam.org
  URL: https://github.com/kaanginam/expandable-notifications
  Version: 15
  Enabled: Yes
  State: OUT OF DATE

notification-timeout@chlumskyvaclav.gmail.com
  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/notification-timeout@chlumskyvaclav.gmail.com
  URL: https://github.com/vchlum/notification-timeout
  Original author: chlumskyvaclav@gmail.com
  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

launch-new-instance@gnome-shell-extensions.gcampax.github.com
  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/launch-new-instance@gnome-shell-extensions.gcampax.github.com
  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

jmmaranan commented 6 months ago

Hi there, can you try if it is fixed on Forge v46-80?

Kostrol commented 6 months ago

Hi there, can you try if it is fixed on Forge v46-80?

Not fixed

jayofdoom commented 5 months ago

I have a similar bug that sounds like it could be related.

When moving from a single monitor (laptop) to two external monitors (docked), I will have applications get "stuck" on one of the monitors. Nothing I do with the mouse will ever get it to move into the other monitor. It's like it doesn't see the second monitor as a separate tiling space (yet?).

This is only an issue in the transition; it works as-expected for apps launched when docked w/two monitors, and it works as-expected on the laptop undocked; just the back-and-forth is painful.

Kostrol commented 4 months ago

Any updates on this? currently the only thing holding me back from going all wayland at the moment, what's strange is I remember this used to work just fine, around v46.78 or v46.80 from what I recall on wayland, so regression might have happened at some point. One landscape, one vertical monitor layout.

X11 no problem with layout, or second vertical at all, from what is in the README for my setup.