nextcloud / nextcloud/news-android
NewsDetailFragment is not initialized when switching to landscape mode in article view
- Dominant language
- Java
- Stars
- 765
- Forks
- 262
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 13
Description
When i open an article (with the in app reader)
Then turn my device into landscape mode
Click on the "Open article website" Button on the bottom right
I get "NewsDetailFragment is not initialized" and can not open the website.
Leaving the article and going back to the article list helps.
Turning the device into portrait mode does not help though.
So it seems that the button to open the website breaks when turning the device around.
I had this issue for quite some time but could not link the cause :)
Latest f droid version
Contributor guide
Research direction
Reproduce the issue from the article view: open an article, rotate to landscape, and press the "Open article website" button. Start by tracing NewsDetailFragment initialization across the rotation and the button's website-opening path; done means the website opens correctly after switching orientation, including when returning to portrait.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100