Re: Win32lib questions

new topic     » goto parent     » topic index » view thread      » older message » newer message

Andy Drummond wrote:
> 
> CChris wrote:
> > 
> > Andy Drummond wrote:
> > > 
> > > I am one of those who had a problem; I can't define what I did to cause
> > > the
> > > effect, but what happened was that I got latched into the highlighting
> > > text
> > > mode. Whatever I did with shift - and other control keys - wherever I
> > > moved
> > > the cursor the text between the cursor and some point in the text was
> > > highlit.
> > > I had to quite the program completely and restart in order to get back to
> > > normal. Linking IDE with 0.60.6 (the IDE version) completely fixes the
> > > bug.
> > > I hope that is of some use, Christian.
> > > 
> > > Andy
> > 
> > 
> > Are you using a laptop by any chance? The new mechanism for keyboard
> > handling
> > relies  a little more than the previous one on the keyboard to debunk keys
> > properly,
> > so it could explain things. Otherwise... I'll try to stress test IDE a
> > little
> > more. I already have a clue: the shift state isn't restored properly in
> > _some_
> > case. which one... that's where I need more precise input on what you have
> > to
> > do with the keyboard to get into this uncomfortable state.
> > 
> > CChris
> 
> Hello CChris.  Yes, I am using a Dell D610 laptop on a docking port so it 
> looks like a real PC.  I have had no trouble like this before with any other
> code - or machine come to that.  But I certainly take the point that laptops
> do do some very weird things at times.
> I have restored my WinLib 0.70 and given it another try to see if I can
> identify just what it is I am doing which results in this state of affairs.
> 
> I have found that I can get a similar bug whereby the up & down arrow keys
> move the text up and down but the cursor stays on the same line - as if the
> control key was jammed. I was playing with the shift & control keys, up and
> down arrows, pageup & pagedown, and enter. I sometimes took a couple of
> minutes to get the bug; sometimes a few seconds. But I could never get a
> repeatable situation. I will continue trying to get a repeatable condition
> but I have no real hope at present.... it is an odd one.
> 
> Andy

Judith mentioned she was having no such trouble with the last test version I had
committed. Here is a link to it:

http://oedoc.free.fr/win32lib_C080507_2320.zip

Please check whether you still get in trouble with this version. This will help
sort out whether the bug is lurking dormant there or if it's something that
happened in 0.70.1 beyond that point. I didn't run a diff on the files, so I
don't knwo if they are any different, or how.

If you still are in trouble with this code as well, then it means that the
sequence of WM_KEYDOWN/WM_KEYUP can't be relied upon 100% on these keyboards. As
I don't have any laptop, it will be a little hard to figure out a replacement
strategy, but I will try if that's the way to go. And if you don't, I'll ask
Derek what he's done smile

CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu