Skip to content
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

[Bug]: Catalog items incorrectly showing as empty, requiring manual rescanning #3009

Open
3 tasks done
siracusa opened this issue May 30, 2024 · 22 comments
Open
3 tasks done
Assignees

Comments

@siracusa
Copy link

siracusa commented May 30, 2024

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

Bug description

For the past several months, Quicksilver sometimes decides not to scan many of the items in the Catalog. It usually manifests like this:

  1. Log in to an account that has Quicksilver configured to launch on login.
  2. Some time later, activate Quicksilver and type something (e.g., "Calc…") to try to launch an app.
  3. Be surprised when Quicksilver does not offer a match for what you typed, even after you type out the whole thing ("Calculator") and hit the down arrow to look through all possible matches.
  4. Open Quicksilver preferences and look in the Catalog tab. Notice that the Catalog items where you expected to find the desired app (e.g., items in the Applications section of the Catalog) have no numbers next to them, indicating that they have found no items.
  5. Select each item in the Catalog and then click the "Rescan source" spinning-arrow button in the lower-right corner of the window. Notice that it suddenly finds many items, adding a number in a gray pill-shaped badge next to the Catalog item.
  6. Repeat for every item in the Catalog that has no number-in-a-pill next to it.
  7. Now, finally, Quicksilver can find the expected items.

I tried changing the "Rescan" setting to every possible choice ("Manually," "Every day," "Every 10 minutes," etc.) with no change in behavior.

I think sometimes it even reverts to having no items in many of its Catalog entries even after I've manually fixed it!

Needless to say, this is making Quicksilver quite frustrating to use.

Steps to reproduce

  1. Log in to an account that has Quicksilver configured to launch on login.
  2. Some time later, activate Quicksilver and type something (e.g., "Calc…") to try to launch an app.

Expected behavior

The desired app (e.g., Calculator) is found.

MacOS Version

macOS 14.5 (23F79) (But it has been happening for months on earlier versions of Sonoma.)

Quicksilver Version

2.4.2 (4041)

Relevant Plugins

No response

Crash Logs or Spindump

No response

Screenshots

No response

Additional info

No response

@n8henrie
Copy link
Member

Thanks for the report -- there are other similar reports and this is a priority bug, I've just been tied up trying to sort out the crashes in QSProcessMonitor first.

Will try to hunt this down as soon as I can!

@n8henrie
Copy link
Member

n8henrie commented Jun 8, 2024

I'm not currently able to reproduce this, either with a debug build from master or with the 2.4.2 release. All my catalog entries either have a pill with the expected number of entries (or at least the number remains the same after a manual rescan) or if they are missing a pill, there is still none after a rescan (suggesting it is truly empty).

It makes me wonder:

  • Could your ~/Library/Application Support/Quicksilver/Catalog.plist have become corrupted somehow?
    • Consider shutting down QS, renaming this file, restart, and see if behavior changes -- especially WRT catalog items that should be indexed by default (e.g. your example of Calculator.app)
  • Perhaps your catalog is not actually being scanned / rescanned for some reason?
    • defaults read com.blacktree.Quicksilver QSCatalogRescanFrequency should give you some meaningful info to make sure the value is getting updated
      • The default of 10 minutes gives a missing value
      • Manually gives a -1
    • If you run the Force Catalog Rescan action (via QS), does manually rescanning everything in this way pick up the missing items?

@siracusa
Copy link
Author

siracusa commented Jun 8, 2024

I'll try these fixes when I get back to my Mac, but I will note that I'm seeing this on two different user accounts on two different Macs.

@n8henrie
Copy link
Member

configured to launch on login

I notice you specify this (twice) -- if you do not have it launch at login, but instead manually start QS, do you see the same behavior? Just curious.

@siracusa
Copy link
Author

OK, I'm finally back at my Mac. I removed my Catalog.plist file and the app created a new one, which I've populated. My com.blacktree.Quicksilver QSCatalogRescanFrequency is currently set to 1440. I'll let you know if I see the problem again.

@siracusa
Copy link
Author

I just restarted my Mac, and I saw the problem again. This is after entirely deleting my Catalog.plist file, as noted above. Here's a screenshot of my catalog with missing numbers next to catalog items just after logging in.
Screenshot 2024-06-14 at 12 10 29 PM

I will now change Quicksilver to not launch on login to see if that has any effect.

@punkhop
Copy link

punkhop commented Jun 18, 2024

Same for me with #3006. Custom catalog requiring re-scan after each system reboot.

@siracusa
Copy link
Author

Here's a recent crash log that seemingly happened during a catalog scan.
quicksilver-scanning-crash.txt

@n8henrie
Copy link
Member

@siracusa Interesting, thank you for the crash log. I assume that the whole of QS crashed (not just some kind of silent crash of a background thread)?

@siracusa
Copy link
Author

Yes, Quicksilver was no longer running after that crash.

@siracusa
Copy link
Author

Here's another crash that may or may not be related to the earlier one. As before, Quicksilver is no longer running after this crash.
quicksilver-crash-2.txt

@siracusa
Copy link
Author

I will now change Quicksilver to not launch on login to see if that has any effect.

I manually launched Quicksilver shortly after logging in, and I saw the same bug: items in the Catalog with no numbers next to them. I had to manually scan them to get the expected items into the Catalog and available in Quicksilver.

@punkhop
Copy link

punkhop commented Jun 30, 2024

I installed the debug version. It's now crashing on startup half the time, and needing manual rescan the other half. How do I send the crashlog you need?

@n8henrie
Copy link
Member

Posting them in this thread would be great.

@punkhop
Copy link

punkhop commented Jun 30, 2024

Are these the right logs?
qslogs.zip

@punkhop
Copy link

punkhop commented Jul 1, 2024

Crashing every startup, and also asking for Accessibility every time, even though it has permission.

@n8henrie
Copy link
Member

n8henrie commented Jul 1, 2024

For the accessibility issue, you likely need to remove QS from accessibility permissions and then re-add it.

@punkhop
Copy link

punkhop commented Jul 11, 2024

Have done that a bunch of times.

@n8henrie
Copy link
Member

@punkhop -- I'm not sure why the debug version is crashing on startup. Based on those crash logs, it's a separate issue.

Would you please:

  1. start a separate issue
  2. attach those crash logs
  3. Try starting Quicksilver from Terminal.app with the QSDebugStartup flag and post your results:
$ QSDebugStartup=1 /path/to/Quicksilver.app/Contents/MacOS/Quicksilver

@punkhop
Copy link

punkhop commented Jul 25, 2024

Any update on this, or the debug version crashing issue?

@punkhop
Copy link

punkhop commented Sep 13, 2024

@n8henrie ? Been fighting with this for ~6 months and haven't been able to use QS at all. Crashing on startup, required manually rescan, etc.

@n8henrie
Copy link
Member

@punkhop -- Sorry, in the middle of moving the family. Likely to have more time to work on QS in Jan 2025.

Pull requests and contributions would be accepted (with gratitude). See also: #2990 (comment)

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

No branches or pull requests

3 participants