tateisu / SubwayTooter

Mastodon client app for Android
Apache License 2.0
234 stars 23 forks source link

[Sharkey] Viewing an image and then hitting "back" reloads the column #261

Open fossmanjack opened 4 months ago

fossmanjack commented 4 months ago

Version: 5.545 Device: Motorola Moto G Stylus 5G Android: 13

Behavior

When viewing an image on a column associated with a Sharkey account, and then pressing "back" to exit the image, the column reloads.

Expected Behavior

When viewing an image and then pressing "back", the column should not reload.

tateisu commented 4 months ago

ST does not save/restore column content to flash memory, then if OS destroy the main screen that is triggered by memory management, ST reload each column content.

Also, ST does not have the ability to automatically shrink column content, so killing processes and recovering from memory pressure serves as a substitute.

2024年4月21日(日) 14:18 Jack Meyers @.***>:

Version: 5.545 Device: Motorola Moto G Stylus 5G Android: 13 Behavior

When viewing an image on a column associated with a Sharkey account, and then pressing "back" to exit the image, the column reloads. Expected Behavior

When viewing an image and then pressing "back", the column should not reload.

— Reply to this email directly, view it on GitHub https://github.com/tateisu/SubwayTooter/issues/261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACRQ6GBBS5GHJDOCA7YRZDY6NDZJAVCNFSM6AAAAABGRCKZ32VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TIOJQG42DINQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fossmanjack commented 4 months ago

The thing of it is, this is only happening with Sharkey columns -- I can look at images, open threads, browse to other tabs, without always losing my place in Mastodon or Pleroma columns.

However, I was able to resolve the issue by selecting "Disable auto-refresh when returning to the app" in the column tab. Workaround works for me.