Brave/Chromium window becomes larger after exiting fullscreen video
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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