Open dennisschagt opened 2 years ago
Newsboat version: commit cc4a932251b68a3d45922e876b0a32c44dc6a333 (local master)
Config file:
define-filter "unread filter" "unread_count > 0"
Steps to reproduce the issue:
Enter a feed
Press f to switch to the filter selection screen
f
Press ENTER to select the pre-defined filter
ENTER
The screen keeps showing the filter selection dialog and newsboat no longer responds to key presses.
Other info you think is relevant:
The lock in question is the feed's item_lock. This is first taken by do_update_visible_items(), and then later in the call stack by unread_item_count().
item_lock
do_update_visible_items()
unread_item_count()
https://github.com/newsboat/newsboat/blob/cc4a932251b68a3d45922e876b0a32c44dc6a333/src/itemlistformaction.cpp#L924-L930
https://github.com/newsboat/newsboat/blob/cc4a932251b68a3d45922e876b0a32c44dc6a333/src/rssfeed.cpp#L82-L84
Newsboat version: commit cc4a932251b68a3d45922e876b0a32c44dc6a333 (local master)
Config file:
Steps to reproduce the issue:
Enter a feed
Press
f
to switch to the filter selection screenPress
ENTER
to select the pre-defined filterThe screen keeps showing the filter selection dialog and newsboat no longer responds to key presses.
Other info you think is relevant: