hellosiyan / Viewnior

Elegant Image Viewer
https://siyanpanayotov.com/project/viewnior/
GNU General Public License v3.0
319 stars 55 forks source link

'open image..' dialog, if selecting multiple images #111

Closed ncmprhnsbl closed 2 years ago

ncmprhnsbl commented 2 years ago

arch linux, git head Seems to be an issue with the 'open image..' dialog, if selecting multiple images (ctrl+click) ...first image opens okay, but navigating to the second(and more) there's just : Fail to open file:<looks like recent clipboard history and/or random junk>:no such file or directory . Then navigating back to the first image also fails. Opening single image(ie the entire folder) is ok. Open multiple images from a filemanager is ok.

noticed here: https://github.com/hellosiyan/Viewnior/pull/108#issuecomment-924603537 "It is probably a use-after-free issue." a patch (with a pull request to follow) provided by @BwackNinja : https://github.com/hellosiyan/Viewnior/files/7208351/fix-use-after-free-multi-file.patch.txt

hellosiyan commented 2 years ago

@ncmprhnsbl Thanks, this is now fixed on master.