First: A screenshot, you can see Xournal on the left, and Inkscape on the right, I copied the stroke from Xournal and insert into Inkscape, then filled the stroke, so you can see it's no Image, it's a path!



But now the problems, If I select more than one stroke, Inkscape will convert the provided SVG to an Image. I added debug lines in Xournal, Inkscape requested only the SVG string, not the Image! So It gets the SVG string.

And the next problem, If I copy something to the clipboard, and then close the clipboard, it takes about 10 seconds until Xournal real exits. In the debugger I can see it hangs in "gtk_clipboard_store", and if I look at the source code I can see "clipboard->store_timeout = g_timeout_add_seconds (10, (GSourceFunc) gtk_clipboard_store_timeout, clipboard);"

If there is somebody which knows the GTK clipboard better than I: what did I wrong?

You can find my clipboard handling in src/control/ClipboardHandler.cpp, Line 50 - 200.

The Source are checked in, but it's still a development release;-)



Andreas
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to