Skip to content
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

Mouse button down on any buffer is lost when a buffer is automatically reloaded, affecting scrolling and selections #1177

Closed
1 task done
dubeg opened this issue Apr 21, 2016 · 2 comments

Comments

@dubeg
Copy link

dubeg commented Apr 21, 2016

Summary

I have two files opened. One that's a log file that I keep opened while a program executes and append logs to it, and another file on which I just browse the content in the meantime.

Expected behavior

I'd like to keep the (mouse) focus on the current buffer when another one is reloaded/refreshed.

Actual behavior

I simply lose the focus on the buffer I'm currently on whenever it happens.
Ex: I'm scrolling the latter file via the minimap and the first file will automatically refresh/reload and interrupt the scrolling action.

Steps to reproduce

  1. Have a program that automatically appends text to a file every 4 seconds.
  2. Open that file in Sublime.
  3. Open another buffer in Sublime.
  4. Work on that buffer while the other program executes.
  5. Experience interruptions in your workflow.

Environment

  • Operating system and version:
    • Windows 10
  • Sublime Text:
    • Build 3111 (portable)
@keith-hall
Copy link
Collaborator

keith-hall commented Apr 22, 2016

Confirmed on Windows 7 x64 and Ubuntu 16.04 x64 with build 3111 (non portable). Also interrupts selecting text with the mouse, not just scrolling with the minimap.

@keith-hall keith-hall changed the title Focus on any buffer is lost when a buffer is automatically reloaded Mouse button down on any buffer is lost when a buffer is automatically reloaded, affecting scrolling and selections Nov 17, 2016
@BenjaminSchaaf BenjaminSchaaf self-assigned this Jan 21, 2022
@BenjaminSchaaf
Copy link
Member

Fixed in build 4127.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants