Jump to content

Script filter items without uid are erroneously being sorted to top when actioned if arg doesn't have a space after it [Fixed 4.6.4 b1289 pre-release]


luckman212
 Share

Recommended Posts

  • macOS 12.2.1
  • Alfred 4.6.3 [1284]

 

Here's an example Workflow to illustrate the (bug?)

https://github.com/luckman212/alfred_bugs/blob/main/uid test.alfredworkflow.zip?raw=true

 

Type "uid x" to invoke it, then try actioning the 2nd or 3rd item (they are all set to valid: false).

 

Now, if you type "uid x " (note extra space at the end!) the items maintain the correct sort order. 

 

Here's a video... 

https://user-images.githubusercontent.com/1992842/153678417-f6c2174b-f936-43d9-8193-e33f5ba3eb0b.mp4

 

screen.thumb.png.d1c7044c90949b0c210ff454844a7f12.png

Edited by luckman212
Link to comment
Share on other sites

  • Andrew changed the title to Script filter items without uid are erroneously being sorted to top when actioned if arg doesn't have a space after it [Fixed 4.6.4 b1289 pre-release]
  • 1 month later...

Sorry, this fix is going to have to be rolled back as it breaks a fundamental part of latching results within Alfred. Placeholders (e.g. filter inputs which yet to have an argument typed) are treated in the same way, so they no longer get filtered to the top on keyword latching.

 

I will add a ticket for a more considered fix in the future.

 

Cheers,

Andrew

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...