pwmt / zathura

Document viewer
https://pwmt.org/projects/zathura
zlib License
1.86k stars 127 forks source link

Braces in filenames prevent history entry creation when using `plain` backend #433

Closed sebastinas closed 2 months ago

sebastinas commented 6 months ago

On GitLab by @dkasak on Dec 8, 2023, 14:29


Files with braces in their name fail to get added to history, possibly only with the plain backend, because braces are special characters in this format and do not get escaped when adding the entry.

The following error is printed when zathura is closed, after opening a file with braces in the name:

(org.pwmt.zathura:246459): GLib-CRITICAL **: 14:30:08.632: g_key_file_set_value: assertion 'group_name != NULL && g_key_file_is_group_name (group_name)' failed
sebastinas commented 6 months ago

It is probably time to drop the plain backend for good.

sebastinas commented 4 months ago

mentioned in commit 1e69a1812936d41a3fc281c4f80c4cf505411624