Bug 567930 - Caret of textEditor vanishes if a browser widget in a different View get's refreshed
Summary: Caret of textEditor vanishes if a browser widget in a different View get's re...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.16   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-16 07:58 EDT by Hannes Niederhausen CLA
Modified: 2020-10-16 07:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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