You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When switching back to program using "alt+tab", the focus will incorrectly scroll back to the position of cursor #3890
🪲 pri/majorBugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT🐛 bugSomething isn't working🔭 area/editor
When switching back to program using "alt+tab", the focus will incorrectly scroll back to the position of cursor
Can you reproduce the issue?
no
Steps to reproduce
make sure you have enough lines so that you can scroll down the screen
move the cursor to a lower line, and then scroll up until the cursor is out of screen
switch out and then back again, it will scroll down automatically, so the cursor ends up at the bottom of the screen
but if you move the cursor to a uppper line in step2, and do the reverse action, it won't scroll up by itself.
Expected behavior:
No matter where my cursor is, there should be no automatic scrolling when I switch back to the program. The screen focus should always remain where it was when I last switched out of the program.
Actual behavior:
when the cursor in a lower line, it will scroll automaticly. However, when it in a upper line, it don't happen.
I found this issue seeing if anyone else has it. I can reproduce this consistently by holding down alt while scrolling then releasing alt. Another way to trigger it is by using volume up/down media keys, perhaps other media keys too I haven't tried.
I use a AHK macro to amplify scrolling when I hold down alt, so this makes MarkText nigh unusable for me. I just started yesterday, so I'm interested to see if a fix is possible because otherwise it's a nice MD editor/viewer
🪲 pri/majorBugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT🐛 bugSomething isn't working🔭 area/editor
Activity
travispulley commentedon May 6, 2025
I found this issue seeing if anyone else has it. I can reproduce this consistently by holding down alt while scrolling then releasing alt. Another way to trigger it is by using volume up/down media keys, perhaps other media keys too I haven't tried.
I use a AHK macro to amplify scrolling when I hold down alt, so this makes MarkText nigh unusable for me. I just started yesterday, so I'm interested to see if a fix is possible because otherwise it's a nice MD editor/viewer
agbeaton commentedon Dec 29, 2025
I'm just having issues with it suddenly scrolling to the bottom while I'm editing near the top of the document.
Jocs commentedon May 18, 2026
I can not reproduce this on develop branch now, and close it, feel free to reopen it when you still have issue on develop.