Martin Vermeer wrote:
> On Fri, May 18, 2007 at 12:38:19PM +0200, Abdelrazak Younes wrote:
>> Martin Vermeer wrote:
>>> On Fri, May 18, 2007 at 09:58:59AM +0200, Abdelrazak Younes wrote:
>>>> Martin Vermeer wrote:
>>> ...
>>>
>>>>>>> Another scenario: I am typing on my Nokia 770 Internet tablet 
>>>>>>> over a
>>>>>>> vnc connection. It does 'word completion', which is like very 
>>>>>>> fast typing... and indeed, in LyX 1.4 characters get lost :-(
>>>>>>>
>>>>>> Fine, this is a case I haven't realized.
>>>>>> Here it depends on the value isAutoRepeat() returns.
>>>>>> When it is true it is possible that the keys are lost,
>>>>>> but I assume that for lyx/Qt the word completion looks
>>>>>> like a user input, then it should work.
>>>>> Eh, what I meant was that _even without your patch_ LyX is 
>>>>> dropping characters on the floor. Not good.
>>>> Maybe this tablet uses Input Methods? In which case, 1.5 will be 
>>>> better here. Try it.
>>> I did, and it is even worse, in an amusing way: if I type 'app', 
>>> the
>>> Nokia offers 'ropriate' and what gets inserted into LyX is
>>> 'aprropiate' -- the r has changed place ?!? Repeatable. Every time
>>> I try. But when inserting into vim over ssh, e.g., (what I am 
>>> doing now)
>>> this does not happen.
>>>
>>> BTW what do you mean by 'input methods? Here I have a choice of 
>>> virtual
>>> keyboard and handwriting recognition. How is that relevant?
>> Input methods are used in the CJK world to help the writing. The 
>> technique is very similar to autocompletion method. Try '-dbg key' 
>> to see if it used. If yes, you should see things like 
>> "preeditString = xxx" and "commitString = xxx".
> 
> Did that; not seeing them -- but see below.
> 
>> Abdel.
>>
>> Maybe you could try to put some
> 
> Yes, maybe I could...  instead, I used '-dbg key' and entered
> the strings 'appropriate' and 'laboratories' into an empty file.
> by typing 'app' and 'lab' + completions.
> 
> What I got was 'apprropiate' and 'laboorraties'. The letters
> that are present in duplicate in the completion string, are moved
> to the front. Inspecting the debug output (attached) shows, that these
> duplicate letters have 'isAutoRepeat=1' set...
> 

So we can't use isAutoRepeat also not hasPendingEvents. Best idea
I have is to revert.


> Does this ring a bell?
> 
> - Martin 
> 
> 
>

Reply via email to