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

[Bug] Typora window too large on 200% monitor in dual setup. #5690

Closed
3 tasks done
christianbrugger opened this issue Apr 6, 2023 · 3 comments
Closed
3 tasks done

Comments

@christianbrugger
Copy link

christianbrugger commented Apr 6, 2023

  • Searched existing issues to avoid creating duplicates.
  • Confirmed that it can be reproduced in built-in themes without customized css.
  • Searched http://support.typora.io/

Describe the bug
When I close and re-open Typora on my 200% scaling Monitor the Window size is way too large, going way beyond the screen.

I then have to move and resize the Window several times, to bring it back on screen, which is tedious.

To Reproduce

  1. Setup 2 Screens in Windows, one with 100% and one with 200% scaling.
  2. Open Typora via the Start Menu
  3. Move Typora to a Monitor with 200% scaling
  4. Make sure Typora is not maximized, resize it to fit on the screen nicely. Remember the position.
  5. Close Typora.
  6. Open Typora again via the Start Menu.
  7. Bug: The Window size is not saved, it is way to large. Exactly 2x as large, moving outside the screen area.

Expected behavior
I expect the Typora Window to have the same size and position when opening it again.

Screenshots / Screencasts
Display Setup:
image image image

First open on 200% monitor:
4_first_open

Re-openeing it, showing the issue:
5_reopen_typora

Sample Markdown File
It happens with any file or without any file opened.

Desktop (please complete the following information):

  • OS: Windows 10 64 bit
  • Dual Monitor Setup with 100% and 200% scaling.

Typora Version
e.g: 1.5.10

Additional context

It only happens on a dual monitor setup.
When I only use the 4k screen with 200% scaling everything works.

@christianbrugger christianbrugger changed the title Typora window too large on 200% monitor in dual setup. [Bug] Typora window too large on 200% monitor in dual setup. Apr 6, 2023
@abnerlee
Copy link
Contributor

may relates electron/electron#10862

@abnerlee
Copy link
Contributor

Does it fixed in 1.7.5?

@christianbrugger
Copy link
Author

Yes it is indeed fixed in 1.7.5 😃

@abnerlee abnerlee closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants