pingdotgg / pingdotgg/t3code

[Bug]: t3 code forgets the used "--force-device-scale-factor" when it self-updates

Open
#12,198 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

accepted bug via-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/web

Steps to reproduce
  1. on a linux computer with a very high DPI screen, launch T3 code with "--force-device-scale-factor=X" (I launch it like this every time through a shell script)
  2. wait until T3 Code notitices a pending T3 Code update (happens very often)
  3. click the "update" + "relaunch" buttons
  4. now T3 Code relaunches with tiny unreadable GUI because it re-launches itself without the --force-device-scale-factor=X parameter (it would be much nicer if it was smart enough to notice that it is launched using --force-device-scale-factor=X and then just also re-launched itself with that exact same --force-device-scale-factor=X parameter)
Expected behavior

it would be much nicer if it was smart enough to notice that it is launched using --force-device-scale-factor=X and then just also re-launched itself with that exact same --force-device-scale-factor=X parameter

Actual behavior

now T3 Code relaunches with tiny unreadable GUI because it re-launches itself without the --force-device-scale-factor=X parameter

Impact

Cosmetic issue

Version or commit

0.0.42

Environment

linux

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

restarting T3 Code again using your normal method with the desired --force-device-scale-factor=X parameter

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 the apps/web self-update and relaunch flow, tracing how the application is started after an update. Reproduce the Linux case with --force-device-scale-factor=X, then verify that the relaunch preserves the exact argument and the GUI scale remains readable.

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
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.