Skip to content

[Bug]: Environments applied inconsistently during Bottle creation #3740

@Throun

Description

@Throun

Describe the bug

When creating bottles, the chosen environment will not always be used. Instead, the bottle will be made with the application environment, with no seeming rhyme or reason on when or why. This happens regardless of arch, runner, directory, or provided configuration file.

Screencast_20250201_205113.webm

To Reproduce

  1. Create a bottle, choosing any template other than Application (other options are left alone).
  2. After creation of the first bottle, create at least one more bottle, same options as above.
  3. Check the environment label the bottles have.

Package

Flatpak from Flathub

Distribution

Fedora 41 Kinoite

Debugging Information

Official Package: true
Version: '51.18'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.12.11-200.fc41.x86_64
Disk:
    Total: 4118151168
    Free: 4117979136
RAM:
    MemTotal: 7.7GiB
    MemAvailable: 5.3GiB
Bottles_envs: null

Troubleshooting Logs

20:51:27 (INFO) Generating bottle configuration… 
20:51:27 (INFO) Unpacking template: afae71af-a09b-4dc4-978b-ea00c4c8ad6d 
20:51:45 (INFO) Template unpacked successfully! 
20:51:46 (INFO) Using Wine Runtime tool -- send_status(-i) 
20:51:47 (WARNING) Bottles runtime was requested but not found 
wineserver: using server-side synchronization.
wine: configuration in L"/var/home/***/.var/app/com.usebottles.bottles/data/bottles/bottles/Test3" has been updated.
20:53:05 (INFO) Applying environment: [application]… 
20:53:05 (INFO) New bottle created: Test3 
20:53:06 (INFO) Using Wine Runtime tool -- send_status(-u) 
20:53:06 (WARNING) Bottles runtime was requested but not found 
wineserver: using server-side synchronization.
wine: configuration in L"/var/home/***/.var/app/com.usebottles.bottles/data/bottles/bottles/Test3" has been updated.

Additional context

This has happened before and after reinstalling Bottles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions