View Issue Details

IDProjectCategoryView StatusLast Update
0002688ScribusImport / Exportpublic2005-12-05 21:09
Reporterdigulla Assigned Tocbradney  
Status closedResolutionfixed 
PlatformLinuxOSLinuxOS Version2.6.13
Product Version1.2.3 
Fixed in Version1.3.2cvs 
Summary0002688: PDF export needs progress dialog
DescriptionThere should be a progress dialog when a PDF export takes a long time.

I've created a document with 11 pages made up entirely of images (2480x3711 grey, average 900KB per image).

The export of this takes about 40 seconds.
TagsNo tags attached.


related to 0000722 closedcbradney "Printing" message box 
related to 0002260 acknowledged Metabug: Long-running code that blocks the UI 



2005-10-07 20:36

administrator   ~0006955

Related to 722(?), and already on the roadmap:


2005-10-08 03:21

reporter   ~0006956

This is a recognised issue. Another related point that's important is that PDF export can not be cancelled without force-quitting Scribus.

This is part of a wider issue with the way many of these tasks are handled. The framework is now in place for these things to be done asynchronously, but the actual PDF export code will need a bunch of work before it can run that way.


2005-10-08 12:00

administrator   ~0006965

FWIW, there is actually a progress bar in the status bar of the main window.


2005-12-05 07:21

reporter   ~0007633

The ideal way to tackle this, IMO, is to make PDF export use DeferredTask to complete in smallish steps that can indicate progress and can be aborted at any point.

That'd involve a pretty significant restructuring of the PDF export code. On the other hand, necessary to do some work on it at some point anyway so it can indicate errors (eg "image not found", "permission denied when opening image", etc) and abort.

I guess a quick hack method would be to use a QProgressDialog, call processEvents() yourself, and manually check to see if the dialog's aborted flag has been set. Not pretty, in my view, but it'd do the job.


2005-12-05 08:10

administrator   ~0007634

For now, I'm just writing a multi progress bar progress dialog which should give some more feedback as to real progress. We need the ability to cancel the export too. Anything with deferred task can happen at a later stage.

Issue History

Date Modified Username Field Change
2005-10-07 19:48 digulla New Issue
2005-10-07 20:36 christoph_s Note Added: 0006955
2005-10-07 20:47 cbradney Relationship added related to 0000722
2005-10-08 03:19 ringerc Relationship added related to 0002260
2005-10-08 03:21 ringerc Note Added: 0006956
2005-10-08 03:21 ringerc Status new => acknowledged
2005-10-08 12:00 cbradney Note Added: 0006965
2005-12-04 21:11 cbradney Status acknowledged => assigned
2005-12-04 21:11 cbradney Assigned To => cbradney
2005-12-05 07:21 ringerc Note Added: 0007633
2005-12-05 08:10 cbradney Note Added: 0007634
2005-12-05 13:44 cbradney Status assigned => resolved
2005-12-05 13:44 cbradney Fixed in Version => 1.3.2cvs
2005-12-05 13:44 cbradney Resolution open => fixed
2005-12-05 21:09 cbradney Status resolved => closed