quicksilver / Quicksilver

Quicksilver Project Source
http://qsapp.com
Apache License 2.0
2.73k stars 285 forks source link

[Bug]: Default action for applications and all text objects is Calculate #2963

Open greay opened 1 year ago

greay commented 1 year ago

Before submitting your bug report, please confirm you have completed the following steps

Bug description

in the latest Quicksilver, the default action for everything, even applications, is "Calculate". The rank for "Run" is 1 and the rank for "Calculate" is set to 4, so it's definitely jumping priority for some reason.

Steps to reproduce

  1. open quickilver
  2. start typing an application, e.g. "texted"
  3. See TextEdit pop up with "Calculate"

Expected behavior

Calculate should only show for numeric expressions

MacOS Version

macOS 13

Quicksilver Version

2.4.1 (4040)

Relevant Plugins

Calculator 2.3.5

Crash Logs or Spindump

No response

Screenshots

No response

Additional info

if I disable the Calculator plugin, (after a restart) the action is now defaulting to "Large Type"

Proggie commented 1 year ago

Happening to me too. Seems the "Launch" action is missing.

n8henrie commented 1 year ago

@greay Could you try running the debug version from here and see whether or not the unwanted behavior changes?

anths commented 12 months ago

Same; consistently observed on two systems on different macOS versions (13.5 and... something older, 11 I think?). That debug build does not seem to help.

apotek commented 12 months ago

Same issue here. Both my user accounts on Mac OS Ventura exhibit this behavior, as well as my account on a Mac OS Catalina laptop. Have used QSApp since its early releases. Calculate is not only the default action for me, but no other action can be selected. I am unable to open apps with QSApp. I type in "Sa" and Safari pops up, but the default action is Calculate and when I try to select a different action, I can't. Hitting return just gives a message like "Cannot calculate..."

Update: Reverting 2.3.0 fixes the issue and I am back in business.

eggdropsoap commented 12 months ago

For what it's worth, I can select other actions: If I summon Quicksilver and type sa (e.g. for Safari) tab op, the Open action replaces Calculate and I can launch programs. Other actions work that way too.

I only ever use full keyboard interaction with Quicksilver, so I'm not sure what mouse interactions are or aren't working. For example if I try to click on Calculate instead, it doesn't do anything useful, but I don't know if it's suppose to.

greay commented 12 months ago

Using the debug buld, and after re-enabling the Calculator plugin, I still get Calculate as the default action for everything.

Proggie commented 11 months ago

I fixed by going into the preferences and under Actions, I dragged the Open action above the Calculate action.

anths commented 11 months ago

Moving things in the Actions list didn't make any change for me, but I've found a workaround which does. If I select an application, I can tab over to the actions, hit down arrow to get the list, control-click on "Open", and select "Make default", it restores the expected behavior. It's important that you not type "O" or anything else to select for "Open" first, just find it in the list. This has survived restarts of Quicksilver.

Still a bug as it's not respecting what the Actions preference tells it (and is a regression from previous versions), but this workaround works for me.

n8henrie commented 11 months ago

@anths -- reordering actions seems to work fine here. Did you remember to relaunch quicksilver after changing the order?

MtnCat commented 8 months ago

Having the same issue--both on an earlier OS and still on Sonoma. Have reinstalled QS, have reordered actions (Calculate #20 now) and relaunched. Does not resolve the issue. Per some of the comments above, I have the ability to select the appropriate action but QS will not learn it--it defaults to calculate for everything, all the time. Missing all the power of QS if I have to select the action each time.

n8henrie commented 8 months ago

@MtnCat can you confirm QS version?

Can you give a concrete example with something that should be installed by default -- for example, "Safari" first tab defaults to "open"?

MtnCat commented 8 months ago

Hi—thanks for getting back to me.

QS 2.4.2

I’m often trying to open a file, so I type “Hours” which has learned what file I mean (that’s part of the full filename: HoursALR) and so it pops the correct file in the first frame. The associated action should be “Open” but instead it’s “Calculate”—and it never learns to be anything else. No matter what file I start to type in the first frame, the action I get is “calculate” —then I have to tab to that second frame and start to type the correct action and select it (so I can still access the correct action).

It used to remember that for Hours, I wanted to Open and so it would automatically populate HoursALR in the first frame and Open in the second frame and I could just hit enter.

Is that a clear enough description?

This also happens for applications, not just files, in the first frame. I type Chr…and it drops in Chrome, but the associated action is Calculate instead of Open.

However... if I start typing a URL in the first frame, it defaults the action to Open URL, which is correct (it doesn’t try to Calculate)

I have checked the actions in the QS settings—I moved Calculate to #20 on the list, far below Open…and relaunched QS. Doesn’t fix it.

LMK if you need other details.

Thanks! D.

On Jan 26, 2024, at 2:53 PM, Nathan Henrie @.***> wrote:

@MtnCat https://github.com/MtnCat can you confirm QS version?

Can you give a concrete example with something that should be installed by default -- for example, "Safari" first tab defaults to "open"?

— Reply to this email directly, view it on GitHub https://github.com/quicksilver/Quicksilver/issues/2963#issuecomment-1912798732, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFUJQVTO7YJEPGA2CFXJWP3YQQXVXAVCNFSM6AAAAAA45OQ73GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSG44TQNZTGI. You are receiving this because you were mentioned.

n8henrie commented 8 months ago

Try this:

This will lose your actions history unfortunately, but you can un-rename the file if it doesn't change work.

MtnCat commented 8 months ago

Looks like this has fixed it!!! Thank you so much.

On Jan 26, 2024, at 3:26 PM, Nathan Henrie @.***> wrote:

Try this:

shut down QS Open a finder window to ~/Library/Application Support/Quicksilver Rename Actions.plist to Actions.plist.bak Restart QS and see if behavior changes This will lose your actions history unfortunately, but you can un-rename the file if it doesn't change work.

— Reply to this email directly, view it on GitHub https://github.com/quicksilver/Quicksilver/issues/2963#issuecomment-1912822642, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFUJQVR2Q6IKODHGI63YT23YQQ3RLAVCNFSM6AAAAAA45OQ73GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSHAZDENRUGI. You are receiving this because you were mentioned.

n8henrie commented 8 months ago

Excellent, glad to hear it. NateOn Jan 29, 2024, at 7:46 PM, MtnCat @.***> wrote: Looks like this has fixed it!!! Thank you so much.

On Jan 26, 2024, at 3:26 PM, Nathan Henrie @.***> wrote:

Try this:

shut down QS

Open a finder window to ~/Library/Application Support/Quicksilver

Rename Actions.plist to Actions.plist.bak

Restart QS and see if behavior changes

This will lose your actions history unfortunately, but you can un-rename the file if it doesn't change work.

Reply to this email directly, view it on GitHub https://github.com/quicksilver/Quicksilver/issues/2963#issuecomment-1912822642, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFUJQVR2Q6IKODHGI63YT23YQQ3RLAVCNFSM6AAAAAA45OQ73GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSHAZDENRUGI.

You are receiving this because you were mentioned.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>