ubuntu / ubuntu/Tiling-Assistant

Chromium windows expand when focused after tiling with Tiling Assistant on Wayland

Open
#412 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
1.3k
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Description

When using Tiling Assistant on Wayland, Chromium/Chrome-based windows improperly resize (grow larger) upon receiving focus after being snapped to tiling zones. This issue is specific to Chromium using the Wayland ozone platform and does not occur when:

  1. Chromium is using X11 as the ozone platform
  2. Using other applications (e.g., native GNOME apps)

Steps To Reproduce

  1. Install and activate Tiling Assistant extension
  2. Launch Chromium with Wayland support by either:
    • Setting #ozone-platform-hint flag to auto or wayland in chrome://flags
    • Or launching with --ozone-platform-hint=wayland flag
  3. Snap Chromium window to a tiling zone using Tiling Assistant
  4. Click away to focus on another window
  5. Click back on the Chromium window to focus it

Expected behavior: Window maintains its size when focused
Actual behavior: Window expands/grows larger when focused

System Information

  • OS: Fedora 42
  • Desktop Environment: GNOME Shell 48.0
  • Display Server: Wayland
  • Tiling Assistant version: 52
  • Chromium version: 139.0.7258.66

Troubleshooting already attempted

  • Disabled all other GNOME extensions to rule out conflicts - issue persists
  • Confirmed the issue does not occur on X11 by setting #ozone-platform-hint to x11
  • Confirmed the issue does not affect other applications tiled with Tiling Assistant

Screen-Capture to see the issue

https://github.com/user-attachments/assets/efe0962b-530e-482c-91ce-04995de09552

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the resize with Tiling Assistant on GNOME Shell 48 under Wayland, launching Chromium with --ozone-platform-hint=wayland; compare it with the documented X11 setting and another application. Trace the focus and tiling behavior in the extension, then verify that a Chromium window keeps its snapped size after focus changes without regressing other applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.