Instant send

General discussions about LaunchBar
no-username
Rank 1
Rank 1
Posts: 36
Joined: Thu Mar 19, 2009 4:31 am

Re: Instant send

Postby no-username » Tue Jun 01, 2010 8:58 am

norbert wrote:We've identified a possible cause for this problem. It seems to be possible that Mac OS X wrongly reports a particular key as being pressed although it actually isn't.

When this problem occurs again, please open the Mac OS X Keyboard Viewer (which can be enabled in System Preferences > Language & Text > Input Sources) to check if there's any key shown as pressed, although it actually isn't.


Ok, this is happening now, as I type this. command-space, which is what I have set to invoke LaunchBar, works fine, it is how I got to the System Preference for Language & Text. Once there, I turned on the menu to I could bring forward the Mac OS X Keyboard Viewer.

With the Keyboard Viewer always floating on top, I can see exactly what keys are being pressed. I have "shift shift" (Double shift) set for my "Instant Send". Of the items on my desktop, I select one, and press shift twice to invoke instant send. I see the shift key activated in the keyboard viewer. So it seems that the correct keys are being pressed, and passed along. No LaunchBar action happens though.

I opened the LaunchBar prefs, and changed my instant send to single function key, which worked. I then put it back to double shift, which is now working again. So I am all set, working, but I have no idea how to fix this, other than to toggle the preferences from one instant sent keyboard action to another. And there is a chance that was a fluke, and I will not be able to rely on that as a way to get LaunchBar working again.

Thank you. If you have a release with the extra logging, I would be happy to run that and send the logs over.

no-username
Rank 1
Rank 1
Posts: 36
Joined: Thu Mar 19, 2009 4:31 am

Re: Instant send

Postby no-username » Fri Jun 11, 2010 4:27 am

I have this bug 100% reproducible. Does everyone affected also run Things? I would like to speak with a developer so we can track down whose bug this is. Forums are probably not the best place for this.

norbert
Objective Development
Objective Development
Posts: 648
Joined: Thu Nov 09, 2006 6:30 pm

Re: Instant send

Postby norbert » Fri Jun 11, 2010 8:28 am

no-username wrote:I have this bug 100% reproducible. Does everyone affected also run Things? I would like to speak with a developer so we can track down whose bug this is. Forums are probably not the best place for this.

Just contact us via http://www.obdev.at/launchbar/support.html. We have Things running here as well.

no-username
Rank 1
Rank 1
Posts: 36
Joined: Thu Mar 19, 2009 4:31 am

Re: Instant send

Postby no-username » Sun Jun 13, 2010 2:04 am

norbert wrote:
no-username wrote:I have this bug 100% reproducible. Does everyone affected also run Things? I would like to speak with a developer so we can track down whose bug this is. Forums are probably not the best place for this.

Just contact us via http://www.obdev.at/launchbar/support.html. We have Things running here as well.


Cool, thanks... And... Done.

norbert
Objective Development
Objective Development
Posts: 648
Joined: Thu Nov 09, 2006 6:30 pm

Re: Instant send

Postby norbert » Tue Jun 15, 2010 12:16 pm

no-username wrote:Does everyone affected also run Things?


It turns out, that this problem can also be traced back to the Mac OS X bug of reporting keys as pressed, although they aren't.

In this particular case, the problem can be triggered with Things' Show and autofill Quick Entry hotkey, which in turn simulates a ⌃⌥⇧⌘0 keypress in order to invoke the New To-do Containing Selection as Note command from the Services menu.

This simulated keypress seems to confuse the system in such a way that it considers the '0' key as being still pressed. And as a consequence, LaunchBar refuses to perform Instant Sent, because it gets another key reported as pressed, in addition to the tapped modifier key.

We are going to report this bug to Apple.

As a workaround, when you find Instant Send not working after using the Things hotkey, you just have to press the '0' key from the number row (not from the number pad). This will correct the system's wrong assumption that the '0' key is still pressed.

LagaV
Posts: 2
Joined: Sat Jun 19, 2010 12:13 pm

Re: Instant send

Postby LagaV » Sat Jun 19, 2010 12:17 pm

Same problem here. But Things is not the reason. I currently have the ^(below esc) and ´(below F10+F11) as being invoked.

Any thoughts which application this might trigger?

LagaV

om3ga777
Posts: 10
Joined: Mon Jun 01, 2009 11:08 pm

Re: Instant send

Postby om3ga777 » Mon Jul 19, 2010 11:51 am

Nope, Things is not _the_ problem (maybe it also causes problems, but sometimes InstaSend works when Things is running and I already hit its "fast input shortcut", and sometimes LB is the only running application and InstaSend just doesn't want to work).

If I remember correctly, the problems for me started to happen after the upgrade to 10.6 - a friend of mine reports the same thing, so I suppose LB is not entirely compatible (or 10.6 introduced some strange new bug).

Nevertheless this problem is _extremely_ annoying for me and I find myself using LB less and less because of this. I will definitely try Alfredapp's "Pro" functions in some weeks, as LB doesn't seem to make a lot of progress concerning this problem.

JC
Posts: 17
Joined: Tue Apr 08, 2008 12:57 pm

Re: Instant send

Postby JC » Wed Aug 18, 2010 8:53 pm

Any solution to this? I just bought LB 5, looking forward to instant send -- now it doesn't work :(

norbert
Objective Development
Objective Development
Posts: 648
Joined: Thu Nov 09, 2006 6:30 pm

Re: Instant send

Postby norbert » Mon Aug 30, 2010 4:57 pm

I'm glad to tell that we finally found a workaround for this nasty Mac OS X bug that caused Modifier Taps to fail under some circumstances.

This bug can easily be triggered by invoking a keyboard shortcut which in turn creates a simulated keypress. For example, take this simple AppleScript

Code: Select all

tell application "System Events"
   keystroke "c" using command down
end tell


and run it in AppleScript Editor by pressing Command-R.

These sort of nested keypresses obviously confused the system in such a way that it reports one of the involved keys as still pressed, although it has actually already been released. As a consequence, LaunchBar's modifier tap detection refused the tap, because a second key was wrongly assumed to be pressed in addition to the modifier key.

We now found a way to detect and eliminate those wrongly reported keypresses.

Check out our latest nightly build (v668), which already includes the workaround.

sjk
Wizard
Wizard
Posts: 315
Joined: Thu Sep 13, 2007 9:46 pm
Location: Eugene
Contact:

Re: Instant send

Postby sjk » Mon Aug 30, 2010 10:10 pm

norbert wrote:I'm glad to tell that we finally found a workaround for this nasty Mac OS X bug that caused Modifier Taps to fail under some circumstances.

Excellent! Thanks for following up with this.

bigcloits
Rank 2
Rank 2
Posts: 64
Joined: Mon Nov 24, 2008 4:28 pm

Re: Instant send

Postby bigcloits » Thu Oct 14, 2010 6:05 pm

I am a LB addict and recently installed Things. I was just on the brink of madness at the regular loss of my instant send. I made the connection with Things in the last half hour, but had little hope of a fix.

And then I found this thread!

Phew!


Return to “LaunchBar General”

Who is online

Users browsing this forum: No registered users and 1 guest