Bug 455345

Summary: Hidden search field contains 'Search' placeholder text after searching in GHNS windows
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED FIXED    
Severity: minor CC: alexander.lohnau, kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.95.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.99
Sentry Crash Report:

Description Patrick Silva 2022-06-15 16:16:07 UTC
STEPS TO REPRODUCE
1. open the GHNS window of the Global Themes KCM
2. start to type 'sweet' or another search term - the search is performed
3. click on the magnifier icon in the upper right corner

OBSERVED RESULT
the search field contains 'Search' placeholder text instead of the search term

EXPECTED RESULT
the search field should contain the search term

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.18.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-06-16 18:38:25 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2022-09-13 13:08:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knewstuff/-/merge_requests/207
Comment 3 Nate Graham 2022-09-13 15:38:03 UTC
Git commit 3538e95abf66b5a0c19f78bf087e75aded474c0e by Nate Graham, on behalf of Alexander Lohnau.
Committed on 13/09/2022 at 15:37.
Pushed by ngraham into branch 'master'.

Fix search fields resetting text when changing window size

Before this patch, the text would be reset when one resizes the KNS window and the search field
is rendered as an action, the text would be reset.

M  +1    -0    src/qtquick/qml/Page.qml

https://invent.kde.org/frameworks/knewstuff/commit/3538e95abf66b5a0c19f78bf087e75aded474c0e