-
Notifications
You must be signed in to change notification settings - Fork 97
reload-all alters article pager #534
Comments
I have done some troubleshooting and determined that the call to Looking at the code, if I comment out |
Technically this is a duplicate of #223, but I"m going to keep both issues open because you"ve already made some progress here. Thanks for that, by the way!
I presume you"re now running a version with that line removed? If so, can you write back in a week or so to tell if you ran into any additional issues that went away if you bring the line back? Maybe that line is really useless and we can just drop it. |
Thanks for the reply and keeping this open. I did some searching for previous issues but the title of #223 didn"t lend itself to being detected by my keywords. That"s what I imagined I will continue to run with |
Or article list; or URL view; or tag view; or something else. Anything but article view, where the problem happens. It"d be hard to get this info in the I was also wrong saying this is a duplicate of #223. The other issue is concerned only with your second point, the one where rubbish like "4294967295 unread, 0 total" is shown. This is important, because I think these are two separate bugs. If I"m right, you"re going to see #223 even with Regarding your first point, the problem is probably that redraw doesn"t preserve the position in the dialog. Grep for "articleoffset" and see if you can make |
I"ve reverted my trial patch to be commenting out I will continue testing for ~1 week, and submit a patch if no problems arise. |
That"s interesting! What bug did you run into? Commenting out the whole method is rather harsh and doesn"t give us much information about what causes the problems. This three-line method actually packs a lot of actions, as you can imagine from the names of the methods it calls. To be clear: I don"t suggest commenting out |
The bug I saw related to item 1: If the pager has been scrolled, the pager is reset after reload-all has completed (but because it doesn"t redraw, the reset occurs when something like "next line" is pressed). Uncommenting the whole method does sound harsh, but upon testing, the screen is still redrawn with updated "new" items when viewing the feed list. I will continue testing. |
I am happy with my code changes, I don"t think they create further bugs. Am happy to have further testing occur before release though. What is the process for branch creation? (Do I fork, create my own branch & merge request, or can I push new branches to this repo? Is there a naming convention?) |
You fork, create your branch and send a pull request. Branch name doesn"t matter as Git won"t preserve it after merge. I still don"t know what solution you"re proposing and what problem, exactly, does it solve, but let"s see the code—we"ll figure it all out during review. |
It finally occurred to me to take a look at Git blame for src/controller.cpp, and sure enough, I found a commit that introduced that damned |
Newsboat now depends on lang/rust to build. For those who prefer an older (rust independent) version, newsboat-2.13 is available as wip/newsboat213. * Changes for Newsboat ** 2.14 - 2018-12-29 Lists below only mention user-visible changes, but I would also like to acknowledge contributions from the following people: Paul Woolcock, Raphael Nestler, Thanga Ayyanar A. *** Added - Dependency on Rust 1.25+. The compiler (`rustc`) and the build tool (`cargo`) are required - `download-filename-format` setting that controls how Podboat names the files. Default is the same as older versions of Podboat (Jagannathan Tiruvallur Eachambadi) - `podlist-format` setting that controls formatting of the items on Podboat"s main screen. Also, a `%b` format specifier that contains just the basename of the download (e.g. "podcast.mp3" instead of "/home/name/podcast.mp3") (zaowen) - Human-readable message when Rust code panics (Alexander Batischev) - `unbind-key -a`, which unbinds all keys (Kamil Wsół) *** Changed - Look up `BROWSER` environment variable before defaulting to lynx(1) (Kamil Wsół) (#283) - Strip query parameters from downloaded podcasts" names (i.e. name them as "podcast.mp3", not "podcast.mp3?key=19ad740") (Jagannathan Tiruvallur Eachambadi) - Update translations: Russian, Ukrainian (Alexander Batischev), German (Lysander Trischler) - Document that minimum supported CURL version is 7.21.6. This has been the case since 2.10, but wasn"t documented at the time (Alexander Batischev) - Update vendored version of nlohmann/json to 3.4.0 - Update vendored version of Catch2 to 2.5.0 *** Fixed - HTTP response 400 errors with Inoreader (Erik Li) (#175) - Podboat"s crash (segmentation fault) when parsing a comment in the queue file. Comments aren"t really supported by Podboat since it overwrites the file from time to time, but the crash is still unacceptable (Nikos Tsipinakis) - Newsboat displaying articles differently in "internal" and external pagers (Alexander Batischev) - One-paragraph items not rendered at all (Alexander Batischev) - Crash (segmentation fault) on feeds that don"t provide a `url` attribute (ksunden) - Hangs when `highlight` rule matches an empty string (zaowen) - Article disappearing from the pager upon feed reload (zaowen) (akrennmair/newsbeuter#534)
Newsbeuter version (copy from
newsbeuter -v
):newsbeuter 2.10-f8db
System: Darwin 16.5.0 (x86_64)
Compiler: g++ 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)
ncurses: ncurses 5.7.20081102 (compiled with 5.7)
libcurl: libcurl/7.51.0 SecureTransport zlib/1.2.8 (compiled with 7.49.1)
SQLite: 3.18.0 (compiled with 3.18.0)
libxml2: compiled with 2.9.4
Steps to reproduce the issue:
The text was updated successfully, but these errors were encountered: