[Bug]: Windows UI shifts vertically while app is unfocused
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
- Open T3 Code on Windows.
- Switch to another application so the T3 Code window is in the background or unfocused.
- Look at the T3 Code window, then click it to bring it back into focus.
- Observe the UI immediately before and during the focus transition.
Expected behavior
The interface should remain in exactly the same position whether the window is focused or unfocused. Bringing the app to the foreground should not cause any visible layout movement or reflow.
Actual behavior
While the T3 Code window is in the background, the visible interface appears vertically shifted upward. The underlying layout or interactive regions seem to remain roughly a centimeter lower than where the interface is visually rendered, creating an apparent mismatch between what is displayed and where the UI is actually positioned.
As soon as I click the window and it becomes active again, the interface snaps or adjusts back into the correct position. This repeated vertical shift whenever the app changes between background and foreground is extremely distracting and frustrating during normal use.
Impact
Moderate degradation or recurring frustration
Version or commit
Unknown
Environment
Windows desktop app. Exact Windows and T3 Code versions were not captured.
Logs or stack traces
No response
Screenshots, recordings, or supporting files
A screen recording showing the window before and after focus would likely make the shift easiest to see, but none is currently attached.
Workaround
Clicking the T3 Code window and returning it to the foreground causes the layout to correct itself temporarily.
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 reproducing the focus transition on Windows and compare the visible rendering with the interactive regions before and after the window regains focus. The exact Windows and T3 Code versions are missing, so record them while investigating. Done means the interface remains in the same position and no vertical shift or hit-region mismatch appears during focus changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100