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

Centered Layout > 970px breaks on New File with External Preview active #1172

Open
acaos opened this issue Jan 13, 2025 · 2 comments
Open

Centered Layout > 970px breaks on New File with External Preview active #1172

acaos opened this issue Jan 13, 2025 · 2 comments
Assignees
Labels

Comments

@acaos
Copy link

acaos commented Jan 13, 2025

  • Platform: Windows 10
  • Version: 3.5.18

The Centered Layout feature breaks if you follow these steps:

  1. Configure Markdown Monster for External Preview.
  2. Set the External Preview window to Manually Activated.
  3. Close Markdown Monster.
  4. Open Markdown Monster (the home screen should have no documents open).
  5. Use File > New to open a new untitled document.
    • The External Preview window will not open.
    • The document will be correctly centered in the editor.
  6. Press F12 to open the External Preview (which will open as expected in a new window).
  7. Use File > New to open a second new untitled document.
    • The document will not be centered in the editor.
    • External Preview will continue functioning normally.

Fixing the issue requires closing and reopening the preview window for each document, or swapping to Internal Preview and then back to External Preview.

image
image

@acaos
Copy link
Author

acaos commented Jan 13, 2025

Update: It looks like this issue happens any time there are multiple documents open with External Preview enabled.

@RickStrahl RickStrahl self-assigned this Jan 17, 2025
@RickStrahl RickStrahl added the bug label Jan 17, 2025
@RickStrahl
Copy link
Owner

RickStrahl commented Jan 17, 2025

Thank you. Another regression bug related to recent updates to the window management code. There were actually quite a few issues here that I've addressed in this fix.

  • Preview Pane not hiding (Fixed)
  • External Preview Window not starting up across sessions when external preview is active (Fixed)
  • Incorrect Window resizing when going from external back to internal
    (window should resize with preview size added to width). (Fixed)
  • Editor window doesn't change any more when just toggling preview/non-preview (Fixed)
  • Editor window only resizes when switching between internal/external modes
    leaving window + preview always roughly the same size regardless whether external or internal.

Fixed in v3.5.21.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants