Bottles
Bottles copied to clipboard
[Bug]: Label fails when text contains ampersand
Describe the bug
I am trying to load the settings for a bottle that is named "Mount & Blade" and I get the following message on the console:
(bottles:2): Gtk-WARNING **: 23:57:24.167: Failed to set text 'Directory that contains the data of "Mount & Blade".' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &
This seems to affect the description label below "Working Directory" as it keeps the name of the previous bottle that I opened the settings page for (or empty after restarting Bottles):
After restart:
After opening another bottle settings (named "Cinebench 2024"):
Looks like the error message has a good tip on how to work around :)
To Reproduce
- Create a bottle with an ampersand in the name
- Navigate to the new bottle "Settings" page
Package
Flatpak from Flathub
Distribution
Arch Linux
Debugging Information
Official Package: true
Version: '51.13'
DE/WM: gnome
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.10.6-3-cachyos
Disk:
Total: 16635854848
Free: 16635699200
RAM:
MemTotal: 31.0GiB
MemAvailable: 26.0GiB
Bottles_envs: null
Troubleshooting Logs
No response
Additional context
No response