View Issue Details

IDProjectCategoryView StatusLast Update
0004985ScribusUsabilitypublic2007-01-26 09:44
Reporterlouisdesjardins Assigned Tojghali  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformUbuntu 
Product Version1.3.4cvs 
Fixed in Version1.3.4cvs 
Summary0004985: Scribus is very slow in 1.3.4 cvs 23-12-06
DescriptionAs summary.

Any move takes many seconds before Scribus reacts. This is totally new to me. I use the same script for months now and have never encountered this issue with a new build.
TagsNo tags attached.
Patch

Relationships

child of 0003964 closedplinnell 1.3.4 Release Metabug 

Activities

fschmid

2006-12-23 16:43

developer   ~0014200

Should be better now, with cvs from today's (23.12.06) afternoon.

subik

2006-12-23 20:46

manager   ~0014206

it's still slower than it should be (and I mean horribly slower). Tested now in devel cvs build.

fschmid

2006-12-23 22:44

developer   ~0014208

Can you give some more details about that? When does this slowness occur? Which kind of document? Could it be related to Textframes or something?

louisdesjardins

2006-12-23 23:11

developer   ~0014209

I rerun my script to get a fresh cvs. Issue still present.
1. The app itself loads fast (as fast as I am used to)
2. Once Enter key is hit on opening dialog, the "new" document takes several seconds to appear (more than 14 seconds)
3. Drawing text/images frames take a few seconds to appear (3-4 sec)
4. Selecting successively any frame leave the previous frame selected for a few seconds
5. Getting the contextual menu to come up takes 3-4 seconds at mouse click.
6. Working into a dialog (tested Paragraph Style) is fine. Issue is present once I hit the OK button. Scribus seems to hang for a few secs and finally swallows the command.
Hope that helps.

cbradney

2006-12-23 23:13

administrator   ~0014210

Not at all like that here.. feels ok

louisdesjardins

2006-12-24 02:09

developer   ~0014212

I rebooted my system. Still same thing. I might not be the right person to go after this kind of bug because I really am a user only. But I can give feedback, whenever needed.

subik

2006-12-24 12:18

manager   ~0014213

Last edited: 2006-12-24 12:18

I can confirm Louis' notes.

it freezes for some seconds at (strace):
gettimeofday({1166962741, 212545}, NULL) = 0
during the doc opening

fschmid

2006-12-25 10:19

developer   ~0014215

Have made some changes to the FileWatcher class. Subik please retest.

subik

2006-12-25 12:34

manager   ~0014216

unfrotunately it is not better. Opening/closing the doc takes ages.

2006-12-25 12:59

 

valgrind.log.8702.gz (7,946 bytes)

subik

2006-12-25 13:00

manager   ~0014217

Last edited: 2006-12-25 13:01

Franz, you can see valgrind output of the "start - open default doc - close it" cycle. I know that valgrind is not the best tool for it, but you can examine the timestamps.

fschmid

2006-12-25 13:10

developer   ~0014218

Have only 2 problems here with Valgrid:
1) it runs dead slow (starting up Scribus is ~ 1 hour) if it runs at all here.
2) i simply don't have that issue here.

louisdesjardins

2006-12-25 16:10

developer   ~0014219

I tested with a previous build from December 3 and Scribus runs just fine.
(I did that to make sure it was not my own system that had a problem.)
I will rebuild a new cvs later today and give feedback.

fschmid

2006-12-25 19:21

developer   ~0014220

I give up, i can't solve that issue without having it first. Subik please take over.

cbradney

2006-12-25 22:54

administrator   ~0014225

Subik, in selecting guides in the guide manager, I see that is very slow.

subik

2006-12-26 11:04

manager   ~0014245

It's strange. Guides managing is one of the "unaffected" areas here. I using hundreds of guides and all of them can be switched immediatelly in the guides palette. And guides drawing is unchanged for ages in Scribus.

There is some black magic inside... some exact lib version or whatever. It looks like I have to implement some timer's hooks in methods... we'll see later.

louisdesjardins

2006-12-27 03:00

developer   ~0014277

As per an IRC talk with Craig last night, I am currently building all the consecutive CVS since December 15 to identify the one that caused the issue the first time. So far, builds from 15-16-17-18 december all look fine.

ale

2006-12-28 19:10

manager   ~0014297

me too...

if you need help for testing, just tell me what i can do!

i've compiled several cvs in the last few days and they are all very very slow!

2006-12-29 00:15

 

134-profile.tiff (290,206 bytes)   
134-profile.tiff (290,206 bytes)   

avox

2006-12-29 00:16

updater   ~0014301

I used the OSX profiler Shark to get information while Scribus was taking one of those recent out-times. Looks as if updating cpalette is slow now (check the call trace in the lower half)

louisdesjardins

2007-01-01 02:33

developer   ~0014344

Build of 20 december 2006 20:00 seems to have this issue for the first time.

I have checked successfully the builds of the 17th at 20:00 and 21:00, then the build of the 18th at 20:00. Scribus reacts normally on each of these cvs.

The build of the 20th December 2006 shows the slowness of Scribus as described.

I am ready to pursue testing if needed.

louisdesjardins

2007-01-01 02:58

developer   ~0014345

Only to make sure, I did a build of 21 december 2006 and issue is present.

louisdesjardins

2007-01-01 03:00

developer   ~0014346

2007 New Year pause now!:)

fschmid

2007-01-01 13:15

developer   ~0014347

Have gone through all the committs of the 20th Dec now, and i've found only 1 that could be the cause. Does the issue happen with all unit settings (pts, mm, cm etc..) ? Try to switch off the rulers. Does this make a difference?

louisdesjardins

2007-01-02 20:15

developer   ~0014368

I have checked the builds of the 19th at 09:47,13:00,13:48 and 19:21. All ok. No issue here.

Ready to check the builds of the 20th. Just need the time for each commit to see when it started exactly.

ale

2007-01-02 21:50

manager   ~0014371

it works better with cvs from 2nd january on my computer.

at least for working with text frames.

though, creating a new document and closing documents are still very slow tasks.

the ruler and the units don't seem to have any influence on the speed of execution.

louisdesjardins

2007-01-03 02:56

developer   ~0014389

Got it! The 22:36 build of the 20 December 2006 is the first one that has that issue on my computer.

In the order, I tested the following times:

02:00 = OK
13:00 = OK
22:36 = ISSUE PRESENT

I went back one commit time and found the 17:01 to be OK.

Franz: Answering your questions, there is no improvement on that build when I play with the units or switch the ruler on/off.

Hope that helps.

I am ready to make further specific testing as needed.

subik

2007-01-03 09:24

manager   ~0014395

Last edited: 2007-01-03 09:33

sorry for long delay. I'm checking it on my office laptop right now - and it is not presented here. Maybe it is done by its CPU brute-force. But I can see it on my old home celeron. OS is exact the same (suse10.2) with the same rpms.

update: when I look into scribus-commit archive I cannot see any relevant events. The nearest one is (maybe) Jean's "solves StyleFlag operator ambiguity errors reported by msvc by making StyleFlag a class" at 2006-12-21 00:14. All others commit events are for 133x.

cbradney

2007-01-03 10:02

administrator   ~0014396

Wrong date, 20th:
Modified Files:
      Tag: Version133x
        sccolor.cpp
Log Message:
fix small operator glitch (& used instead of &&)

jghali

2007-01-03 10:19

administrator   ~0014397

Tag: Version133x ....

cbradney

2007-01-03 11:31

administrator   ~0014401

Bugger.. hmmm.

cbradney

2007-01-03 12:14

administrator   ~0014402

Ok so, in 1.3.x, 20/12/06 at 17:03 is ok, the next 1.3.x commit is 21/12/06 00:14, and lots of commits until 01:43. Louis, sorry, can you please retest 20/12/06 23:50 ? It should still be ok if 17:03 is ok

avox

2007-01-03 12:23

updater   ~0014403

I also noted that cvs history uses a different timezone than the commit emails.
Louis, how do you establish the date? Could it be that 17:01 commits mean all commits *before and not including* the 17:01 commit?

fschmid

2007-01-03 12:58

developer   ~0014405

During fixing bug 5050 i've found something interesting:
If you take the doc out of bug 4958 as a sample it is very slow loading and selecting objects is slow too. But if you remove all unused colours its suddenly fast again.
It could be that the new ColorListBox and the ColorListBoxItems are responsible for the slowness.

2007-01-03 13:07

 

Dokument-34958.sla (50,344 bytes)

2007-01-03 13:07

 

Dokument-34958u.sla (15,525 bytes)

fschmid

2007-01-03 13:10

developer   ~0014406

Added 2 files to demonstrate the effect:
Dokument-34958.sla is the file with the full X11 Colorset, loading takes several seconds till the doc is visible. Selecting and dragging objects is really slow.
Dokument-34958u.sla is the same doc, but all unused colours are removed. Loads instantly, no slowness in selecting and dragging objects.

subik

2007-01-03 13:15

manager   ~0014407

it could be true. I'm checking it with "X11" and "Scribus Small" sets and the difference is noticeable.

jghali

2007-01-03 13:27

administrator   ~0014409

After some profiling, i found that QGuardedItemPtrPrivate dtor is called quite often : 10787 times with a short run (load scribus, new doc, create text frame, close) and is awfully slow (> 10s). So there is two problem:
- why color combos needs to be updated so often?
- QGuardedItemPtr should be replaced be a more simple and efficient way of tracking a document desctruction

cbradney

2007-01-03 13:29

administrator   ~0014410

QGuardedPtrs are used in various places for good reasons and have been for awhile. If its used in the colour system, then that might be a reason to look there. The colour combo should be updated only at these points: scribus open, new doc, doc load, doc close, switch doc, add colour, remove colour.

jghali

2007-01-03 15:20

administrator   ~0014419

ColorListBoxItems have now a QGuardedPtr member. But this member is just an old ScColor member which has been moved out of this class. It's a bit surprising that just moving QGuardedPtr causes such a slowdown. I tend to think that the major reason for the slowness is the number of times color combos seems to be updated.

louisdesjardins

2007-01-03 15:56

developer   ~0014426

<Quote CBradney> Ok so, in 1.3.x, 20/12/06 at 17:03 is ok, the next 1.3.x commit is 21/12/06 00:14, and lots of commits until 01:43. Louis, sorry, can you please retest 20/12/06 23:50 ? It should still be ok if 17:03 is ok <end quote>

Sure, can retest. Will do tonight.


<quote Avox> I also noted that cvs history uses a different timezone than the commit emails.
Louis, how do you establish the date? Could it be that 17:01 commits mean all commits *before and not including* the 17:01 commit? <end quote>

Dates and times of each commits are as provided by Craig. This is an argument included in the script I use. I don't know if this interferes at all with my own time zone settings. If it does, I should modify my script. If there is any issue with this, please discuss it with Craig and get back to me with the modification. I will rerun the script.

fschmid

2007-01-03 16:31

developer   ~0014429

Hmm, i don't think that the QGuardedPtr is the cause. I my opinion the ColorSmallPixmapItem, ColorWidePixmapItem and ColorFancyPixmapItem are the cause, as they are calling their expensive redraw function each time the Combobox or Listbox is redrawn. It would be better to move the redraw function to their constructors and draw only a static QPixmap instead.

jghali

2007-01-03 16:52

administrator   ~0014431

>>Hmm, i don't think that the QGuardedPtr is the cause. I my opinion the ColorSmallPixmapItem, ColorWidePixmapItem and ColorFancyPixmapItem are the cause, as they are calling their expensive redraw function each time the Combobox or Listbox is redrawn.

Was already done like that before... The redraw function is a virtual function derived from QListBoxItem which is only called when a specific item need to be redrawn

>>It would be better to move the redraw function to their constructors and draw only a static QPixmap instead.

Not possible. That would need to use a QPixmap by item, which means lots of chances to get out of gdi resource on Windows when list has lots of colors.

jghali

2007-01-04 07:42

administrator   ~0014466

I've committed some changes which reduce color list updates. Does that produce any difference?

subik

2007-01-04 18:23

manager   ~0014500

it's definitelly color issue. I'm testing it on my slow home PC. With scribus-small palette it opens a doc immediatelly. With large palette it takes anout 30s still.

Jean: unfortunatelly no speed improvement still :(

jghali

2007-01-04 19:03

administrator   ~0014504

Strange, have no speed problem on my 700Mhz PC at work...

subik

2007-01-04 19:09

manager   ~0014505

vendor_id : AuthenticAMD
model name : AMD Duron(tm)
cpu MHz : 1400.192
cache size : 64 KB

ale

2007-01-04 20:16

manager   ~0014507

no big change :-(

but i can confirm the fact that reducing the number of colors brings the performance back!

strange thing that a color redraw "bug" is making opening and closing a document soo slow.

what i've noticed is, that closing the colors palette triggers a progress bar (which i guess is normally used when saving a file).

cbradney

2007-01-05 00:50

administrator   ~0014541

Louis, any chance you can test this? There were significant improvements in the code for where we think the issue was and Jean cannot replicate at work now.

louisdesjardins

2007-01-05 03:13

developer   ~0014550

I can confirm subik's and ale's notes.

Sorry, not better here. Build of 3 January 2007

*But* I have noticed the following:
1. At launch, Scribus opens the New dialog.
2. When you hit [OK] it takes several seconds to get the new document.
3. When you go to Edit > Color on the *first* launch of the application the Color menu has the "Color sets" option [X11 RGB set] (by default) and underneath it there is this option [Save color set]. These options are not accessible at all on a _second_ launch. This is odd to me because it's not because you need a specific color list on a few jobs (thus editing the Color set list) that you're going to need that list all the time for all jobs. Anyhow, Scribus doesn't propose this option and instead shows a different color dialog without this.
4. If you change the [X11 RGB set] to [Scribus small] the slowness issue disappears. I did not test with other color sets.
5. If you don't change this color set but you "remove all unused colors" on the current document the issue disappears as well.

I have tested with a few builds that have the issue, including the 20061220 22:36 and yesterday's build for which I have no specific time.

fschmid

2007-01-10 11:41

developer   ~0014695

Today's CVS (from 10th January) is now amazing fast again, please retest and resolve if its really fixed for all.

2007-01-10 19:00

 

scribus-slow.html (17,437 bytes)   
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="KSpread HTML Export Filter Version = 1.6.0">
<title>List1</title>
</head>
<body bgcolor="#FFFFFF" dir="ltr">
<a name="__top">
<a name="list1">
<h1>List1</h1><br>
<table border="1" cellspacing="0"dir="ltr">
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:771
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  slotFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  start
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:772
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  start
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:772
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  pagesSetup
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:772
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  new
  </td>
  <td align="left" valign="middle" width="77" height="13">
  ScribusDoc
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:775
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  tempDoc-&gt;setup
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:775
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  recalcColors
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:775
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  setPage
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:775
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  setMasterPageMode
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:775
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  createDefaultMasterPages
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:775
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  createNewDocPages
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:775
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  addSection
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:775
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  setFirstSectionFromFirstPageNumber
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:775
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  requiresGUI
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:793
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  new
  </td>
  <td align="left" valign="middle" width="77" height="13">
  ScribusWin
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:815
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  new
  </td>
  <td align="left" valign="middle" width="77" height="13">
  ScribusView
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:815
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  setCurrentPage
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:844
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  setGUI
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:844
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  setLoading
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:861
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  setView
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:40:878
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  reformPages
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:41:161
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  showView
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:41:162
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  cmsToolbarButton-&gt;setOn
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:41:163
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  undoManager-&gt;switchStack
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  <b>19:58:44:058</b>
  </td>
  <td align="right" valign="middle" width="65" height="13">
  <b>134</b>
  </td>
  <td align="left" valign="middle" width="87" height="13">
  <b>doFileNew</b>
  </td>
  <td align="left" valign="middle" width="237" height="13">
  <b>styleManager-&gt;setDoc</b>
  </td>
  <td align="left" valign="middle" width="77" height="13">
  <b></b>
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:44:059
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  tocGenerator-&gt;setDoc
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:44:059
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  setUndoEnabled
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:44:060
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  doFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  end
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:44:063
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  start
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:44:065
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  scrActions
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  <b>19:58:45:100</b>
  </td>
  <td align="right" valign="middle" width="65" height="13">
  <b>134</b>
  </td>
  <td align="left" valign="middle" width="87" height="13">
  <b>HaveNewDoc</b>
  </td>
  <td align="left" valign="middle" width="237" height="13">
  <b>updateColorMenu</b>
  </td>
  <td align="left" valign="middle" width="77" height="13">
  <b></b>
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:103
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  propertiesPalette-&gt;setDoc
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:104
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  pagePalette-&gt;setView
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:159
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  propertiesPalette
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:166
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  layerPalette
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:167
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  guidePalette
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:168
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  charPalette
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:168
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  outlinePalette
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:171
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  rebuildLayersList
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:177
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  slotChangeUnit
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:245
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  windowsMenuAboutToShow
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:247
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  HaveNewDoc
  </td>
  <td align="left" valign="middle" width="237" height="13">
  end
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
<tr>
  <td align="left" valign="middle" width="90" height="13">
  19:58:45:247
  </td>
  <td align="right" valign="middle" width="65" height="13">
  134
  </td>
  <td align="left" valign="middle" width="87" height="13">
  slotFileNew
  </td>
  <td align="left" valign="middle" width="237" height="13">
  end
  </td>
  <td align="left" valign="middle" width="77" height="13">
  
  </td>
</tr>
</table>
<br>
<p align="center"><a href="#__top">Nahoře</a></p>
</body>
</html>


scribus-slow.html (17,437 bytes)   

subik

2007-01-10 19:04

manager   ~0014697

it's a little bit better now. But it's still slow comparing 1.3.3.7. There is an uploaded html file (scribus-slof.html) showing the important nodes in the "open doc" task. The slowest nodes are highlighted.

jghali

2007-01-14 22:59

administrator   ~0014805

An additional fix has been commited. It replaces QGuardedPtr in colorpixmapitems by a more efficient solution which fasten styleManager->setDoc() especially. Please test!

subik

2007-01-16 19:10

manager   ~0014828

it's fast as Hakinnen now. I don't see this issue more.

ale

2007-01-17 10:41

manager   ~0014836

problem solved here too!

clap clap clap

a.l.e

Issue History

Date Modified Username Field Change
2006-12-23 15:31 louisdesjardins New Issue
2006-12-23 16:43 fschmid Note Added: 0014200
2006-12-23 20:46 subik Note Added: 0014206
2006-12-23 22:44 fschmid Note Added: 0014208
2006-12-23 23:11 louisdesjardins Note Added: 0014209
2006-12-23 23:13 cbradney Note Added: 0014210
2006-12-24 02:09 louisdesjardins Note Added: 0014212
2006-12-24 12:18 subik Note Added: 0014213
2006-12-24 12:18 subik Note Edited: 0014213
2006-12-25 10:19 fschmid Note Added: 0014215
2006-12-25 12:34 subik Note Added: 0014216
2006-12-25 12:59 subik File Added: valgrind.log.8702.gz
2006-12-25 13:00 subik Note Added: 0014217
2006-12-25 13:01 subik Note Edited: 0014217
2006-12-25 13:10 fschmid Note Added: 0014218
2006-12-25 16:10 louisdesjardins Note Added: 0014219
2006-12-25 19:21 fschmid Note Added: 0014220
2006-12-25 19:22 fschmid Status new => assigned
2006-12-25 19:22 fschmid Assigned To => subik
2006-12-25 22:54 cbradney Note Added: 0014225
2006-12-26 11:04 subik Note Added: 0014245
2006-12-27 03:00 louisdesjardins Note Added: 0014277
2006-12-28 19:10 ale Note Added: 0014297
2006-12-29 00:15 avox File Added: 134-profile.tiff
2006-12-29 00:16 avox Note Added: 0014301
2007-01-01 02:33 louisdesjardins Note Added: 0014344
2007-01-01 02:58 louisdesjardins Note Added: 0014345
2007-01-01 03:00 louisdesjardins Note Added: 0014346
2007-01-01 13:15 fschmid Note Added: 0014347
2007-01-02 20:15 louisdesjardins Note Added: 0014368
2007-01-02 21:50 ale Note Added: 0014371
2007-01-03 02:56 louisdesjardins Note Added: 0014389
2007-01-03 09:04 cbradney Assigned To subik => jghali
2007-01-03 09:24 subik Note Added: 0014395
2007-01-03 09:33 subik Note Edited: 0014395
2007-01-03 10:02 cbradney Note Added: 0014396
2007-01-03 10:19 jghali Note Added: 0014397
2007-01-03 11:31 cbradney Note Added: 0014401
2007-01-03 12:14 cbradney Note Added: 0014402
2007-01-03 12:23 avox Note Added: 0014403
2007-01-03 12:58 fschmid Note Added: 0014405
2007-01-03 13:07 fschmid File Added: Dokument-34958.sla
2007-01-03 13:07 fschmid File Added: Dokument-34958u.sla
2007-01-03 13:10 fschmid Note Added: 0014406
2007-01-03 13:15 subik Note Added: 0014407
2007-01-03 13:27 jghali Note Added: 0014409
2007-01-03 13:29 cbradney Note Added: 0014410
2007-01-03 15:20 jghali Note Added: 0014419
2007-01-03 15:56 louisdesjardins Note Added: 0014426
2007-01-03 16:31 fschmid Note Added: 0014429
2007-01-03 16:52 jghali Note Added: 0014431
2007-01-04 00:02 cbradney Relationship added child of 0003964
2007-01-04 07:42 jghali Note Added: 0014466
2007-01-04 18:23 subik Note Added: 0014500
2007-01-04 19:03 jghali Note Added: 0014504
2007-01-04 19:09 subik Note Added: 0014505
2007-01-04 20:16 ale Note Added: 0014507
2007-01-05 00:50 cbradney Note Added: 0014541
2007-01-05 03:13 louisdesjardins Note Added: 0014550
2007-01-10 11:41 fschmid Note Added: 0014695
2007-01-10 19:00 subik File Added: scribus-slow.html
2007-01-10 19:04 subik Note Added: 0014697
2007-01-14 22:59 jghali Note Added: 0014805
2007-01-16 19:10 subik Note Added: 0014828
2007-01-17 10:41 ale Note Added: 0014836
2007-01-18 18:07 jghali Status assigned => resolved
2007-01-18 18:07 jghali Fixed in Version => 1.3.4cvs
2007-01-18 18:07 jghali Resolution open => fixed
2007-01-26 09:44 jghali Status resolved => closed