Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeltaChat's window size on Windows increases with each launch #1705

Closed
ghost opened this issue Jun 5, 2020 · 4 comments
Closed

DeltaChat's window size on Windows increases with each launch #1705

ghost opened this issue Jun 5, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jun 5, 2020

  • Operating System (Linux/Mac/Windows/iOS/Android): Windows
  • Delta Chat Version: 1.3.4
  • Expected behavior: DeltaChat remembers its last window size across launches.
  • Actual behavior: DeltaChat's window size increases each time it is started.
  • Steps to reproduce the problem:
  1. Launch DeltaChat.
  2. Resize its window.
  3. Close DeltaChat.
  4. Repeat steps 1 and 3 to see the window size increase with each launch.
  • Screenshots:

DeltaChat window (1st launch)

DeltaChat_2020-06-05_14-57-02

DeltaChat window (5th launch)

DeltaChat_2020-06-05_14-57-19

DeltaChat window (10th launch)

DeltaChat_2020-06-05_14-57-41

  • Logs: N/A
@ghost ghost added the bug Something isn't working label Jun 5, 2020
@Simon-Laux
Copy link
Member

looks like this only affects height. maybe its not saved correctly

@ghost
Copy link
Author

ghost commented Jun 5, 2020

@Simon-Laux I thought that at first as well, but these are the image dimensions:

1st launch: 1009x750
5th launch: 1073x986
10th launch: 1153x1281

So the window's width also increases with each launch, just at a slower rate than the height.

@Simon-Laux
Copy link
Member

Simon-Laux commented Jun 5, 2020

Found the issue and fixed it, will come shipped in <=1.4
It was that we set the content size to the size of the whole window so the dimensions of border and titlebar were added each time.

Thanks for reporting it. 😃

@ghost
Copy link
Author

ghost commented Jun 5, 2020

@Simon-Laux Thanks for the quick fix!

@r10s r10s added bug Something isn't working and removed bug Something isn't working labels Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants