Bug 394946

Summary: Delete key no longer works in articles list after using search - keyboard focus stays in search field
Product: [Applications] akregator Reporter: Alex Dănilă <alex.danila.web>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: jan.thomas.118+KDE
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 5.11.1
Sentry Crash Report:

Description Alex Dănilă 2018-06-02 10:27:37 UTC
After typing into the „Search articles” field, the keyboard focus seems to remain there, so the delete key won't delete articles anymore.

Steps:
1. select an article in the articles list and press delete, notice it is deleted
2. click and type a text in the search field, then clear the text
3. click an article in the articles list
4. press delete and notice nothing happens; right click will still work

5. click in the article contents area and press the delete key, notice that now delete works.


Akregator 5.7.3
Comment 1 Laurent Montel 2019-04-18 11:33:03 UTC
Git commit 49b55ffb92c28ed20eb2e20514dbf6dfe490a946 by Laurent Montel.
Committed on 18/04/2019 at 11:31.
Pushed by mlaurent into branch 'Applications/19.04'.

Fix Bug 394946 - Delete key no longer works in articles list after using search - keyboard focus stays in search field

FIXED-IN: 5.11.1

Now we can use "ESCAPE" key to force lost focus. When you press on it
it will give the focus to treelist. So you can use keyboard for
navagating in list. (delete item etc.)

M  +6    -0    src/mainwidget.cpp
M  +1    -0    src/mainwidget.h
M  +1    -0    src/widgets/searchbar.cpp
M  +1    -0    src/widgets/searchbar.h
M  +10   -0    src/widgets/statussearchline.cpp
M  +4    -0    src/widgets/statussearchline.h

https://commits.kde.org/akregator/49b55ffb92c28ed20eb2e20514dbf6dfe490a946
Comment 2 Wolfgang Bauer 2019-05-23 19:17:08 UTC
*** Bug 407876 has been marked as a duplicate of this bug. ***