Skip to content

Sublime Text Auto-Scrolls to Top After Switching Applications #6570

Closed
@syed-m-owais

Description

Description of the bug

While working in the middle of a file, I save the file and check the browser. When I switch back to Sublime, it always scrolls to the top, and I have to scroll down to where I was working. This happens every time.

Steps to reproduce

1 - Open a file in Sublime Text.
2 - Navigate to the middle of the file and start editing.
3 - Save the file using Ctrl+S (or the equivalent save shortcut).
4 - Switch to the browser to check the changes.
5 - Return to Sublime Text.
6 - Observe that Sublime Text scrolls back to the top of the file.
7 - Scroll back down manually to find the section where you were working.

Expected behavior

Sublime should stay where I left it; it should not auto-scroll anywhere.

Actual behavior

While working in the middle of a file, I save the file and check the browser. When I switch back to Sublime, it always scrolls to the top, and I have to scroll down to where I was working. This happens every time.

Sublime Text build number

4189

Operating system & version

Windows 10

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information

No response

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions