nilsbraden / ttrss-reader-fork

An Android-Client for the self-hosted Tiny Tiny RSS feedreader
https://www.nilsbraden.de/TTRSS-Reader/
149 stars 40 forks source link

White page instead of article list #428

Open rdorsch opened 3 years ago

rdorsch commented 3 years ago

Many thanks for providing the excellent ttrss-reader :+1:

After the upgrade to 1.96.1 the list of article gets downloaded, but when I select a feed, instead of a list of articles, I get an entirely white page with no content at all.

Here is the logcat entry:

10-15 20:25:15.265   632   632 D Zygote  : Forked child process 5914
10-15 20:25:15.267   956  1120 I ActivityManager: Start proc 5914:org.ttrssreader/u0a280 for activity {org.ttrssreader/org.ttrssreader.gui.CategoryActivity}
10-15 20:25:15.294  5914  5914 E org.ttrssreade: Not starting debugger since process cannot load the jdwp agent.
10-15 20:25:15.435  5914  5938 I a       : initialize SSL: Normal certificate-checks
10-15 20:25:15.442  5914  5938 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
10-15 20:25:15.457  5914  5914 I j       : Error reporting disabled, invalid installation.
10-15 20:25:15.512  5914  5914 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:25:15.531  5914  5914 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:25:15.594  5914  5940 I Adreno  : QUALCOMM build                   : 4a00b69, I4e7e888065
10-15 20:25:15.594  5914  5940 I Adreno  : Build Date                       : 04/09/19
10-15 20:25:15.594  5914  5940 I Adreno  : OpenGL ES Shader Compiler Version: EV031.26.06.00
10-15 20:25:15.594  5914  5940 I Adreno  : Local Branch                     : mybranche95ae4c8-d77f-f18d-a9ef-1458d0b52ae8
10-15 20:25:15.594  5914  5940 I Adreno  : Remote Branch                    : quic/gfx-adreno.lnx.1.0
10-15 20:25:15.594  5914  5940 I Adreno  : Remote Branch                    : NONE
10-15 20:25:15.594  5914  5940 I Adreno  : Reconstruct Branch               : NOTHING
10-15 20:25:15.594  5914  5940 I Adreno  : Build Config                     : S L 8.0.5 AArch64
10-15 20:25:15.598  5914  5940 I Adreno  : PFP: 0x005ff110, ME: 0x005ff066
10-15 20:25:15.628  5914  5940 W Gralloc3: mapper 3.x is not supported
10-15 20:25:15.767  5914  5938 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:25:15.821  5914  5938 D d       : Syncing Status took 54ms
10-15 20:25:15.834  5914  5938 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:25:15.855  5914  5938 D c       : Filter-Size: 335 Selection: _id >= 0 AND isUnread>0
10-15 20:25:15.892  5914  5938 I d       : {"op":"login","user":"rd"}
10-15 20:25:16.639  5914  5938 D d       : internalLogin: 784ms
10-15 20:25:16.662  5914  5938 I d       : {"op":"getHeadlines","show_content":"1","view_mode":"unread","limit":"200","skip":"0","include_attachments":"1","feed_id":"-4","is_cat":"1"}
10-15 20:25:18.669  5914  5938 I d       : {"op":"getHeadlines","show_content":"1","view_mode":"unread","limit":"200","skip":"200","include_attachments":"1","feed_id":"-4","is_cat":"1"}
10-15 20:25:19.674  5914  5938 D d       : getHeadlines: 3819ms
10-15 20:25:19.679  5914  5938 I d       : {"op":"getHeadlines","show_content":"1","view_mode":"all_articles","limit":"200","skip":"0","since_id":"11455","include_attachments":"1","feed_id":"-4","is_cat":"1"}
10-15 20:25:19.804  5914  5938 D d       : getHeadlines: 128ms
10-15 20:25:19.851  5914  5938 D b       : Query in getRemoteFilesForArticles took 47ms... (remotefiles: 0)
10-15 20:25:19.915  5914  5938 D b       : purgeLastArticles took 111ms
10-15 20:25:19.928  5914  5938 D d       : Amount of unread articles: 338
10-15 20:25:20.002  5914  5938 D d       : cacheArticles() Took: 4168ms
10-15 20:25:20.091  5914  5938 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:25:20.091  5914  5938 I d       : {"op":"getCategories"}
10-15 20:25:20.227  5914  5938 D d       : getCategories: 136ms
10-15 20:25:20.251  5914  5938 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:25:20.255  5914  5938 I d       : {"op":"getFeeds","cat_id":"-4"}
10-15 20:25:20.531  5914  5938 D d       : getFeeds: 280ms
10-15 20:25:20.657  5914  5938 I b       : Recalculated counters, total unread: 337 (took 92ms)
10-15 20:25:23.219  5914  5938 D l       : Downloaded 1466 bytes as feed icon from https://ttr.d5x.de/feed-icons/59.ico
10-15 20:25:23.359  5914  5938 D l       : Downloaded 1466 bytes as feed icon from https://ttr.d5x.de/feed-icons/60.ico
10-15 20:25:23.560  5914  5938 D l       : Downloaded 1466 bytes as feed icon from https://ttr.d5x.de/feed-icons/58.ico
10-15 20:25:23.785  5914  5938 D l       : Downloaded 1466 bytes as feed icon from https://ttr.d5x.de/feed-icons/62.ico
10-15 20:25:23.958  5914  5938 D l       : Downloaded 1466 bytes as feed icon from https://ttr.d5x.de/feed-icons/61.ico
10-15 20:25:24.186  5914  5938 D l       : Downloaded 1466 bytes as feed icon from https://ttr.d5x.de/feed-icons/63.ico
10-15 20:25:24.365  5914  5938 D l       : Downloaded 1150 bytes as feed icon from https://ttr.d5x.de/feed-icons/56.ico
10-15 20:25:24.556  5914  5938 D l       : Downloaded 1150 bytes as feed icon from https://ttr.d5x.de/feed-icons/45.ico
10-15 20:25:24.762  5914  5938 D l       : Downloaded 1150 bytes as feed icon from https://ttr.d5x.de/feed-icons/57.ico
10-15 20:25:24.933  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/49.ico
10-15 20:25:25.690  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/50.ico
10-15 20:25:26.263  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/55.ico
10-15 20:25:26.632  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/79.ico
10-15 20:25:26.809  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/52.ico
10-15 20:25:27.033  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/54.ico
10-15 20:25:27.234  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/51.ico
10-15 20:25:27.701  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/48.ico
10-15 20:25:28.332  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/47.ico
10-15 20:25:29.036  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/53.ico
10-15 20:25:30.583  5914  5938 D l       : Downloaded 1150 bytes as feed icon from https://ttr.d5x.de/feed-icons/80.ico
10-15 20:25:31.732  5914  5938 D l       : Downloaded 766 bytes as feed icon from https://ttr.d5x.de/feed-icons/44.ico
10-15 20:25:32.342  5914  5938 D l       : Downloaded 32033 bytes as feed icon from https://ttr.d5x.de/feed-icons/42.ico
10-15 20:25:32.636  5914  5938 D l       : Downloaded 15086 bytes as feed icon from https://ttr.d5x.de/feed-icons/73.ico
10-15 20:25:32.986  5914  5938 D l       : Downloaded 15086 bytes as feed icon from https://ttr.d5x.de/feed-icons/72.ico
10-15 20:25:33.629  5914  5938 D l       : Downloaded 15086 bytes as feed icon from https://ttr.d5x.de/feed-icons/70.ico
10-15 20:25:34.284  5914  5938 D l       : Downloaded 15086 bytes as feed icon from https://ttr.d5x.de/feed-icons/71.ico
10-15 20:25:35.275  5914  5938 D l       : Downloaded 15086 bytes as feed icon from https://ttr.d5x.de/feed-icons/68.ico
10-15 20:25:36.241  5914  5938 D l       : Downloaded 15086 bytes as feed icon from https://ttr.d5x.de/feed-icons/67.ico
10-15 20:25:37.272  5914  5938 D l       : Downloaded 15086 bytes as feed icon from https://ttr.d5x.de/feed-icons/69.ico
10-15 20:25:38.068  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/64.ico
10-15 20:25:39.399  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/66.ico
10-15 20:25:40.841  5914  5938 D l       : Downloaded 1566 bytes as feed icon from https://ttr.d5x.de/feed-icons/65.ico
10-15 20:25:41.360  5914  5938 D l       : Downloaded 273 bytes as feed icon from https://ttr.d5x.de/feed-icons/46.ico
10-15 20:25:42.009  5914  5938 D l       : Downloaded 40648 bytes as feed icon from https://ttr.d5x.de/feed-icons/43.ico
10-15 20:25:42.447  5914  5938 D l       : Downloaded 273 bytes as feed icon from https://ttr.d5x.de/feed-icons/78.ico
10-15 20:25:42.851  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/74.ico
10-15 20:25:43.056  5914  5938 D l       : Downloaded 714 bytes as feed icon from https://ttr.d5x.de/feed-icons/75.ico
10-15 20:25:43.260  5914  5938 D l       : Downloaded 1918 bytes as feed icon from https://ttr.d5x.de/feed-icons/77.ico
10-15 20:26:03.461  5914  5914 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:26:03.547  5914  5938 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:26:03.801  5914  5938 D d       : Syncing Status took 254ms
10-15 20:26:06.504  5914  5938 I b       : Recalculated counters, total unread: 337 (took 2702ms)
10-15 20:26:12.755  5914  5914 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:26:12.768  5914  5938 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:26:12.784  5914  5938 D d       : Syncing Status took 16ms
10-15 20:26:12.906  5914  5938 I b       : Recalculated counters, total unread: 337 (took 122ms)
10-15 20:26:19.976  5914  5914 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@50e8701
10-15 20:26:19.981  5914  5914 I j       : Error reporting disabled, invalid installation.
10-15 20:26:20.003  5914  5914 W FeedHeadlineActivity: displayFeed() has been called, newArticleId: 42, direction: 0
10-15 20:26:20.017  5914  5914 D l       : GetNetworkType: Type = 3 (0 = none, 1 = mobile, 2 = metered, 3 = wifi)
10-15 20:26:20.446  5914  9434 I b       : Recalculated counters, total unread: 337 (took 427ms)

Any hint or advice is welcome, if I do something wrong.

Thanks Rainer

nilsbraden commented 3 years ago

Where did you install from? I can't see anything wrong with the logs, there should be something on the screen. Is this still an issue?

rdorsch commented 3 years ago

I still see the issue.

I installed from f-droid on a Google Pixel.

Here is a screenshot

https://nc.d5x.de/s/qmZ24KnXCWtXc2t

nilsbraden commented 3 years ago

Can you try disabling the setting "Preferences -> Display -> Enable Tablet-Layout"? I suspect this might be an issue with especially big screens.

rdorsch commented 3 years ago

I disabled it, but I did not see any effect (which is in line with the description, my screen is clearly smaller than 7").

What I should mention: The overview (=list of RSS feeds and unread articles) displays correctly. Just the list of articles in a news feed is always empty.

jel81 commented 3 years ago

I also have problem with newer versions. Version 1.95.7 works fine for me. I get them from Fdroid and I have a Pixel 3a with GrapheneOS. Just tested version 1.96.3, it gives me just a black screen with the logo in the middle, earlier versions gave just a white screen.

rdorsch commented 3 years ago

I just installed 1.96.3 from fdroid. After trying a few things, I found that I activated "show only cached arcticles". This was hard to spot for me, because when activated, it shows only a menu entry "show all articles". I did not realize that there is another way to filter articles beside "show only unread articles". I have to admit, I do not even understand how this function works exactly.

It would have helped me, if a message that only cached articles are displayed would have been shown more prominently.

nilsbraden commented 3 years ago

I see, that woul dexplain the empty list. Don't really have a good idea where to put that info or how to rename the menu-entry to resolve this. Would a short alert be appropriate, flashing the message "No articles selected, only showing cached articles" or something like that?

What this function does: It only shows the already downloaded articles when using "ImageCache".

rdorsch commented 3 years ago

I am still not entirely sure what the feature is used for, therefore I cannot come up with a proposal for a menu entry. Is "ImageCache" another app or a feature of this app?

Adding a checkbox on "Display only cached articles" would be an option, but not sure if Android style guide consider this poor design, since it is harder to touch than a full menu entry.

Assuming that people using this feature frequently want to disable it again to see new information, would a pop-up at startup work

Display only cached articles?

Yes/No

?

Thanks Rainer

-- Rainer Dorsch