preferences: Fix search term on open via menu#9932
Conversation
vince-fugnitto
left a comment
There was a problem hiding this comment.
@msujew I confirmed that it fixes the issue with the preferences, however I believe it introduces a regression in the following use-case:
pull-request:
context-menu-regression.mp4
master:
menu-master.mp4
Very timely: there's the legitimate use case for it (maybe - I'm not sure that's how the menu should work...). |
Ah, as I thought we rely somewhere on that undocumented behavior. :/ Alright, I'll look for a more localized fix for this issue. |
ae01127 to
c1cef27
Compare
colin-grant-work
left a comment
There was a problem hiding this comment.
This solves the problem nicely, and definitely looks like a safer approach. 👍
vince-fugnitto
left a comment
There was a problem hiding this comment.
I confirmed that the change fixes the issue on master 👍
It is also self-contained and does not cause any regressions.
What it does
Closes #9931
Fixes the issue by simply checking for the string type before passing the argument into the search term.
How to test
Review checklist
Reminder for reviewers