newsboat 2.20.1:
Config file (copy from ~/.newsboat/config or ~/.config/newsboat/config):
show-read-feeds no
Steps to reproduce the issue:
have at least two feed "A" and "B", both with unread items
open feed "A" and mark read all items
quit, feed "A" will correctly disappear (as per the instructions in the above config file)
now open next feed "B", which will have been automatically selected. Feed "A" will open instead
Reminds me of https://github.com/newsboat/newsboat/issues/72 which was caused by a bug in a library we use (stfl).
Which version of (lib)stfl are you using?
I believe you're right, looks like it's the same bug. Sorry for duplicating the issue, I must have not searched thoroughly enough.
I'm usind stfl version 0.24
Sorry for duplicating the issue, I must have not searched thoroughly enough.
No problem, especially because the referenced bug is closed (so you won't find it unless you also search through closed issues).
I created a patch for stfl which fixes this issue.
I'm not sure it will ever get included in the official stfl svn repository (no reaction at all on the stfl mailing list. I've created a fork on github to keep track of my own patches).
We might be able to create a fix in Newsboat itself to work around the stfl bug.
However, I don't think it is worth it.
It will probably be a lot of work and we are planning to get rid of the dependency on stfl anyway (https://github.com/newsboat/newsboat/issues/232).
We might be able to create a fix in Newsboat itself to work around the stfl bug.
However, I don't think it is worth it.
It will probably be a lot of work and we are planning to get rid of the dependency on stfl anyway (#232).
Thinking about this a bit more, I realized that our future stfl replacement probably won't have a feature like stfl's "pos_name" anyway.
For that reason, I removed our usage of it in PR https://github.com/newsboat/newsboat/pull/1132.
I expect that will fix this bug (I still need to verify).