Comment 25 for bug 496793

Revision history for this message
su_v (suv-lp) wrote :

On 21/11/2011 23:28, Chris Bainbridge wrote:
> 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.

This finally gave me the clue how to reproduce it on OS X: the crash does not occur if 'Ctrl+C' in the text tool context actually copies a highlighted portion of the text content, it is only triggered if nothing is copied to the clipboard because nothing is selected (I never had tried that, apparently because 'Ctrl+C' with nothing selected didn't make sense to me).

Patch tested and fix confirmed with
Inkscape 0.48+devel r10873 on OS X 10.7.2 Lion

@JazzyNico - would you mind testing the patch on Windows?