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

Add option to focus on drag drop #3877

Closed
BenjaminSchaaf opened this issue Jan 21, 2021 · 8 comments
Closed

Add option to focus on drag drop #3877

BenjaminSchaaf opened this issue Jan 21, 2021 · 8 comments

Comments

@BenjaminSchaaf
Copy link
Member

Problem description

Some applications like wordpad, notepad++ and chrome take focus when a file is dropped, others like ST, notepad and firefox don't.

Preferred solution

Add an option to focus on drag drop.

@BenjaminSchaaf BenjaminSchaaf self-assigned this Jan 21, 2021
@BenjaminSchaaf BenjaminSchaaf added this to the Build 4095 milestone Jan 22, 2021
@BenjaminSchaaf
Copy link
Member Author

The window is now focused by default in build 4095.

@ruurd
Copy link

ruurd commented Jan 22, 2021

You will have to have a good look at the Human Interface Guidelines for this to begin with. I /think/ that if dropping an object on an application does not switch focus automatically you should not steal focus. I can imagine that you should not for the simple fact that a user is not finished dragging items into the application. In that case focus stealing would not be a good solution.

Did the OP try to hover the object over the application to see what happens if he keeps hovering for some time?

@PeterFeicht
Copy link

Any estimate on when that build will be released? It's been well over a year since the last dev release...

@BenjaminSchaaf
Copy link
Member Author

Beta builds for ST4 are available on our discord server.

@PeterFeicht
Copy link

Was this change reverted? I'm on 4110 and the Sublime window doesn't take focus when a file is dropped. I seem to remember that it worked a while back.

@BenjaminSchaaf
Copy link
Member Author

Seems to be a regression since 4107.

@BenjaminSchaaf BenjaminSchaaf reopened this Jul 7, 2021
@BenjaminSchaaf BenjaminSchaaf removed this from the Build 4095 milestone Jul 7, 2021
@BenjaminSchaaf BenjaminSchaaf removed their assignment Jul 7, 2021
@PeterFeicht
Copy link

Small correction: it works sometimes. I haven't figured out a pattern yet when it does and when it doesn't work.

@BenjaminSchaaf BenjaminSchaaf self-assigned this Jul 15, 2021
@BenjaminSchaaf
Copy link
Member Author

Fixed in build 4114.

@BenjaminSchaaf BenjaminSchaaf added this to the Build 4114 milestone Sep 3, 2021
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