Skip to content

Conversation

@taooceros
Copy link
Member

@taooceros taooceros commented Sep 19, 2022

The error may happen when user set an action keyword to plugin indicator, in which the query may have empty Search and empty SearchTerms.

fix #1371

@taooceros taooceros marked this pull request as ready for review September 19, 2022 20:48
@taooceros taooceros changed the title #1371 Use Search instead of SearchTerm[0] in PluginIndicator Sep 21, 2022
@jjw24
Copy link
Member

jjw24 commented Sep 27, 2022

query.SearchTerms[0] is looking for keyword, does Search also contain action keyword?

@taooceros
Copy link
Member Author

SearchTerm[0] won't contain actionkeyword (it is not supposed to). That's why it is possible to have empty SearchTerm.

@jjw24 jjw24 merged commit 7050c04 into dev Sep 27, 2022
@jjw24 jjw24 deleted the issue_1371 branch September 27, 2022 22:30
@jjw24 jjw24 added the bug Something isn't working label Sep 27, 2022
@jjw24 jjw24 added this to the 1.9.5 milestone Sep 27, 2022
@jjw24 jjw24 mentioned this pull request Sep 27, 2022
jjw24 added a commit that referenced this pull request Sep 27, 2022
Use Search instead of SearchTerm[0] in PluginIndicator
jjw24 added a commit that referenced this pull request Sep 27, 2022
* Merge pull request #1061 from Flow-Launcher/remove_winget_ci

* Merge pull request #991 from Flow-Launcher/context_menu_plugin_site

* Merge pull request #1080 from gissehel/caret-position-fix

* Caret position fix : Include PR #1074

* Merge pull request #1283 from nachmore/dev

* Merge pull request #1296 from nachmore/bug_1284

* Merge pull request #1294 from Flow-Launcher/pluginInfoMultipleActionKeyword

* Merge pull request #1299 from nachmore/bug_1269

* Plugin Exception Draft (#1147)

* Merge pull request #1355 from onesounds/LimitWidth

* Merge pull request #1088 from Flow-Launcher/add_spanish_latin_america

* Merge pull request #1387 from Flow-Launcher/fix_exception_duplicate_url_opening

* Merge pull request #1390 from Flow-Launcher/issue_1371

* Merge pull request #1391 from Flow-Launcher/issue_1366
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

idk, flow launcher got an error(?)

3 participants