fork-maintainers / iceraven-browser

Iceraven Browser
4.77k stars 221 forks source link

[Bug]: Tabs are still reloading, even when the Suspend tabs option is not enabled #804

Open economfo opened 2 months ago

economfo commented 2 months ago

Steps to reproduce

  1. Disable the "Suspend tabs" option in Settings > Customise > Configure system behavior >
    Suspend tabs to avoid being
    killed for memory
    If enabled, tabs will be suspended
    and page state lost when the system
    is low on memory
  2. Open 1 or more tabs
  3. Reduce available memory e.g., by opening another applications

Expected behaviour

Tabs should remain loaded in memory and retain their state without reloading. In Chrome or a Chromium-based browser, there are no issues.

Actual behaviour

Tabs reload when switch back to Iceraven, causing loss of any state.

Device name

Xiaomi 14

Android version

Android 14, HyperOS 1.0

Iceraven version

2.22.1

Device logs

No response

Additional information

Google Pixel 9 and Honor Magic 6 Pro no issues.

heitiehu commented 1 month ago

I also encountered the same issue.my problem is even more severe. Whenever I switch from the browser interface to background tasks or any other app, and then return to the browser, all the tabs always refresh, causing me to frequently lose a lot of in-progress website data.

Steps to Reproduce

  1. Open Iceraven browser.
  2. Open multiple tabs with different websites.
  3. Switch to another app or background task.
  4. Return to the Iceraven browser.
  5. Observe that all tabs have refreshed, losing any in-progress data.

Expected Behavior

Tabs should remain open and retain their data when switching between apps or background tasks.

Actual Behavior

All tabs refresh upon returning to the browser, causing data loss.

Device Information

Additional Information

Please investigate and provide a fix for this issue.

coolswapnil commented 1 month ago

I am facing same issue.

heitiehu commented 1 month ago

Updated on 2024.10.10, I tried various versions of Firefox for Android and found that this issue still exists. In the official version, when switching to a background app and then returning to the browser, the tabs will reload. However, with brief loading times, some pages can recover. I believe this might be an optimization issue with Xiaomi's HyperOS or a problem with Firefox's browser engine. Currently, there is no more information available, as it seems to occur only in specific device environments.