alfred-devonthink icon indicating copy to clipboard operation
alfred-devonthink copied to clipboard

[BUG]: Flashing drop-down menu when searching

Open JoelAnderson-UU opened this issue 4 months ago • 10 comments

Whenever I try to start a search with this workflow, I get a flashing drop-down menu. This is true both on macOS Tahoe and Sequoia.

Here's what it looks like: https://www.icloud.com/iclouddrive/013jjxQCtl_8evWu3BGTRky3Q#CleanShot_2025-09-16_at_07.13

JoelAnderson-UU avatar Sep 16 '25 05:09 JoelAnderson-UU

Same thing occurred with me. Flashing so rapidly and I was unable to choose any items in the list. I deleted the workflow and re-installed. Will see if that behavior returns.

adukatz avatar Sep 17 '25 10:09 adukatz

This seems to have been resolved by reinstalling the workflow, using my own instructions (which I'd forgotten about!): https://www.alfredforum.com/topic/19935-devonthink-portal/#comment-108104

JoelAnderson-UU avatar Sep 17 '25 14:09 JoelAnderson-UU

Same thing occurred with me. Flashing so rapidly and I was unable to choose any items in the list. I deleted the workflow and re-installed. Will see if that behavior returns.

Removing and re-installing the workflow temporarily fixes the issue on my machine, but after a couple of days it always goes back to the erratic behaviour described by @JoelAnderson-UU . I keep a copy of the workflow in my downloads folder, just in case, but I hope this bug could be fixed.

bramadams avatar Sep 30 '25 17:09 bramadams

Same thing occurred with me. Flashing so rapidly and I was unable to choose any items in the list. I deleted the workflow and re-installed. Will see if that behavior returns.

Removing and re-installing the workflow temporarily fixes the issue on my machine, but after a couple of days it always goes back to the erratic behaviour described by @JoelAnderson-UU . I keep a copy of the workflow in my downloads folder, just in case, but I hope this bug could be fixed.

/same thing happens with me. it reverts back to the flashing behavior.

atdnorth avatar Sep 30 '25 17:09 atdnorth

On my machine, it helped to delete the cache in '~/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.zeitlings.devonthink.portal'

GunterBackes avatar Oct 28 '25 11:10 GunterBackes

@GunterBackes Thanks for this suggestion, I can confirm that this works! I've put the command in a bash script to more easily delete the cache when the plugin starts to act up again.

bramadams avatar Oct 29 '25 00:10 bramadams

Correction: That DOES solve it, if the whole folder is deleted.
~~Deleting that cache file has zero effect for me.~~

JoelAnderson-UU avatar Oct 30 '25 09:10 JoelAnderson-UU

@JoelAnderson-UU Did you try removing the entire folder (works for me), or just the cache file in it?

bramadams avatar Oct 30 '25 14:10 bramadams

Ah! That does the trick. Thanks @bramadams!

BTW: what's your bash script look like?

JoelAnderson-UU avatar Oct 30 '25 16:10 JoelAnderson-UU

You're welcome!

The bash script is pretty barebones (note the backslash before the space), but works:

#!/bin/bash

rm -Rf ~/Library/Caches/com.runningwithcrayons.Alfred/Workflow\ Data/com.zeitlings.devonthink.portal/

Also, the file needs executable permissions, e.g., using chmod 755 in a terminal.

bramadams avatar Oct 30 '25 16:10 bramadams