Stacked mode causes gnome-shell warnings about assertion errors

Open
#1,801 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the issue by enabling stacked mode and opening a new gedit window, then inspect window.js:264 and extension.js:640, the locations named in the warnings. Done means stacked mode no longer produces the reported stack-position assertions or unmaximize argument warnings.

Written by the indexing model from the issue text.

Description

Ignoring length property that isn't a number at line 4, col 20
meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
JS WARNING: file:///home/siddh/.local/share/gnome-shell/extensions/[email protected]/window.js:264:22: Too many arguments to method Meta.Window.unmaximize: expected 0, got 1
JS WARNING: file:///home/siddh/.local/share/gnome-shell/extensions/[email protected]/extension.js:640:31: Too many arguments to method Meta.Window.unmaximize: expected 0, got 1

Repro steps:

  1. Enable stacked mode.
  2. Open a new window. I used gedit for above.
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.