Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Data Loss: "Delete temporary data" in main configuration removes game saves/profiles

Open EylulBlossomGames opened this issue 7 months ago • 2 comments

Describe the bug

If you delete "temporary data", you loss your game progress. That is not suppossed "temporary data".

The "Delete temporary data" option, accessible from the top-right menu in the main GUI, causes permanent data loss. It deletes user profiles, game saves, and progress, which are not "temporary" resources. The warning message is misleading as it only mentions "re-downloading resources," not the deletion of local user data.

Bottles is installed via flatpak --user. Version 62.0. And Linux is Debian-based, not any fancy distro over here.

To Reproduce

Steps:

  • Go to main GUI screen in Bottles (where you see your list of bottles).
  • At right top, some of icons open the Bottles config (where you can change soda by vainiglia (the runner), for example.
  • In these menus, some of them offers you: "Delete temporary data", telling you that deleting it could cause re-unload the resources. This is the bigger deletable data and, well, if you have many temporary data, it's normal to delete it. Anyone would do it. Then, click the button.
  • Open some game with a profile created before. The profile doesn't exist any more. That is that: you loss your saves, user profiles... everything of your progress.

Package

Flatpak from Flathub

Distribution

LMDE 6

Debugging Information

*

Troubleshooting Logs


Additional context

No response

EylulBlossomGames avatar Apr 08 '26 20:04 EylulBlossomGames

Did you change the runner for the bottle by any chance? Proton based runners (e.g. soda) use a different user folder (c:\users\steamuser) from regular Wine (c:\users\yourusername) so switching between the two types can cause the data to appear lost (the old user folder still exists alongside the new user folder).

Graham--M avatar Apr 08 '26 22:04 Graham--M

Hi thanks for reporting.

I have investigated the logic behind that feature and I cannot find a technical link between it and a possible deletion of user prefixes/game saves. That feature specifically targets the temp folder, your bottles and their respective drive_c folder (where everything lives) are stored in the bottles folder, outside the temp one.

Closing, feel free to provide more details to re-open.

mirkobrombin avatar Apr 15 '26 15:04 mirkobrombin