Bug 486107 - Window to install new widgets: Double search bar if opened in small window first and then increase window width
Summary: Window to install new widgets: Double search bar if opened in small window fi...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.4.0
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-25 11:55 UTC by postix
Modified: 2024-08-22 10:04 UTC (History)
5 users (show)

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


Attachments
Screenshot (282.47 KB, image/png)
2024-04-25 11:55 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-04-25 11:55:49 UTC
Created attachment 168893 [details]
Screenshot

STEPS TO REPRODUCE
1. Open the window to install new widgets for the panel
2. Make it small so that only the Magnifying glass is displayed
3. Clicked on it, type something
4. Make the window bigger by dragging on its right edge until
5. Type something into the original search field

OBSERVED RESULT
Two search fields are now displayed. Both search fields are updated.


EXPECTED RESULT
A single search field is shown

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-08-16 15:53:07 UTC
Can confirm. This is an issue in Kirigami.ActionToolBar; moving there.
Comment 2 Bug Janitor Service 2024-08-21 10:41:21 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1608
Comment 3 Arjen Hiemstra 2024-08-22 10:04:21 UTC
Git commit 24e137ae2bb7ea42a30a7ea2f6195230b3d303fe by Arjen Hiemstra.
Committed on 22/08/2024 at 10:00.
Pushed by ahiemstra into branch 'master'.

PrivateActionToolButton: Hide menu if button is hidden

If the menu is open when the button gets hidden, we'd end up with a menu
that doesn't have a corresponding button. So in that case, close the
menu.

This most prominently happens when ActionToolBar hides the corresponding
action because of space changes.

M  +7    -1    src/controls/private/PrivateActionToolButton.qml

https://invent.kde.org/frameworks/kirigami/-/commit/24e137ae2bb7ea42a30a7ea2f6195230b3d303fe