| Summary: | Caret not visible | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Daoen Pan <daoenpan> | ||||||||||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||||||||||
| Severity: | normal | ||||||||||||||||
| Priority: | P3 | CC: | daniel_megert, daoenpan, eclipse.felipe, jkwuc89, lshanmug, macocha, remy.suen, skovatch | ||||||||||||||
| Version: | 3.6 | Keywords: | triaged | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Hardware: | Macintosh | ||||||||||||||||
| OS: | Mac OS X | ||||||||||||||||
| Whiteboard: | stalebug | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Daoen Pan
Created attachment 165264 [details] My first patch to implement the feature two screenshot for the result http://dev.consideo-ag.com/downloads/ibeam.png http://dev.consideo-ag.com/downloads/cursor_pref.png The OS automatically chooses the color depending on the current background on the fly, that's how it's done in all text widgets. One static color is not enough because you can have many different backgrounds. (In reply to comment #2) > The OS automatically chooses the color depending on the current background on > the fly, that's how it's done in all text widgets. One static color is not > enough because you can have many different backgrounds. This did not happen for StyledText based editor such as text and java editor, on at least Windows and MaOSX. My cursor is always black. Can you attach a screenshot? There was a bug on the Mac but that got fixed for 3.5.1. (In reply to comment #4) > Can you attach a screenshot? There was a bug on the Mac but that got fixed for > 3.5.1. http://dev.consideo-ag.com/downloads/inv_ibeam.png as you see, the cursor is really hard to see. i habe try this with 3.5 and 3.6 on macosx-cocoa 10.6 and windows 7. Indeed. Which OS? Could you export all your preferences and attach them here? Also, can you provide a picture that also shows the caret in the text. Created attachment 165270 [details]
my full preference
(In reply to comment #7) > Indeed. Which OS? Could you export all your preferences and attach them here? > Also, can you provide a picture that also shows the caret in the text. MacOSX 10.6 and Windows 7. the color of caret is OK. http://dev.consideo-ag.com/downloads/caret.png Created attachment 165272 [details]
Looks good on Windows XP
Ah, my mistake, it looks also good on Windows 7. only cocoa not good. >Ah, my mistake, it looks also good on Windows 7. only cocoa not good. OK. Are you sure that you are using latest 3.6 or 3.5.1 or 3.5.2 build? Looks similar to bug 275589. (In reply to comment #12) > >Ah, my mistake, it looks also good on Windows 7. only cocoa not good. > OK. Are you sure that you are using latest 3.6 or 3.5.1 or 3.5.2 build? > > Looks similar to bug 275589. Yes, i am sure with my eclipse version. This bug is only on cocoa, right ? Created attachment 165479 [details]
second patch with bugfix
Created attachment 165480 [details]
third patch with bugfix
Created attachment 165481 [details]
third patch with bugfix
Is this no longer an SWT bug? Looks like it's being addressed in the text editor. >Is this no longer an SWT bug? Looks like it's being addressed in the text >editor. Yes it is an SWT bug: the caret should be white on black/dark background (see bug 275589 for a similar problem in the past). The initial request was to workaround this but Text is not adding a preference for that, see comment 2. *** Bug 313504 has been marked as a duplicate of this bug. *** Based on testing I did this morning, this issue is present in following Eclipse versions: Version: 3.5.2 Build id: M20100211-1343 Version: 3.6.0 Build id: I20100513-1500 *** Bug 357248 has been marked as a duplicate of this bug. *** Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more information. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |