Missing entry in the list of recently opened files when there is an & in the filename
Environment/Versions
- GIMP version: 2.99.18
- Package: no
- Operating System: Windows
Description of the bug
When opening GIMP it creates a list of recently opened files, I used files in a folder named "Gravingen Z&L". It seems the filename is used in a HTML context, the Debugging window shows messages:
Gtk-WARNING **: 09:37:57.352: Failed to set text 'C:\Users\gjroe\Documents\Gravingen Z&L\Dinsdagploeg\Poster\P Andre Stam.jpg' from markup due to error parsing markup: Fout in regel 1: De entiteit eindigde niet op een puntkomma; waarschijnlijk heeft u een ampersand-teken gebruikt zonder daarmee een entiteit te willen beginnen ? gebruik in plaats daarvan &
As a result I see the picture in the list of recent files, and it can be opened, but the filename displayed when the mouse is on this picture does not display this file/picture but another one.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open a file in a folder with & in the name
- Close GIMP
- Open GIMP
…
Expected result:
Actual result:
Additional information
If you have a backtrace for a crash or a warning, paste it here.