From: Art O. <ol...@tr...> - 2011-04-20 19:10:35
|
Hi, Michal. When I use the addText gui button to insert new test into a document, I find that successive insertions require exponentially greater time to execute. During this period the gui is frozen and the code consuming 100% cpu but modest memory. After three or four insertions the time to add additional characters will be 10s of minutes. The length of the added strings seem to be irrelevant. After repeated additions the process of saving the file on exiting the gui is quite long. When you save a revision and exit the gui, subsequent text additions start quickly and increase in time as before. I would like to be able to add annotations to documents, and this is not fully supported in the gui. I've found that I can instantiate an annotation from the command line with addAnnotation(firstSelected(), p1, p2, l, h) after selecting a page with the cursor. The annotation appears when the gui "select annotations" is set, but the content is not visible, and when I select the annotation I get an error:QString::arg(): Argument missing: go_to_target_from_selected_annotation(), 0). Clearly some links are missing. Is there a simple script to generate editable annotations? Finally, when i do gui select text and select some, it appears in a little window of the gui and can be edited. As soon as you change anything, all the spaces disappear, and if spaces are added manually they do not appear on the pdf. Is there a workaround for this. I'm using the latest code downloaded from the ubuntu rep. Thanks for your help. Perhaps others have experienced similar problems? |