openscopeproject / openscopeproject/TrguiNG

Window restore incorrectly when closing from a secondary display.

Open
#223 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tracking-upstream
Dominant language
TypeScript
Stars
796
Forks
102
PR merge metrics
No merged PRs in 30d

Description

I have two monitors with different scale. One 27"4k with scale of 150% (external as primary) and one 14" 4k+ with scale of 250% (internal as secondary).

When I run TrguiNG on primary display. everything look right. But when I move the TrguiNG window to secondary display and close it (exit). The windows size and possition won't resotre correctly when I reopen the application again.

(It may be the scale factor that lead to this issue.)

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the issue by moving TrguiNG between the two differently scaled displays, closing it, and reopening it. Trace the window-size and position restoration path; done means the window reopens at the correct size and position on the secondary display. The issue names no files or tests, so those entry points must be located first.

Written by the indexing model from the issue text.

Assessment

Tech stack
tauri, typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.