Page is scrolled to cursor position when switching between

General comments and questions. Technical support.
Post Reply
MaximilianKohler
Posts: 18
Joined: Wed Jun 15, 2016 6:42 am

Page is scrolled to cursor position when switching between

Post by MaximilianKohler »

Page is scrolled to cursor position when switching between open document tabs when using "draft view, wrap to window".

Notepad++ had this bug https://github.com/notepad-plus-plus/no ... ssues/2078. It looks like you contracted it after adding some Notepad++ features.

Description:

If I leave my cursor at the bottom/middle of an open document, then switch to another open tab/document, then switch back, the page will be scrolled to wherever the cursor was, now being at the top.


It also seems to only start happening once you click on a heading in the control board, or scroll a significant ways down through the document.

I have 8 documents/tabs open. Win 8.1 x64.

"Save cursor position" is unchecked.

I tried changing my document formats from .rtf to .doc but that didn't fix it. I have "save supercompact rtf" enabled.

The update from 3.3.3.0 to 3.3.3.1 did not fix this. It didn't happen on the 2.x versions.


Slightly related problem:

In older versions, when I would click on a heading in the control board the heading position would be at the top of the document. At some point it changed to where it's in the middle of the document. I much prefer the old function.

And strangely, after switching to draft view without word wrap I just noticed this is inconsistently working. In the same document (.doc) with numerous headers, sometimes clicking one randomly places the header position at top or middle, rather than consistently one or the other.
User avatar
admin
Site Admin
Posts: 2826
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Post by admin »

When the active document window is in the "maximized" state (when the document window occupies the entire free space of the main window of Atlantis), and you switch to another open document, the window of the previously active document goes to the "normal" (non-maximized) state. As a result, the document window gets resized. This is how the Multi Document Interface of Windows works. Resizing a document window under the "Draft View (wrap to window)" leads to entire "repagination" of the document. The previous scroll position in the document window cannot be reliably recovered after such a "repagination". This is why Atlantis brings the current cursor position into view instead.
MaximilianKohler
Posts: 18
Joined: Wed Jun 15, 2016 6:42 am

Post by MaximilianKohler »

But this is a new problem... And apparently it's been fixed in Notepad++ too.
User avatar
admin
Site Admin
Posts: 2826
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Post by admin »

As far as I know, the "Draft View (wrap to window)" mode of Atlantis always worked in this way. So this behavior is not new. We also have nothing to do with Notepad++.
Post Reply