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

Regression: Text box does not always focus when activated #59

Open
patriksvensson opened this issue Jan 21, 2018 · 6 comments
Open

Regression: Text box does not always focus when activated #59

patriksvensson opened this issue Jan 21, 2018 · 6 comments
Labels
Milestone

Comments

@patriksvensson
Copy link
Member

patriksvensson commented Jan 21, 2018

No description provided.

@patriksvensson patriksvensson self-assigned this Jan 21, 2018
@RexTremendae
Copy link

I have seen this behavior when I have the query window open, and click the mouse outside of the window. It is not happening everytime, but fairly reproducable. However, I can only reproduce it in Release builds/installed version.

After a quick debugging with some logging it seems that the OnDeactivated() method is not called (which also means that the window does not disappear) the last time the window was visible and focuasable.

@patriksvensson
Copy link
Member Author

@RexTremendae That's strange. Would explain why I as well only could reproduce it in debug builds. Thanks for the research into this!

@patriksvensson
Copy link
Member Author

@RexTremendae Did you by any chance see if OnActivated was called?

@RexTremendae
Copy link

RexTremendae commented Jan 27, 2018

Once the erroneous behavior starts appearing, neither the OnActivated or OnDeactivated is called. Once a mouse click has given the query textbox focus again it seems to work fine.

@erkantaylan
Copy link

erkantaylan commented Jan 27, 2018

Build in Debug mode issue exists
Build in Release mode issue exists
While debugging, everything works like a charm for me

Triggerring Jarvis with Alt + Space, typing something and do not select anything
Click somewhere else Jarvis
Jarvis Hides as expected
Alt + Space again
Jarvis Shows, old string appears as selected
But typing string does not work (I think it looks like focused but it it is not)
Click somewhere else OnDeactivated does not work, because it is not OnActivated properly

But somewhat this issue does not exists while debugging.

I recorded a gif but it is too big to upload to github (2 minutes, 17mb)
Url is https://www.dropbox.com/s/mh2rmxnzm8w10hv/2018-01-27_23-39-30.gif?dl=0

@Welding-Torch
Copy link

Update: This bug is still persistent. I click Alt+Space and it doesn't focus on Jarvis. I have to click on the Jarvis textbar before I can start typing. Kind of breaks the whole "start my programs FAST" functionality for me.

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

No branches or pull requests

4 participants