This pull request fixes the No results found tooltip not being shown. It also adds the code needed to hide it based on the one used in the server.
Note, however, that is does not address the problems with that code (for example, if a search is started and while it is being performed the input field is cleared the tooltip would be still shown once the search response is received, even if the input field is now empty).
Probably not worth a backport, although it should be straightforward to do it.
How to test:
Open an album in the Gallery app
Show the Share dialog for the album
In the search field type the name of a user that does not exist
Expected result:
A No results found tooltip is shown for the input field; if the input field is emptied the tooltip goes away.
This pull request fixes the No results found tooltip not being shown. It also adds the code needed to hide it based on the one used in the server.
Note, however, that is does not address the problems with that code (for example, if a search is started and while it is being performed the input field is cleared the tooltip would be still shown once the search response is received, even if the input field is now empty).
Probably not worth a backport, although it should be straightforward to do it.
How to test:
Expected result: A No results found tooltip is shown for the input field; if the input field is emptied the tooltip goes away.
Actual result: No tooltip is shown.