[Bug]: Linux window controls ignore the system-configured button layout
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 23k
- Forks
- 5.9k
- Avg merge
- 11h 14m
- Merged PRs (30d)
- 357
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- On GNOME, configure a custom window button layout, for example only a close button or controls on the left.
- Open T3 Code Desktop.
- Compare T3 Code's window controls with other system windows.
Expected behavior
T3 Code should respect the system-configured window button layout and placement.
For example, if GNOME is configured to show only the close button, T3 Code should do the same.
Actual behavior
T3 Code shows Electron's default Window Controls Overlay layout instead of the layout configured by the desktop environment.
This makes the title bar inconsistent with the rest of the desktop.
T3 Code already uses titleBarStyle: "hidden" with titleBarOverlay on Linux, but it currently uses Electron 41.5.0.
Electron 43 added support for system-configured button layouts in WCO on Linux:
https://github.com/electron/electron/pull/51161
Updating Electron should allow T3 Code to inherit the user's Linux window control layout without replacing the existing custom title bar.
Impact
Cosmetic issue
Version or commit
No response
Environment
No response
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
No response
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
Start in apps/desktop by locating the Electron version and the existing titleBarStyle: "hidden" and titleBarOverlay configuration. Run the desktop app on GNOME with different window button layouts and verify the Electron upgrade preserves the custom title bar while matching the system layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, linux, typescript
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100