TiddlyWiki / TiddlyWiki/TiddlyDesktop

Windows size saving/restoring problem on Windows 10

Open
#299 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.9k
Forks
136
PR merge metrics
No merged PRs in 30d

Description

I'm not sure if this is TiddlyDesktop or nwjs issue, but it started with v0.0.15 and still exists in v0.0.20.

Every time I close and open wiki file or main window its size grows by +16 pixels horizontally and +39 pixels vertically. Checked with every version form 0.0.15 to 0.0.20 by comparing values in "User Data\Default\Preferences", key: browser.app_window_placement (right and bottom values are increasing). I suspect these 16 and 39 pixels might be connected with border width and titlebar height in Windows 10.

Because of this problem I keep working on v0.0.13 for long time, but I need newer version to handle some css rules better than this old version can. Now I have a dilemma: keep window sizes or get correct css rendering.

Any hint how to deal with this?

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 on Windows 10 using versions 0.0.15 through 0.0.20, then inspect User Data\Default\Preferences and the browser.app_window_placement values after repeatedly opening and closing a wiki or the main window. Compare the window bounds with the reported 16-pixel horizontal and 39-pixel vertical growth; done means reopening no longer changes the saved size.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.