You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If in the "bottle picker" dialog (say, from the right-click menu) you pick a bottle with a space in its name, a hyphen will be added to the name, and it won't be run.
In the command line, if I try to run the program in, say, bottle named "Normal Games", following error will appear: Bottle Normal-Games not found
Similarly, trying to run an imported bottle named krzysiek says that a bottle named Imported_krzysiek is not found.
Trying to run a one-word bottle works as expected.
I'm not a GTK programmer so I can't say for sure, but the issue seems to be located in the file bottles/frontend/windows/bottlepicker.py, line 74:
I wasn't able to check this until official release, but sadly: this is still not fixed. As I stated in the original post, the issue is not about spaces in the bottle's name per se, but about passing the bottle's directory name (which uses hyphens instead of spaces) instead of the bottle's name (i.e. "Windows-games" instead of "Windows games"). Perhaps my original issue name was misleading, for which I apologize.
Describe the bug
If in the "bottle picker" dialog (say, from the right-click menu) you pick a bottle with a space in its name, a hyphen will be added to the name, and it won't be run.
In the command line, if I try to run the program in, say, bottle named "Normal Games", following error will appear:
Bottle Normal-Games not found
Similarly, trying to run an imported bottle named
krzysiek
says that a bottle namedImported_krzysiek
is not found.Trying to run a one-word bottle works as expected.
I'm not a GTK programmer so I can't say for sure, but the issue seems to be located in the file
bottles/frontend/windows/bottlepicker.py
, line 74:I'm assuming
row
is of typeBottleEntry
.bottle
member of typeBottleEntry
is defined as follows:Thus, the bottle's path is passed to
bottles-cli
, which expect the bottle's name.To Reproduce
flatpak run --command=bottles com.usebottles.bottles [executable name]
Package
Flatpak from Flathub
Distribution
Void Linux
Debugging Information
Troubleshooting Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: