Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 50735 - [navigation] Cursor changes to a hand
Summary: [navigation] Cursor changes to a hand
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 major (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 55874 97081 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-27 22:21 EST by Wassim Melhem CLA
Modified: 2006-03-29 11:52 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wassim Melhem CLA 2004-01-27 22:21:47 EST
Build: I-20040127

This has been happening for a few I-builds now, and it drives me nuts.
Sometimes when I'm editing my java file for instance, the cursor changes to a 
hand cursor on its own, and nothing I could do to make it turn back to the 
default.  I have to shut down and restart.
Comment 1 Dani Megert CLA 2004-01-28 03:54:50 EST
Wassim, are you talking about the mouse pointer or the caret in the text?

Note: we never set a hand pointer or use it anywhere. Did you change your
default mouse pointer to use the hand scheme? If so, at least my hand scheme has
a hand for all types of pointers (point, text, busy, ...). About what mouse
pointer are you talking when saying "hand"?.

Note: The only place where we modify the mouse pointer is when you press Ctrl to
open the type or method (blue underline). Could that cause the problem?

>I have to shut down and restart
I assume "only" Eclipse? Doesn't closing and reopening the editor help?
Comment 2 Tom Hofmann CLA 2004-01-28 05:20:09 EST
we *do* use the hand cursor to indicate hit detection:
- in the overview ruler 
- in the quick diff ruler
Comment 3 Dani Megert CLA 2004-01-28 05:32:10 EST
Correct. I was only thinking about the editor area where we use the hand for the
linking but you're right it might also be caused by the overview or quick diff
ruler.

Wassim, can you tell us which scenario is more likely (linking in text, overview
ruler or quick diff ruler)?

A possible cause for this might be the progress "hover" which takes focus. This
has been introduce with I20040121. Did you see this before that build?
Comment 4 Wassim Melhem CLA 2004-01-28 08:18:11 EST
Both the mouse pointer and the caret both turn into a hand.  The latter is 
what provoked the "drives me nuts" comment.

It is more likely that it has to do with linking with text, as I distinctly 
remember that once when this happened, a method name remained hyperlinked 
(i.e. in blue) even when the mouse moved away.
Comment 5 Dani Megert CLA 2004-01-28 08:30:25 EST
Yup. Linking mode as I suspected. Closing the editor did not fix this, right?
Can you tell us whether you saw this before I20040121 or not. I'm pretty sure
this is caused by this new job hover.

To protect the editor against such scenarios we should not only track the mouse
but also listen to deactivation.
Comment 6 Wassim Melhem CLA 2004-01-28 08:40:02 EST
It seems like longer than just one week, but maybe it just seems that way.
Closing the editor does not usually solve this.  I have to restart Eclipse.
Comment 7 Chris Laffra CLA 2004-02-17 15:44:57 EST
I get the same hand cursor roughly once a day. Has to do with other things 
popping up, it seems. It is also related to pressing the Ctrl key.
Maybe things popping up when the Ctrl key is pressed/released.

I can make it go away again by pressing Ctrl, and move to something that will 
turn into a link. Releasing Ctrl key will restore default arrow cursor.
I have seen this before Christmas, if memory serves me well.
Comment 8 Dani Megert CLA 2004-02-18 03:34:19 EST
Chris just to make sure you didn't see the intended hand cursor: when you press
Ctrl and then move the mouse it *will* change to hand cursor whenever you move
over a link (blue + underlined) unless you
- follow a blue underlined link
- release the Ctrl key
- move the cursor away from the link
Comment 9 Dani Megert CLA 2004-03-24 08:23:29 EST
*** Bug 55874 has been marked as a duplicate of this bug. ***
Comment 10 Dani Megert CLA 2005-05-30 03:49:56 EDT
*** Bug 97081 has been marked as a duplicate of this bug. ***
Comment 11 Dani Megert CLA 2005-05-30 03:50:12 EDT
See bug 97081 for a test case
Comment 12 Dani Megert CLA 2005-06-01 07:27:16 EDT
Approving for 3.1 RC2.
Comment 13 Dani Megert CLA 2005-06-01 09:11:43 EDT
Fixed in HEAD.
Comment 14 Wassim Melhem CLA 2005-06-01 09:34:58 EDT
I'm so happy.
Comment 15 David Saff CLA 2005-06-07 10:46:18 EDT
Verifying...
Comment 16 David Saff CLA 2005-06-07 10:46:44 EDT
Verified in N20050607-0010
Comment 17 Dani Megert CLA 2005-06-07 11:43:32 EDT
.