bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.34k stars 265 forks source link

[Bug]: After delete bottles using сorrespond button and restart app bottles appear again #2583

Open khismatullin opened 1 year ago

khismatullin commented 1 year ago

Describe the bug

Problem solved only if manually delete folder ~/.var/app/com.usebottles.bottles/data/bottles/bottles

To Reproduce

  1. Select bottles -> Delete Bottle...
  2. Close Bootles
  3. Restart app with command: flatpak run com.usebottles.bottles

Package

Flatpak from Flathub

Distribution

Ubuntu 20.04.5

Debugging Information

Official Package: true
Version: '50.2'
DE/WM: ubuntu
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: false
Graphics:
    vendors:
        intel:
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 5.15.0-58-generic
Disk:
    Total: 6213255168
    Free: 6213103616
RAM:
    MemTotal: 11.6GiB
    MemAvailable: 7.4GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

No response

StoneMoe commented 1 year ago

Could you please run Bottles via command line, then try deleting it again, and send the output log here? Thanks!

# command line
flatpak run com.usebottles.bottles
hasanjones commented 1 year ago

I have this same issue, so I ran it from the command line and got very little info: 19:40:25 (INFO) Catalog dependencies loaded 19:40:25 (INFO) Catalog installers loaded 19:40:25 (INFO) Catalog components loaded 19:40:34 (INFO) There is no running wineserver. 19:40:44 (INFO) Stopping bottle… 19:40:44 (INFO) There is no running wineserver.

After restarting the app it detects the deleted bottle as if it wasn't deleted.