During Window Resize Text Does not Match final margin
Resizing does not match the final size after you change a window's size.
The max margin doesn't look like it's respected when you make a window that was skinny wider during the resize drag.
Steps
1. Click on corner and drag to resize
Expected
1. Resized window content should match the end result
Actual
1. The text continues to stretch and fill the space
2. After the resize, the text snaps back to the margin extents
3. The current cursor scroll position is not the same
- MarginResizeBugSmall.mp4 1.81 MB
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Fletcher on 21 Aug, 2017 11:54 AM
Are you sure you're using a recent build for that? I can't replicate.
Thanks!
F-
2 Posted by Paul Solt on 21 Aug, 2017 04:19 PM
Version 4.0b (17)
-Paul
Support Staff 3 Posted by Fletcher on 21 Aug, 2017 04:20 PM
4.0b19 is the latest
4 Posted by Paul Solt on 21 Aug, 2017 04:24 PM
I see this with longer documents 4000+ words
Attached is a sample file with some different code and markdown blocks
Support Staff 5 Posted by Fletcher on 21 Aug, 2017 04:38 PM
Got it.
Because of the maximum line length autozoom features, the horizontal margins are recalculated any time the window changes sizes. For short documents this is fast enough to happen live. With longer documents, it's a bit slower, and at a certain point macOS disables the live resizing and waits until you pick a size.
I'll see if I can change this, but no guarantees.
Thanks!
F-
Support Staff 6 Posted by Fletcher on 23 Aug, 2017 06:47 AM
I rewrote all the code related to this, and was able to remove some inefficiencies and redundancies. The new version is much faster -- needs a bit more testing and then it will be in the next release.
Fletcher closed this discussion on 23 Aug, 2017 06:47 AM.