Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Titles and previews occasionally not showing until a restart of the app #1277

Open
hansdez opened this issue Sep 28, 2023 · 8 comments
Open
Labels

Comments

@hansdez
Copy link

hansdez commented Sep 28, 2023

Sometimes the title and preview text of some articles aren't showing. A restart of the app seems to fix the issue. It seems to be able to happen to any feed and any article. Sometimes none of the titles of a feed show, and sometimes some do and some don't. It has also happened that the titles of the feeds don't show in the sidebar (only seen this once).

See the attached images:

Screenshot_20230928-164332

Screenshot_20230928-164055


App Version: 0.9.9.81
App Version Code: 185


SSO enabled: true


OS Version: 5.10.157-android13-4-00003-g776d0a76f6aa-ab10208116(10750268)
OS API Level: 33
Device: bluejay
Model (and Product): Pixel 6a (bluejay)


sp_max_cache_size=250
sp_swipe_left_action=0
sw_use_single_sign_on=true
cb_ShowOnlyUnread=true
cb_openInBrowserDirectly=false
lv_cacheImagesOffline=2
cb_ShowFastActions=true
pref_sync_settings=30
cb_AutoSyncOnStart=true
sp_news_detail_actionbar_icons=[share]
sp_swipe_right_action=2
cb_NavigateWithVolumeButtons=false
sp_font_size=1.0
NewsWebVersionNumber=23.0.0
sp_search_in=1
cb_external_player=false
sp_sort_order=0
cb_MarkAsReadWhileScrolling=false
sp_feed_list_layout=1
cb_oled_mode=false
sp_display_browser=1
sp_app_theme=1

@David-Development
Copy link
Member

@hansdez Thank you for the report. It looks like an an issue where the wrong color is applied (when switching between light and dark theme). But from your configuration I can see from the configuration that you are using "Light" (sp_app_theme=1) as your theme and the app shouldn't switch between the light and dark theme. I will release a new version soon which possibly fixes this issue as we've done quite some work around the area of switching themes.

@hansdez
Copy link
Author

hansdez commented Oct 2, 2023

@David-Development Thank you for the quick acknowlegdement!

I can confirm that my phone's theme is on dark mode (and never switches), whereas I prefer the Nextcloud app in light mode (which I also don't change). I haven't tried what happens when I make sure that the app and the phone have the same theme.

Very happy to test a new version, and to update this issue with the results.

@mMuck
Copy link

mMuck commented Jan 22, 2024

I sometimes saw this phenomenon in item lists titles, text and feed menus that the text color seems to be chosen from the opposite theme. I think even in the latest version. This isn't reproducible always - but is annoying when present. My experience was that only some news items were colored different. Due to the different dark background and dark text tone the text wasn't hidden at all, so it seems to be like described - a somehow switching of theme colors!? Is that possible while rendering the lists?
I'll try to catch a screenshot.
My OS theme is light (not auto) while my app theme is dark.
Android 9, Galaxy S8

@hansdez
Copy link
Author

hansdez commented Jan 22, 2024

I now have version 0.9.9.85 of the app.

It seems like some changes were done as it failed a bit differently, but I still had similar problems as before when running the light version of the app running on a phone with a dark theme. Switching to the dark version of the app fixed the problem for me (but is not my preference).

Do let me know if I can be of any help in debugging.

@mMuck
Copy link

mMuck commented Jan 26, 2024

I can confirm that, Hans! Saw it in the feed sidebar menu too. Happens in both dark and light theme.
Restarting the app fixes this but after a time this comes up again.

Here some screenshots (latest version):

Title "missing", but when opening the entry, it is there. Seems to be only hidden due to this wrong theme color bug
1080-863-max

1024-1735

And when I tap and hold I can see there is text
1024-1718

@David-Development How can we help investigating this?

@David-Development
Copy link
Member

David-Development commented Jan 31, 2024

I'm not sure if you guys have dev experience - but the corresponding sections in the code are here:

  • Choose whether Light/Dark/Auto Theme should be active: link
  • Colors for:

Maybe you try to tweak them and see if it works at all? I've never experiences this on my current Pixel 7 (Android 14).

So I guess so far the affected phones are:

  • Pixel 6a (Android 14)
  • Samsung S8 (Android 9)

@hansdez
Copy link
Author

hansdez commented Jan 31, 2024

Thank you for doing this write-up. Unfortunately, I don't have enough dev experience to try this out.

Only thing I can confirm is that I have this problem on my Pixel 6a, running Android 14.

@j-ed
Copy link

j-ed commented Apr 15, 2024

I'm using the app version 0.9.9.85 on a Samsung Galaxy S20 and can confirm the reported behavior.

Just for the records, it seems that #1405 has been closed in favor of #1410 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants