| Post Reply | RetroFed Forum Forum Index » Tesseract |
| Author | Message | ||
|---|---|---|---|
Admiral Patrick
dubvee.org
ptz@dubvee.orgJoined: 2023-06-06 |
Affected Versions: 1.4.21 - 1.4.28 Problem Clicking an outside link from the feed and opening it in the same tab brings you back to an empty feed requiring a full refresh of the app. Details Navigating to an outside link in the same tab is treated the same as refreshing the page. This triggers, among other cleanup tasks, the memory optimizations that flush the feed, but, after navigating back from an outside link, the page is not triggering the handlers to re-create the feed. Workaround From the feed, click the Gear icon to load the quick settings. Enable the option "Open Links in New Tab". Fix Status There are a few ways to fix this, but removing the memory optimizations from the "refresh" handler is the easiest. I'm testing that in dev right now. I have other optimizations which may make these redundant, so if I am able to remove them, it both solves this issue and simplifies the code. If those are needed, then I'm going to have to come up with another way to detect a page refresh that doesn't also trigger when navigating to an outside link (or at least some clean way to differentiate the two actions). |
||
| 1 Original | |||
| Post Reply |
Back to top |