[Wayland] Windows sometimes open on second monitor when cursor and focus are on primary

Open
#1,759 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
desktop

Research direction

Start by reproducing the behavior in a GNOME 47 Wayland session with two horizontal 1080p monitors, then compare it with X11 and with the Forge extension. Trace the Pop Shell window-placement behavior for newly opened applications. Done means affected windows consistently open on the display containing the cursor and focus.

Written by the indexing model from the issue text.

Description

(1) Issue/Bug Description:
When opening a new window in the Gnome 47 Wayland session, sometimes windows (e.g. browsers) open on the secondary monitor even though the focus and the cursor are on the primary. Not all programs show this behavior though.

(2) Steps to reproduce (if you know):
Open a program (e.g. browsers).

(3) Expected behavior:
Windows open on the display with the cursor.

(4) Distribution (run cat /etc/os-release):
CachyOS (also appears on other distros)

(5) Gnome Shell version:
47

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

104269ede04d52caf98734b199d960a3b25b88df

(7) Where was Pop Shell installed from:
Cloned from the master_noble branch and installed using '''make local-install'''.

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):
2 x 1080p, both horizontal

(9) Other Installed/Enabled Extensions:
Enabled: "AppIndicator and KStatusNotifierItem Support", "Just Perfection", "Rounded Window Corners Reborn"

(10) Other Notes:
This issue seems to appear with the Forge tiling extension too where it works normally in an X11 session but shows this behavior in a wayland session.

Dominant language
TypeScript
Stars
5.3k
Forks
318
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pop-os/shell

All issues in pop-os/shell

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.