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: some windows always tiling on primary monitor #388

Open
Kostrol opened this issue May 18, 2024 · 4 comments
Open

bug: some windows always tiling on primary monitor #388

Kostrol opened this issue May 18, 2024 · 4 comments
Labels
bug Something isn't working wayland Wayland support window-mgt Window management components

Comments

@Kostrol
Copy link

Kostrol commented May 18, 2024

(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

@Kostrol Kostrol added the bug Something isn't working label May 18, 2024
@jmmaranan
Copy link
Collaborator

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

@Kostrol
Copy link
Author

Kostrol commented May 26, 2024

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

Not fixed

@jmmaranan jmmaranan changed the title Bug: Newly spawned windows ignore second monitor focus and always tile to primary display on Wayland bug: some windows always tiling on primary monitor Jun 12, 2024
@jmmaranan jmmaranan added window-mgt Window management components wayland Wayland support labels Jun 12, 2024
@jayofdoom
Copy link

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
Copy link
Author

Kostrol commented Jul 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wayland Wayland support window-mgt Window management components
Projects
None yet
Development

No branches or pull requests

3 participants