Bug 8544

Summary: Some problems with the editor-pane (repaint, focus)
Product: [Eclipse Project] Platform Reporter: Tokei.Ihto
Component: SWTAssignee: Boris Shingarov <bshingar>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: smolyn
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description Tokei.Ihto CLA 2002-01-26 11:44:07 EST
The editor-pane (also editing a template in the preferences) change the color 
(from normaly white to gray) of the actual line during writing or scrolling 
for a short time (repaint ?).
I would mean, thats double-buffering not activated is.

If i move the text-cursor to one end of the viewed text in the editor-pane and
they scrolled, then funcionozed the repainting not correctly, on any positions
still exists the vertical text-cursor-line. They first cleared, if i write
again.

It's exists a focus-problem.
If i click into the editor-pane, i can write and so on, but the editor-pane tab
don't the focus and also the information in the status-line the old, not the
informations from the editor-pane (writable, insert/override, line/column)
First a click on the editor-pane tab give the focus correctly and write 
the informations in the status-line.

I would like have a another background-color (as white). Is it possible do 
change the background-color (for all windows, or just the editor-pane) ?
A option in the preferences would like ideal.
For me would it okay, if the background-color a light-gray.
Comment 1 Kevin Haaland CLA 2002-02-07 21:30:01 EST
Moving to SWT to investigate GTK specific issues.
Comment 2 Tokei.Ihto CLA 2002-02-08 02:40:11 EST
Additional to the focus-problem.

Is the outline-view active, i click in the editor-pane and mark any 
text, make copy or move and then insert, then is inserted the complete 
method, which is selected in the outline-view, not the text in the 
editor-pane.
Do i click on the editor-pane-tab, then works correct.

A second thing.
If i click on a method in the outside-view or an error on the task-view.
The corresponding text in the editor-pane is selected, also i see 
blinking the cursor, but i can't move the cursor with the keyboard or 
write any text, first after a mouse-click on the position in the 
editor-pane helped.
Comment 3 Boris Shingarov CLA 2002-03-10 12:59:48 EST
The exact semantics of GTK1 and SWT have slight differences that lead to these 
sorts of problems.  This will be fixed in the GTK2 stream.
Comment 4 Boris Shingarov CLA 2002-04-18 12:45:40 EDT
*
Comment 5 Boris Shingarov CLA 2002-04-18 12:46:26 EDT
Both the erase-background-on-repaint and focus, have been fixed in 2.0.