1.12.1: "File can't be loaded!" does not close the XNVewMP

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

postcd
Posts: 50
Joined: Sun Aug 05, 2018 10:07 am

1.12.1: "File can't be loaded!" does not close the XNVewMP

Post by postcd »

1.12.1 [10234] 64bit Linux (Ubuntu 24 based)
0.38.0 (git b43ab43)
Build for: neon/24.04 7.0.0-38-generic 4KB x86_64; glibc2.24/2.39 libc++240000; Clang24.0.0 (++20260810082117+1069de7c5ab7-1~exp1~20260810202127.1778); 01:36:54 Aug 11 2026.
When I open a file, which is a corrupt image file (i have tried .jpg), then it let me confirm "File can't be loaded!", yet still loads the black screen of XNView which can not do anything (like browsing to other file in a same directory or a full screen key does nothing). It does not even show a close button. I have to mouse right-click to trigger menu and click close.
IMO it should instead just quit after confirming "File can't be loaded!".

Btw. the app spams the syslog and mere "xnview --version" command returns hundreds of lines spam.
Linux user, .deb package. Use private services like Proton.me, not surveillance services like Google, Meta.
User avatar
xnview
Author of XnView
Posts: 48738
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.12.1: "File can't be loaded!" does not close the XNVewMP

Post by xnview »

If you enable 'Settings>Tabs>Closing last tab exits'?
postcd
Posts: 50
Joined: Sun Aug 05, 2018 10:07 am

Re: 1.12.1: "File can't be loaded!" does not close the XNVewMP

Post by postcd »

xnview wrote: Sun Oct 04, 2026 12:42 pm If you enable 'Settings>Tabs>Closing last tab exits'?
Settings > Interface > Tabs > "Closing last tab exists application" was already enabled...
When i disable it, it is even worse - after mouse right clicking and selecting to Close, it shows XnView window with empty tab open.
Linux user, .deb package. Use private services like Proton.me, not surveillance services like Google, Meta.
User avatar
user0
XnThusiast
Posts: 3130
Joined: Sat May 09, 2015 9:37 am

Re: 1.12.1: "File can't be loaded!" does not close the XNVewMP

Post by user0 »

i can reproduce in win11
  • default settings + startup changed to:
    - Viewer-Fullscreen - error msg appears, navigation does not work
    - Browser-Fullscreen - error msg does not appear, navigation works