I can reproduce the bug with your files on my system. I don't see
anything wrong with your files. Hence it's a real bug.

I believe this is caused by the "pressure sensitivity" option, which
causes the rendering to become much more complicated, and by issues in
the rendering libraries (libgnomecanvas and libart) used by xournal --
xournal is asking them to render several million antialiased polygonal
curves, each with its own width parameter, and they seem to become
completely overwhelmed and hog X resources in a way that's hard to
believe.

I hope that, if you stop using the "pressure sensitivity" option, you'll
be able to get much further (though things will eventually slow down
again as the volume of notes gets large). Due to the inefficiency of the
rendering libraries, until xournal gets completely rewritten for
performance you should probably have no more than 20-ish pages of
handwritten notes in your document, and even much less if using pressure
sensitivity.

If you e-mail me so I know how to reach you, I can send you a version of
Simmetrie.xoj with all the stroke width information removed, it loads
successfully and reasonably fast (still a bit slow, but hey it's 50
pages).

QUESTION: is this indeed a new bug for you, i.e. were you previously
able to work fine with this document and others of similar size with
variable-width strokes? If so, I'm assuming it must be an issue in
either the libraries or the X server, because absolutely nothing has
changed in xournal's rendering code in the last year or so.

Denis

-- 
xorg 100% cpu while using xournal
https://bugs.launchpad.net/bugs/657783
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to