Control: tag -1 + confirmed upstream

The question is, who is upstream for this.

¡Hola Aeris!

El 2016-05-28 a las 00:18 +0200, Aeris escribió:
Package: kde-runtime Severity: normal

Compose key has strange behavior in some KDE apps.

For example, I have in my ~/.XCompose <guillemotleft> : "« " <guillemotright> : " »" <Multi_key> <Left> : "←" U2190 <Multi_key> <N> <N> : "ℕ" U2115

I've never used the compose key this way, but I'm partially able to reproduce the issue.

To test this bug I've added a ~/.XCompose that reads:
include "%L"

<guillemotleft> : "« "
<Multi_key> <Left> : "←"

Using the first two, only the first character was printed ("«" or "  ").

I'm using <Multi_key> < < to produce a «, and that is not matched by the <guillemotleft> rule. So I can't reproduce this problem and the behaviour is the same in qt, gtk, x11, etc.

How do you produce the <guillemotleft> so that Compose processes it again?

On the 3rd, nothing happens, but the compose key seems loaded and trigger strange behaviour on the next key. For example, "Compose" then "↑", nothing printed, but pressing "e" after that prints a "∉". And pressing "a" after compose sequance prints nothing, and pressing "a" again prints "å".

This one is easily reproduceable, and it seems that the arrow keys are not being processed by Compose in qt apps. For instance in kwrite, <Multi_key> left-arrow a a, starts processing a compose sequence, moves the cursor to the left, and then uses a a to complete the compose sequence.

This behavior is only observed in some KDE apps (konversation, choqok, kwrite), not on others (kmail) and not on pure QT app (psi, cutecom) or GTK app (firefox, pidgin).

I'm seeing the same behaviour in qterminal, (qt5 only), but I see the "←" in juk (kde4 based), so I think it's more related to the particular widget being used on the qt side of things.

Environments variables set :
QT_IM_MODULE=xim GTK_IM_MODULE=xim QT4_IM_MODULE=xim

I think these variables play no role here.

Happy hacking,
--
"If it ain't broke, don't fix it" -- Bert Lance
"If we can't fix it, it ain't broke" -- Lieutenant Colonel Walt Weir
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature

Reply via email to