WayfireWM / WayfireWM/wayfire

Brave/Chromium window becomes larger after exiting fullscreen video

Open
#2,917 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
3.1k
Forks
237
Avg merge
1h 43m
Merged PRs (30d)
1

Description

Describe the bug
When watching a video in a Chromium-based browser (Brave in my case), switching to fullscreen and then exiting fullscreen sometimes causes the browser window to resize incorrectly.
Instead of returning to its original size, the window becomes larger than before.

To Reproduce
1- Open Brave (or any Chromium-based browser).
2- Open a video (e.g., YouTube).
3- Enter fullscreen mode.
4- Exit fullscreen mode.
5- Observe the window size.

Expected behavior
The browser window should return to its previous size exactly.

Wayfire version
latest git

https://github.com/user-attachments/assets/9ed3601a-532f-4189-b30c-729613057d35

Contributor guide

Open the contributing guide

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

No source file or test is named. First reproduce the fullscreen enter/exit sequence with Brave or another Chromium-based browser and inspect Wayfire's fullscreen and window-resize handling; done means the window returns exactly to its pre-fullscreen size.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.