Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 172888 - Caret disapears on 'Go to Line...'
Summary: Caret disapears on 'Go to Line...'
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.3 M5   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 173065 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-05 12:13 EST by Markus Keller CLA
Modified: 2007-02-07 10:38 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2007-02-05 12:13:27 EST
I20070205-0009

- Open any text editor
- choose Navigate > Go to Line...
- enter 1, press Return
=> caret is lost between the editor and the toolbar; keyboard focus is gone

The fix for bug 158746 could have caused this.
Comment 1 Dani Megert CLA 2007-02-05 12:17:30 EST
Besides other code we call StyledTextsetSelectionRange(...) inside setRedraw(false/true);

This is a must fix for Platform Text for M5.

Using SWT from last weeks I-build fixes the problem.
Comment 2 Felipe Heidrich CLA 2007-02-05 14:40:40 EST
This bug was caused by the fix for bug 166483.

Steve, remove the line "if (!visible) fixActiveShell ();" from Shell#setVisible(boolean) and this case will then work.
Comment 3 Steve Northover CLA 2007-02-05 18:48:51 EST
Fixed > 20070205

The bug was indeed caused by the fix for bug 166483.
Comment 4 Dani Megert CLA 2007-02-06 02:48:51 EST
>Fixed > 20070205
Nope. Still there using I20070206-0010.
Comment 5 Dani Megert CLA 2007-02-06 02:55:03 EST
SWT did not update their map file and hence the latest test candidate does not cover any code newer than Feb 2.
Comment 6 Steve Northover CLA 2007-02-06 08:28:58 EST
Ok, hang tight.  It'll be in soon.
Comment 7 Dani Megert CLA 2007-02-06 09:52:19 EST
*** Bug 173065 has been marked as a duplicate of this bug. ***
Comment 8 Dani Megert CLA 2007-02-07 10:38:38 EST
Verified in I20070207-0800.
Comment 9 Dani Megert CLA 2007-02-07 10:38:53 EST
.