Bug 471138 - Search results' list still being shown after the result is chosen
Summary: Search results' list still being shown after the result is chosen
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-17 06:17 UTC by KDamian
Modified: 2023-10-02 16:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Search results not disappearing after selecting KDE's account from search results. (256.62 KB, image/png)
2023-06-17 06:17 UTC, KDamian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KDamian 2023-06-17 06:17:24 UTC
Created attachment 159730 [details]
Search results not disappearing after selecting KDE's account from search results.

SUMMARY
***
(I am not sure if this is the right place, or should maybe be opened for Kirigami?)

I am not sure if this is intended behaviour, but anyway - search list in Tokodon does not hide automatically after the result we want to go to is selected and given page is opened, it stays open until manually closed (by either ESC or cleaning the search field).

***


STEPS TO REPRODUCE
1. Open Tokodon
2. Search for something in Search field.
3. Press Enter to start the search.
4. (after results are shown) Select the page you want to see.

OBSERVED RESULT
Selected page opens, but the results' list is still shown, does not hide automatically and needs to be manually closed.

EXPECTED RESULT
Search results should automatically disappear after the selection is done and selected page is open.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.3.7-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-2520M CPU @ 2.50GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000
Manufacturer: Hewlett-Packard
Product Name: HP EliteBook 8460p
System Version: A0001D02

Tokodon:

 Azonosító: org.kde.tokodon
      Hivatkozás: app/org.kde.tokodon/x86_64/stable
    Architektúra: x86_64
              Ág: stable
         Version: 23.04.2
         License: GPL-3.0
          Eredet: flathub
      Collection: org.flathub.Stable
    Installation: system
       Installed: 2,0 MB
Futtatókörnyezet: org.kde.Platform/x86_64/5.15-22.08
             Sdk: org.kde.Sdk/x86_64/5.15-22.08

          Kommit: 7def5d3d0283838e97a82ef412a4901b316bb2e8acb84bf2f1465643c441dafc
           Szülő: fb8eefa79ec772a25d54ae1a36aad86e07bcdae4a47ae22c092a800ca40b0cce
           Tárgy: Update v0.14.0.tar.gz to 0.14.1 (dbcb1993)
           Dátum: 2023-06-12 18:36:09 +0000


ADDITIONAL INFORMATION

Thanks for making Tokodon, that's my preferred way to use Mastodon! :)
Comment 1 Joshua Goins 2023-10-02 16:54:46 UTC
Git commit 052397605463354ab1df5aaf925ffccc0efcf4dc by Joshua Goins.
Committed on 02/10/2023 at 18:54.
Pushed by redstrate into branch 'master'.

Close SearchFieldPopup if an item is selected

Only affects desktop, where the popup field is used.

M  +1    -0    src/content/ui/SearchField.qml
M  +10   -2    src/content/ui/SearchView.qml

https://invent.kde.org/network/tokodon/-/commit/052397605463354ab1df5aaf925ffccc0efcf4dc