Bug 437722 - Kirigami.SearchField triggers accept without user explicitly accepting it
Summary: Kirigami.SearchField triggers accept without user explicitly accepting it
Status: RESOLVED INTENTIONAL
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: Master
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-27 02:54 UTC by Janet Blackquill
Modified: 2023-07-25 16:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janet Blackquill 2021-05-27 02:54:47 UTC
In KF5 5.81, autoAccept was introduced on the SearchField, which spams the accepted signal as fast as the user types by default. This causes bugs/lag/breaking in applications that expect the text field with preset defaults to work like a text field.
Comment 1 Nate Graham 2021-05-27 15:32:44 UTC
For such applications, you can set autoAccept to false, no?
Comment 2 Nate Graham 2023-07-25 16:16:36 UTC
Answering my own question: yes you can.
Comment 3 Janet Blackquill 2023-07-25 16:25:41 UTC
This was mostly reported as a “you broke existing applications” rather than “this behaviour on its own is bad” but it’s obsolete now since KF6 and all.