pingdotgg / pingdotgg/t3code

[Bug]: Linux window controls ignore the system-configured button layout

Open
#8,675 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-triage
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
  1. On GNOME, configure a custom window button layout, for example only a close button or controls on the left.
  2. Open T3 Code Desktop.
  3. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.