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

Window hints can't pull focus away from a window where a text-input is focused #102

Closed
robacarp opened this Issue Oct 2, 2012 · 11 comments

Comments

Projects
None yet
2 participants
@robacarp

robacarp commented Oct 2, 2012

I'm not sure if this is macvim listening in a way it shouldn't or something, but I can window-hint focus into macvim, but not out of it.

I've just noticed that if I have a text area focused in this window, chrome, and I open window hints, any of the hints I target just fire through to the currently active window.

Maybe that means I'm misunderstanding the purpose of window hints...

@ghost ghost assigned jigish Oct 2, 2012

@jigish

This comment has been minimized.

Show comment
Hide comment
@jigish

jigish Oct 2, 2012

Owner

This is really interesting. I just tried to make sure on my machine and it seems to work fine. I'm currently running OS X 10.7.4 and the latest Slate (1.0.5). What versions are you running? Also, if you can consistently repro then it would be really helpful if you could open "Current Window Info" from the Slate menu screen cap the contents here (I need to make it selectable. keep forgetting to do that).

Owner

jigish commented Oct 2, 2012

This is really interesting. I just tried to make sure on my machine and it seems to work fine. I'm currently running OS X 10.7.4 and the latest Slate (1.0.5). What versions are you running? Also, if you can consistently repro then it would be really helpful if you could open "Current Window Info" from the Slate menu screen cap the contents here (I need to make it selectable. keep forgetting to do that).

@robacarp

This comment has been minimized.

Show comment
Hide comment
@robacarp

robacarp Oct 2, 2012

I'm on OSX 10.7.4 as well, and Slate 1.0.5. I've tried a few combinations, but even on this comment box it types text while the hints are up, then they just fade away.

Screen capped Current Window Info

Fun fact, the Current Window Info box went SWOD on me after the second time opening it... :-/

robacarp commented Oct 2, 2012

I'm on OSX 10.7.4 as well, and Slate 1.0.5. I've tried a few combinations, but even on this comment box it types text while the hints are up, then they just fade away.

Screen capped Current Window Info

Fun fact, the Current Window Info box went SWOD on me after the second time opening it... :-/

@jigish

This comment has been minimized.

Show comment
Hide comment
@jigish

jigish Oct 2, 2012

Owner

Sorry, one last thing. Can I get a copy of your .slate? I'll try it out on my machine and try to pinpoint the problem.

Owner

jigish commented Oct 2, 2012

Sorry, one last thing. Can I get a copy of your .slate? I'll try it out on my machine and try to pinpoint the problem.

@jigish

This comment has been minimized.

Show comment
Hide comment
@jigish

jigish Oct 2, 2012

Owner

wait, SWOD? really? I don't even think I have a spinning wheel =/

Owner

jigish commented Oct 2, 2012

wait, SWOD? really? I don't even think I have a spinning wheel =/

@robacarp

This comment has been minimized.

Show comment
Hide comment
@robacarp

robacarp Oct 2, 2012

Yep, no problem. Not much to it yet, heh:

# This is the default .slate file.
# If no ~/.slate file exists this is the file that will be used.

config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize

# Window Hints
bind esc:cmd hint

bind 0:cmd move screenSizeX/2;0 screenSizeX/2;(screenSizeY/9)*7
bind 9:cmd move 0;0 screenSizeX/2;(screenSizeY/9)*7
bind 6:cmd move screenSizeX/4;0 screenSizeX/2;(screenSizeY/9)*7
bind 1:cmd move 0;0 screenSizeX;screenSizeY
bind 2:cmd move 0;0 screenSizeX;screenSizeY*7/9

robacarp commented Oct 2, 2012

Yep, no problem. Not much to it yet, heh:

# This is the default .slate file.
# If no ~/.slate file exists this is the file that will be used.

config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize

# Window Hints
bind esc:cmd hint

bind 0:cmd move screenSizeX/2;0 screenSizeX/2;(screenSizeY/9)*7
bind 9:cmd move 0;0 screenSizeX/2;(screenSizeY/9)*7
bind 6:cmd move screenSizeX/4;0 screenSizeX/2;(screenSizeY/9)*7
bind 1:cmd move 0;0 screenSizeX;screenSizeY
bind 2:cmd move 0;0 screenSizeX;screenSizeY*7/9
@robacarp

This comment has been minimized.

Show comment
Hide comment
@robacarp

robacarp Oct 2, 2012

Yea, I can't get it to reproduce though. I just quit and restarted Slate. I've opened, resized, closed and skitched the Current Window Info several times...no idea what happened.

Looking in the console, I found something interesting, but I'm not sure if its related: https://gist.github.com/3821838

robacarp commented Oct 2, 2012

Yea, I can't get it to reproduce though. I just quit and restarted Slate. I've opened, resized, closed and skitched the Current Window Info several times...no idea what happened.

Looking in the console, I found something interesting, but I'm not sure if its related: https://gist.github.com/3821838

@jigish

This comment has been minimized.

Show comment
Hide comment
@jigish

jigish Oct 2, 2012

Owner

hmm. are you using dvorak by any chance? that is all that I can think of. I just tried your .slate file and it works fine for me :(

Owner

jigish commented Oct 2, 2012

hmm. are you using dvorak by any chance? that is all that I can think of. I just tried your .slate file and it works fine for me :(

@robacarp

This comment has been minimized.

Show comment
Hide comment
@robacarp

robacarp Oct 2, 2012

oooo, why yes I am. I didn't even think of that.

robacarp commented Oct 2, 2012

oooo, why yes I am. I didn't even think of that.

@robacarp robacarp closed this Oct 2, 2012

@robacarp

This comment has been minimized.

Show comment
Hide comment
@robacarp

robacarp Oct 2, 2012

Yea, that sorted it. Man, sorry for just blatantly wasting your time there.

robacarp commented Oct 2, 2012

Yea, that sorted it. Man, sorry for just blatantly wasting your time there.

@jigish

This comment has been minimized.

Show comment
Hide comment
@jigish

jigish Oct 2, 2012

Owner

No worries! Glad you solved it. Just want to make sure that the way you solved it was with config keyboardLayout dvorak.

Owner

jigish commented Oct 2, 2012

No worries! Glad you solved it. Just want to make sure that the way you solved it was with config keyboardLayout dvorak.

@robacarp

This comment has been minimized.

Show comment
Hide comment
@robacarp

robacarp Oct 2, 2012

Yep. I searched for dvorak in the Readme and was squared away right quick.

robacarp commented Oct 2, 2012

Yep. I searched for dvorak in the Readme and was squared away right quick.

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