[Pkg-kde-extras] Bug#694812: subtitlecomposer: Spellchecking aborts program when blank entry encountered
Martin Steghöfer
martin at steghoefer.eu
Tue Oct 6 16:13:54 UTC 2015
tags 694812 + pending
thanks
Apparently this is a general problem of Sonnet::Dialog, which cannot
handle empty buffers. I was able to reproduce the crash outside of
Subtitle Composer in an isolated example by passing an empty buffer to
Sonnet::Dialog.
Sonnet::Dialog's specification doesn't exclude empty buffers, so I
consider this a bug in Sonnet. But even so, it might be good to work
around this problem in Subtitle Composer, too. Even the KDE people
themselves (the creators of Sonnet) apply that kind of workaround in
their applications (e.g. in Kate [1] [2]).
I've created a patch working around the problem by skipping empty
entries (they don't have to be checked anyway). It's in the package's
git repository, waiting to be uploaded.
More information about the pkg-kde-extras
mailing list