The problem is that when text is copied the clipboard is cleared, but
clipboard->set_text is not called to replace it if the selected text is
empty. This results in the clipboard being NULL.

in ClipboardManagerImpl::copy

tools_isactive(desktop, TOOLS_TEXT) // is TRUE
_discardInternalClipboard(); // _clipboardSPDoc = NULL
_clipboard->set_text(selected_text); // only called when selected_text != ""
_onGet // assert _clipboardSPDoc != NULL fail

Fix attached.

** Patch added: "inkscape-clipboard-fix.patch"
   
https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/496793/+attachment/2604325/+files/inkscape-clipboard-fix.patch

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/496793

Title:
  ctrl c ctrl v of text in edit mode crashes inkscape

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/496793/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to