Skip to content

applets/clipboard: Don't delete any item when the search field has focus

Fushan Wen requested to merge work/fusionfuture/BUG448739-search-field-del into master

applets/clipboard: Don't delete any item when the search field has focus

The behavior may cause unexpected results when the user spam press Del in order to delete all characters in the search field, and find that all items in the list are deleted.

It also causes pressing Del in the search field not deleting the fully selected text.

BUG: 448738 BUG: 448739

applets/clipboard: Make Up/Down arrow keys work in ClipboardPage

ListView will absorb the key events, so Keys.onPressed in ClipboardPage will not receive the event. Instead we should connect those key events to arrowKeyPressed().

BUG: 448811

Peek_2022-01-20_17-23

applets/clipboard: Focus on the search field for the first time opening the applet

So Up/Down key can navigate the list items instead of scrolling in the ListView.

CCBUG: 448811

Edited by Fushan Wen

Merge request reports

Loading