[scribus-dev] Please confirm or comment "2 strokes accented characters cant be typed in"

JLuc jluc at no-log.org
Fri Jun 27 20:29:04 UTC 2014


Le 26/06/2014 06:02, William Bader a écrit :
> I think that when you type directly into a text frame, CanvasMode_Edit in canvasmode_edit.cpp
> handles keyPressEvent(QKeyEvent *e).
> Does it also need to handle inputMethodEvent(QInputMethodEvent *e) to get composed characters?

> The story editor seems to handle composed characters in SEditor::inputMethodEvent(QInputMethodEvent *event) in
> ui/storyeditor.cpp.

> I tried making a CanvasMode_Edit::handleKeyEvents() and CanvasMode_Edit::inputMethodEvent(QInputMethodEvent *event).
>   handleKeyEvents() was called for each component of the composed character but inputMethodEvent() was not called at the
> end, so it is probably more complicated.  Something else might need to call setAttribute(Qt::WA_InputMethodEnabled).

Thanks for exploring the issue.
I hope it will lead to some insight and solution !

JLuc





More information about the scribus-dev mailing list