Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot rename shortcut containing ampersand #3725

Closed
tfranken90 opened this issue Jan 24, 2025 · 1 comment
Closed

[Bug]: Cannot rename shortcut containing ampersand #3725

tfranken90 opened this issue Jan 24, 2025 · 1 comment

Comments

@tfranken90
Copy link

tfranken90 commented Jan 24, 2025

Describe the bug

I have a imported bottle and when I attempt to rename a shortcut for an executable inside the bottle (even a newly created shortcut) the shortcut is always renamed to "Program name" I cannot recall which version of Bottles I exported the backup from, although I am prompted to use soda 7.07.

EDIT: I just realized this had nothing to do with the bottle but with the ampersand in the shortcut title.

To Reproduce

  1. Import bottle
  2. attempt to rename shortcut

Package

Flatpak from Flathub

Distribution

Fedora Sway 41

Debugging Information

Official Package: true
Version: '51.18'
DE/WM: sway
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
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: 6.12.9-200.fc41.x86_64
Disk:
    Total: 4091834368
    Free: 4091658240
RAM:
    MemTotal: 7.6GiB
    MemAvailable: 2.3GiB
Bottles_envs: null

Troubleshooting Logs

(bottles:2): Gtk-WARNING **: 20:48:11.222: Failed to set text 'The Simpsons Hit & Run ' 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 &

(bottles:2): Gtk-WARNING **: 20:48:11.225: Failed to set text 'The Simpsons: Hit & Run ' 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 &

Additional context

No response

@tfranken90 tfranken90 changed the title [Bug]: Cannot rename shortcut from imported bottle [Bug]: Cannot rename shortcut containing ampersand Jan 24, 2025
@tfranken90
Copy link
Author

Closing as this appears to be a duplicate of #2671

For a bug that has been reported several times, I'm surprised there is not a warning when naming shortcuts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant