-
Notifications
You must be signed in to change notification settings - Fork 41
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
Sublime Text Auto-Scrolls to Top After Switching Applications #6570
Comments
Does it happen in safe mode? |
@BenjaminSchaaf I'm experiencing the same (same build, same OS) and no, just tested it and it doesn't happen in safe mode. |
@twinysam since it's not happening in safe mode this is likely due to a plugin you've installed or a specific combination of settings. I suggest using the |
The error apparently occurs specifically with the Adaptive theme. I removed all plugins, leaving only the Control package. He also demonstrated his minimal settings, there is no scrolling in the standard theme, but there is scrolling in the Adaptive theme. I also ask you to check the search window, why is it so small and is designed for one line, although I can select 2 or 3 or more. It was better before. bandicam-2025-01-08-23-01-47-230_gNLsT3y9.mp4 |
Can confirm, I have the adaptive theme and use no packages. This wasn't happening in the previous version, I've been using this theme for at least a few years. |
Yes, I have also been using this Adaptive theme for a long time. Now, due to an error, I temporarily had to switch to Default Dark |
It appears to be caused by or related with word-wrapped lines, which are not correctly taken into account when restoring window, if themed title bar is used. Disabling either automatic word-wrapping or setting Tested with ST4190 in SAFE MODE on Win11 23H2 with Windows' and ST's UI scaling set to 1.0. |
Fixed in build 4191. |
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
The text was updated successfully, but these errors were encountered: