Community
Participate
Working Groups
I20030528 MacOS X 10.2.6 - start Eclipse - in the Navigator select any resource - from the context menu select "Rename" Observe: the cell editor field is too small and leaves only the upper half of the text visible.
Created attachment 5054 [details] Tree cell editor too small
Text widget with no border is now smaller. Waiting on VI for fixes to TreeEditor etc.
VI, can you implement the vertical alignment thing?
When TreeEditor etc. is fixed, someone will have to contact JFace with the good code.
Vertical alignment now implemented on TreeEditor. Will investigate what is required by JFace.
*** Bug 49208 has been marked as a duplicate of this bug. ***
We could gain another two pixel of vertical space, if we can get rid of the black border. The Mac has a focus ring, so there is no need to have a black frame too.
I realized that this cell editor is custom made in the RenameResourceAction. Moving to platform.ui. Increased severity to major because renaming resources is really hampered by this problem.
In addition, the Text doesn't seem to use the same font as the underlying Tree.
Created attachment 8494 [details] patch for RenameResourceAction.java This patch fixes both problems for me. (Apply to project).
fixed and released for I20040413
*** Bug 64296 has been marked as a duplicate of this bug. ***
In M9 the system property "org.eclipse.swt.internal.carbon.noFocusRing" has been introduced as a temporary workaround for bug #28842. The existence of the property turns the native focus ring off. As a consequence the fix for this problem must now include a test for existence of the system property "org.eclipse.swt.internal.carbon.noFocusRing". Without this, the cell editor will have no border at all.
Created attachment 11445 [details] patch with additional check for system property
RC2 candidate
You have to check if the editor is in a main window too. The focus ring is drawn on dialogs.
Thanks for mentioning this.
Created attachment 11505 [details] patch with additional check for system property
Michael, OK to fix for 3.0 RC2 ?
Fixed for I20040604
Verified on Mac OS 10.3.3 using I20040529.
Adding Kim so that she can mark this bug as verified.
Marking as verified on your behalf.
I'm still seeing this problem on RC2 using the Properties view to edit a Text field. The text gets cut off at the bottom of the field.
This bug report (and its fix) is only for the Navigator. [I've updated title accordingly] Please file a new bug against the Properties view.