You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most easily reproduced with the Calculator module.
Expected default behavior:
invoke QS
type = to get text input
enter valid expression
type ↩ to perform calculation
bezel remains displayed with result in first pane
(6. result is available for other QS actions i.e. ⌘C copies result
to clipboard)
Current default behavior:
invoke QS
type = to get text input
enter valid expression
type ↩ to perform calculation
bezel disappears
user must invoke QS again to see result
This also happens with the various “Get XYZ URL” actions in the Remote Hosts module, but only if you call it as an alternate action via ⌘↩. If you run those actions directly, the interface is redisplayed correctly.
The text was updated successfully, but these errors were encountered:
the calculator works as how you'd expect it to work up until step 5 with this fix: 39e4880
it should probably select the first pane as well, which would be step 6.
if ([action isKindOfClass:[QSRankedObject class]] && [(QSRankedObject *)action object])
Need to figure out what that’s testing for.
UPDATE: I guess I should have just looked at the commit you linked. :) Should it be more like this?
if (action) {
if ([action isKindOfClass:[QSRankedObject class]] && [(QSRankedObject *)action object]) {
QSAction* rankedAction = [(QSRankedObject *)action object];
if (rankedAction != action) {
[rankedAction retain];
[action release];
action = rankedAction;
}
}
if ([action displaysResult]) {
[self showMainWindow:self];
}
}
Since the showMainWindow is going to be unconditional, we should only have it in there once and this will make sure it runs after the rankedAction stuff like it does now (in case that matters). I’ll implement and test on my fork, but wanted your opinion.
Most easily reproduced with the Calculator module.
Expected default behavior:
(6. result is available for other QS actions i.e. ⌘C copies result
to clipboard)
Current default behavior:
This also happens with the various “Get XYZ URL” actions in the Remote Hosts module, but only if you call it as an alternate action via ⌘↩. If you run those actions directly, the interface is redisplayed correctly.
The text was updated successfully, but these errors were encountered: