Bug 567930

Summary: Caret of textEditor vanishes if a browser widget in a different View get's refreshed
Product: [Eclipse Project] Platform Reporter: Hannes Niederhausen <hniederhausen>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: hniederhausen
Version: 4.16   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Hannes Niederhausen CLA 2020-10-16 07:58:03 EDT
Hi,

I have a view which refreshes itself. When it dows so, an open text editor looses its caret. It is not visible although the caret is set in the StyledText.


I created a small example program (where the refresh happens, when the text editor get's dirty. You can find it here: https://github.com/hannesN/hidden-caret-example
If the browser shows google.com the page grabs the focus and i am typing into googles search text. Maybe this is releated to bug #181410 ?

Can you help me, do you have a workaround. I tried to set the focus to the editor, but it didn't help.

In the example the caret returns after pressinf "return". In my real application is that *not* the case.

thanks in advance
Hannes