| Summary: | Display#setCursorLocation(Point) does not update cursor location on win xp | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Alexander Nyßen <nyssen> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | eclipse.felipe, justin, skovatch |
| Version: | 3.6.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Alexander Nyßen
I noticed this also today whilst testing the GEF patch that this originates from. The mouse cursor not moving also happens (or rather, doesn't happen!?) on Windows 7 also. They both (Display#post and Display#setCursorLocation() work for me on Windows 7 running SWT from HEAD. Note: in your snippet, I replaced the FigureCanvas by a org.eclipse.swt.widgets.Canvas. I ran the snippet and use the arrows keys, I saw the mouse cursor moving around just fine. For you, does it stay at the same position ? (In reply to comment #2) > They both (Display#post and Display#setCursorLocation() work for me on Windows > 7 running SWT from HEAD. > > Note: in your snippet, I replaced the FigureCanvas by a > org.eclipse.swt.widgets.Canvas. > > I ran the snippet and use the arrows keys, I saw the mouse cursor moving around > just fine. For you, does it stay at the same position ? I also observed that it works with Windows 7. The problem occurs on Windows XP, where the cursor stays at the same position. (In reply to comment #3) > I also observed that it works with Windows 7. The problem occurs on Windows XP, > where the cursor stays at the same position. worked for me (XP SP3). What version of SWT are testing ? make sure to try with HEAD. (In reply to comment #4) > (In reply to comment #3) > > I also observed that it works with Windows 7. The problem occurs on Windows XP, > > where the cursor stays at the same position. > > worked for me (XP SP3). What version of SWT are testing ? make sure to try with > HEAD. I tried Eclipse 3.6.1 release build. I will check again using a 3.7 build. (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > I also observed that it works with Windows 7. The problem occurs on Windows XP, > > > where the cursor stays at the same position. > > > > worked for me (XP SP3). What version of SWT are testing ? make sure to try with > > HEAD. > > I tried Eclipse 3.6.1 release build. I will check again using a 3.7 build. I can still reproduce it on WinXP SP3 using 3.7M4. Now I will download the latest nightly build and check it there... (In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > (In reply to comment #3) > > > > I also observed that it works with Windows 7. The problem occurs on Windows XP, > > > > where the cursor stays at the same position. > > > > > > worked for me (XP SP3). What version of SWT are testing ? make sure to try with > > > HEAD. > > > > I tried Eclipse 3.6.1 release build. I will check again using a 3.7 build. > > I can still reproduce it on WinXP SP3 using 3.7M4. Now I will download the > latest nightly build and check it there... And I can still reproduce it with the 3.7 N20101215-2000 win32.x86 nightly build. My XP version is a German Version 2002, SP 3). I am running it on a Parallels virtual machine on my Mac. Can't you reproduce it using this respective version? (In reply to comment #7) > I am running it on a > Parallels virtual machine on my Mac. Can't you reproduce it using this > respective version? What is the SmartMouse option for the virtual machine set to? Parallels may be blocking the ability to move the cursor on you. (from the main menu, Virtual Machine -> Configure -> Advanced -> SmartMouse) (In reply to comment #8) > (In reply to comment #7) > > I am running it on a > > Parallels virtual machine on my Mac. Can't you reproduce it using this > > respective version? > > What is the SmartMouse option for the virtual machine set to? Parallels may be > blocking the ability to move the cursor on you. (from the main menu, Virtual > Machine -> Configure -> Advanced -> SmartMouse) Scott, you are right, this seems to be the reason. (In reply to comment #9) > > What is the SmartMouse option for the virtual machine set to? Parallels may be > > blocking the ability to move the cursor on you. (from the main menu, Virtual > > Machine -> Configure -> Advanced -> SmartMouse) > > Scott, you are right, this seems to be the reason. There's not much we can do about it, then. I think we can close this as invalid. (In reply to comment #10) > (In reply to comment #9) > > > What is the SmartMouse option for the virtual machine set to? Parallels may be > > > blocking the ability to move the cursor on you. (from the main menu, Virtual > > > Machine -> Configure -> Advanced -> SmartMouse) > > > > Scott, you are right, this seems to be the reason. > > There's not much we can do about it, then. I think we can close this as > invalid. You are right. Nevertheless, thank you both for investigating this! |