Summary: | [Patch] Characters are appended to first line | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Torquil Macdonald Sørensen <torquil> |
Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amanpreet.alam, romnes |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Patch for review
Katepart IM method fix |
Description
Torquil Macdonald Sørensen
2007-11-23 23:13:16 UTC
Created attachment 22205 [details]
Patch for review
1) I can reprocude this bug in POSIX locale and SVN revision 741752
2) Attaching a proposed patch which fixes the reported issue.
The problem used to be that KateViewInternal never realized the first composed
input has finished. Therefore, the first "é" is inserted correctly, all
following composed characters are inserted at the position of the first as
well.
I am not too familiar with InputMethod stuff, though, and not sure this is the
correct solution. Please review.
Confirming. Note that it's not so much caused by accents, but by composing a character (in this case with a dead accent key, followed by an "e"). Using an fr keyboard layout "é"s can be typed without problems. *** Bug 153251 has been marked as a duplicate of this bug. *** Created attachment 22376 [details]
Katepart IM method fix
I've reviewed the previous patch, and it causes errors when writing in
Japanese. This new patch seems to work for both cases, makes more sense to me,
and doesn't require accessing the input context (I don't think it should have
to). Please test this patch.
Thanks, Hamish.
Your patch works fine, here (tested with various dead keys, but only european characters). While you're at it, though, I can still reproduce bug #102366 . SVN commit 745575 by rodda: Fix IM input positioning and overwriting bugs Reviewed by Thomas Friedrichsmeier (thanks!) BUG:152808 M +28 -13 kateviewinternal.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=745575 *** Bug 151917 has been marked as a duplicate of this bug. *** |