[Lazarus] Keyboard handling messed up in LCL (recent change)

Michael Van Canneyt michael at freepascal.org
Sat Mar 21 15:57:34 CET 2015



On Sat, 21 Mar 2015, Marc Weustink wrote:

>
>
> On March 21, 2015 2:48:52 PM CET, Michael Van Canneyt <michael at freepascal.org> wrote:
>>
>>
>> On Sat, 21 Mar 2015, zeljko wrote:
>>
>>> On 03/21/2015 02:19 PM, Michael Van Canneyt wrote:
>>>>
>>>>
>>>> On Sat, 21 Mar 2015, JuuS wrote:
>>>>
>>>>> What a coincidence!~
>>>>>
>>>>> I just wrote a message to board about this...it is ibus.
>>>>>
>>>>> go to terminal: type: ibus exit
>>>>>
>>>>> Your problems will go away...
>>>>
>>>> Indeed, it solves the problem. Amazing. I completely de-installed
>> ibus
>>>> and all problems are solved.
>>>> Must have been pulled in with some program I installed (I suspect
>>>> gnome-music) recently.
>>>>
>>>> @Laz team: How to explain that Lazarus (in Fact LCL programs, I
>> tested
>>>> that) are the only programs affected, is IBus used in Lazarus on
>> linux ?
>>>> Or is it an artifact of GTK and QT ?
>>>
>>> 1.Have you tested with Qt ?
>>
>> No, but I use KDE as a desktop. So I assume it will affect Qt as well.
>>
>> Quite possible one must scratch Qt from the above :)
>>
>>> 2.Nobody implemented ibus methods for gtk2 and qt.
>>
>> So in fact the presence of ibus must be detected and corrective action
>> must be taken ?
>> That would be bad news :(
>>
>
> Weird, that having an im I installed but not used affects keypress handling. This means it is deeply hooked into gtk/x.
> Before we receive the keypresses. :(

Yes. I noticed ibus plugins for gtk and Qt were installed.
That's why I said it is bad news :(

Michael.




More information about the Lazarus mailing list