-
Notifications
You must be signed in to change notification settings - Fork 285
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 Trigger" has no Effect #515
Comments
Interesting. I didn’t even know about this one. When I run it, I get a new empty trigger (which is better but still broken). I’m using the latest master, which includes a ton of trigger fixes, so maybe that’s why. I’ll look into this. |
Confirmed. Like Rob, I didn't even know this existed! Rob's on the job (ß62 me thinks Rob...?) |
So I won’t forget what I’ve found so far: The debugger seems to think the direct object passed to |
Wow. I've kept checking for it on each update thinking it must've been a de-prioritized feature. Glad I finally spoke up! As far as creating empty Triggers go, I've also had that behavior throughout my recollection. As a matter of fact, a whole bunch of them appeared this morning. |
More notes… It looks like the problem is in the call to |
Can anybody else reproduce a crash if you a) Launch QS There's a crash when loading the prefs - the loading of the webkitview is not being done on the main thread. |
When I was in the debugger, I saw some messages on the console related to WebKit and it would stop execution, but it didn’t appear to have crashed. I couldn’t nail down what made it happen, but I think you’re right that it’s when you don’t open the prefs at all. Running a “Release” build, I don’t get a crash. I just get the empty trigger. |
This has me completely stumped as well. In the call to [[QSTriggerCenter sharedInstance] addTrigger:trigger]; QSCommand.m:139 the trigger gets added to the triggers dictionary, but is null. :/ |
I know the indirectObject part of this is my "fault" : I wanted to be able to specify a Trigger type before showing the Trigger pref pane. But I found it klunky because I don't think that's a nice enough way of doing it. You can freely drop the indirect stuff (unless you want to actually implement it, but I'm not sure that's the way to go...) if that's cleans your mind, but here are some "implementation thoughts" on creating QS through its main interface. The best way to handle this IMHO is to add an action for every trigger type (new actions in trigger plugins that means), which would take an encapsulated command as its direct object and a trigger-specific thing for its indirect object. Example: But then you would have to change the text entry stuff to handle modifiers (or try to provide reasonable defaults, but we're messing with globally-defined system hotkeys...). A way to alleviate that would be to drop the indirect object and bring up the Trigger pref pane with the newly created trigger selected. Then implement "Create mouse trigger" and have its indirect object resolve to things like Top Border, Top-Left Corner, ... My 2 cents ;-) |
I’ve followed it further down that that. I wonder if |
To clarify, the line is executed, but when I try to “step into”, it just goes to the next line as though I did “step over”. |
Yeah, I was going to look into that more after we got it working. My 2 cents:
I was thinking we keep the single action as is and then the indirect object could be used to select between hotkey, mouse, etc. But you never know how well it’ll work until you try, so I’m not committed to any one idea. |
All else being equal, I'm sure many would agree that the option involving the least keystrokes would be preferred. This feature is essentially a shortcut, after all... |
(QS B61, Snow Leopard 10.6.8)
Using the "Add Trigger" action after pressing control + enter during a Quicksilver invocation opens the third pane in text mode.
Regardless of whether the third pane is left empty or contains text when then enter key is pressed, nothing appears to change Quicksilver's Triggers list.
The text was updated successfully, but these errors were encountered: