|
2004-01-29
| ||
| 06:25 | • Ticket [776646ffff] cursor incompatabilities status still Open with 4 other changes artifact: ad42e03d3a user: patthoyts | |
|
2003-07-24
| ||
| 09:14 | • Ticket [776646ffff]: 6 changes artifact: 32eecb4ff9 user: patthoyts | |
| 08:22 | • Ticket [776646ffff]: 4 changes artifact: ae2b200cd7 user: patthoyts | |
| 01:18 | • New ticket [776646ffff]. artifact: 69f08eaeb9 user: patthoyts | |
| Ticket UUID: | 776646 | |||
| Title: | cursor incompatabilities | |||
| Type: | Bug | Version: | None | |
| Submitter: | patthoyts | Created on: | 2003-07-24 01:18:43 | |
| Subsystem: | 31. Cursor Names | Assigned To: | patthoyts | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Open | Last Modified: | 2004-01-29 06:25:28 | |
| Resolution: | Fixed | Closed By: | ||
| Closed on: | ||||
| Description: |
Originally submitted as a Tcl FR by rox - moved to Tk. the native pointer in X is "left_ptr" and in windows is "arrow". i suggest remapping the cursors so that arrow is the native pointer on all platforms the fleur/move cursor does not have the native appearance in windows there is no native hand (hyperlink) cursor spec in windows. it should be easy to add a mapping for hand2 to IDC_HAND. the documentation says the "size" cursor is available in windows but i got an error when trying to use it in my 8.4.2 tclkit. all X cursors are available under windows as tk has them built in. however the windows cursors are not available on other platforms which can cause errors. i would suggest mapping the windows cursor names to their similar X names when running in X. | |||
| User Comments: |
patthoyts added on 2004-01-29 06:25:28:
Logged In: YES user_id=202636 Backported the Windows cursor changes from Tk 8.5 to 8.4 branch. patthoyts added on 2003-07-24 09:14:30: Logged In: YES user_id=202636 Committed fixes for the hand2 cursor and to fix the size and fleur cursors. I've also added tests to ensure than all the documented cursors are actually available for each platform. I think that for portability Tk apps should restrict themselves to the unix defined set of cursors. I'll leave this open for a bit for comments about the default cursor name and if the same set of names should be available everywhere. patthoyts added on 2003-07-24 08:22:55: Logged In: YES user_id=202636 The hand cursor can be implemented by defining hand to match IDC_HAND. This token isn't defined unless WINVER >= 0x0500 but I've found that we can set the resource manually and if it isn't found at runtime, then we will default to the Tk unix-style hand cursor. The IDC_SIZE cursor is documented as depreciated and we should be using IDC_SIZEALL. This deals with the fleur and size cursor problems listed above. | |||