b1: crash if selecting .txt file for multi-page PDF

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, xnview

andreasm82
Posts: 36
Joined: Tue Feb 21, 2006 7:58 pm
Location: Saarland

b1: crash if selecting .txt file for multi-page PDF

Post by andreasm82 »

I didn't see that there was a .txt file in my folder from which I selected some .jpg files to create a PDF file with the great multi-page feature.

As I want to start creating the PDF, xnview crashed.


BTW: Would be nice if I could add .txt files as text in the PDF file.


Image
My private (german) page www.energie-bewusstsein.de
User avatar
xnview
Author of XnView
Posts: 36866
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: b1: crash if selecting .txt file for multi-page PDF

Post by xnview »

andreasm82 wrote:I didn't see that there was a .txt file in my folder from which I selected some .jpg files to create a PDF file with the great multi-page feature.

As I want to start creating the PDF, xnview crashed.
Strange, i can't reproduce this bug. Do you have always the crash?
Pierre.
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

I confirm the bug: select 1 text file, then use Menu>Create>Multi-Page file and save as PDF.

=> Message "Format of the File <> could not be determined" => Crash (in PDF only).

There should be an automatic removal of non-displayable files by XnView without Crash (and can't text files be exported as text or image?)
Olivier
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

Olivier_G wrote:=> Message "Format of the File <> could not be determined" => Crash (in PDF only).
There is no crash anymore with Beta2...

...but isn't it possible to have a better handling of non-usable files while creating those PDF?
(ie: checking files beforehand, displaying a single alert message if there are many problematic files and asking to proceed (or not) with other good files)

-> Moved to 'Feedback' for this last part.
Olivier
User avatar
xnview
Author of XnView
Posts: 36866
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

Olivier_G wrote:
Olivier_G wrote:=> Message "Format of the File <> could not be determined" => Crash (in PDF only).
There is no crash anymore with Beta2...

...but isn't it possible to have a better handling of non-usable files while creating those PDF?
(ie: checking files beforehand, displaying a single alert message if there are many problematic files and asking to proceed (or not) with other good files)

-> Moved to 'Feedback' for this last part.
Currently not, or use a 2 pass. Check first all files, and then create the PDF. But a little slower for some format...
Pierre.
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

xnview wrote:Currently not, or use a 2 pass. Check first all files, and then create the PDF. But a little slower for some format...
True. But I think the most important for those tools is to work correctly (before looking for speed/efficiency). It should also solve the issue raised in this topic, right?
Olivier
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

In beta 3, non-usable files are discarded before creating the multipage document. That's fine with me and solves the original bug -> closed.
Olivier