Re: First click ignored
Re: First click ignored
- Subject: Re: First click ignored
- From: Shawn Erickson <email@hidden>
- Date: Fri, 5 Dec 2003 18:14:16 -0800
Now switch to another app, then try to change the insert point with
the first click of your mouse in an Xcode editor window, which will
bring Xcode back to the front. Yes, the I-beam insert cursor is
placed at the mouseDown location, but the text system does not accept
this new location, and any subsequent keystrokes will be inserted at
the previous location of the insert cursor before the window resigned
main/key. This happens with a fresh erase-install of Panther/Xcode,
and has existed since the WWDC seed, as well as the other bugs Bill
reported.
I either cannot reproduce it on my system (using the latest Xcode
seed) or I don't understand the issue.
If I click out to another application (tried several different
applications and windows in Xcode) and then click on an Xcode editor
that editor windows comes to foreground but the blinking insertion
point stays in its prior location. This is as expected... you are not
clicking a background control (like a button) but in a text editor. In
other words it should not act as a focus and click just a focus. With
the editor now focused I can click moving the insertion point moves
and typing drops characters in the expected location.
I do believe you (and others) are seeing what you are seeing but the
exact recipe to reproduce still eludes (unless the current seed fixes
the issue, go try it if you haven't already).
Ok I have now reproduced this using TextEdit and Mail.app (while type
this email)... it looks to be a timing issue.
If I open a document in TextEdit fill it with some text and put the
inserting carrot at an arbitrary spot then click on the desktop (or any
convenient application window) then click back on the editor and
attempt to move the insertion carrot by clicking with in the first half
second or so it doesn't move for me. If I however wait for a second or
so before clicking it moves as expected. Also if I do it really fast it
appears to work but I may be bouncing my clicks when I go fast. It also
doesn't appear to happen all of the time or I am not consistent enough
in my click times to hit it, it takes several tries.
It looks like some type of message delay that allows click events to
missed at least from the POV of moving the insertion point.
It likely varies based on the speed of the system and user. You guys
need to cut down on the coffee. ;-)
-Shawn
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.