UI display bug with unrecognized JPG

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

Moderators: xnview, Dreamer

User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

UI display bug with unrecognized JPG

Post by budz45 »

Hi,

Maybe a message could show on XnViewMP when jpg files that cannot open properly are opened.
2013-02-28_025539.png

here is the jpg file attached
Amber-rrrr.zip
You do not have the required permissions to view the files attached to this post.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: UI display bug with unrecognized JPG

Post by budz45 »

Thanks for adding the prompt message in XnViewMP 0.56.

Although you need to further make it so that the view tab auto closes after showing this message.

Theres no point in the tab still being opened after the message is shown.

Please fix, thanks.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 47538
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: UI display bug with unrecognized JPG

Post by xnview »

How do you open the file?
You have no 'File can't be loaded'??
Pierre.
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: UI display bug with unrecognized JPG

Post by budz45 »

xnview wrote:How do you open the file?
I drag & drop an animated .webp file (that is not supported by XnView or any viewer) from Windows Explorer to view mode
xnview wrote:You have no 'File can't be loaded'??
Yes the message does display fine :) ...

..However after the message is clicked 'ok' then the unopened file tab still remains open
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 47538
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: UI display bug with unrecognized JPG

Post by xnview »

budz45 wrote:..However after the message is clicked 'ok' then the unopened file tab still remains open
yes normal :) i have a little problem if i close it
Pierre.
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: UI display bug with unrecognized JPG

Post by budz45 »

Hmm ok, so could you try making it transform into an Empty tab instead of closing it?
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only