Bug 441420 - cursor is disapeared in Source editor
Summary: cursor is disapeared in Source editor
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.3.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2014-08-08 08:03 EDT by Tong Jun CLA
Modified: 2019-12-28 11:05 EST (History)
3 users (show)

See Also:


Attachments
the sample to reproduce the bug (4.61 MB, application/x-zip-compressed)
2014-08-29 02:46 EDT, Tong Jun CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tong Jun CLA 2014-08-08 08:03:25 EDT
I extend an editor(like Web Page Editor) from org.eclipse.ui.editors for jsp, the editor's design view uses IE's core. I also write some component like text,button and so on. 
   in some special cases, place some component on the design view, the cursor in sourceview will disappear after press F5. after making a survey, I find these points:
   1,in ie9 this bug cannot reappear, IE10 and IE11 reappear
   2,after reappear the bug, if you click another application or resize the eclipse ,the cursor appear
   so if someone knows this, please give some suggestion, thanks.
Comment 1 Vikas Chandra CLA 2014-08-08 08:06:15 EDT
This is not a PDE issue.

Moving to Platform UI for further investigation.
Comment 2 Paul Webster CLA 2014-08-12 09:48:47 EDT
If it's about an embedded IE instance, sent to SWT.

PW
Comment 3 Niraj Modi CLA 2014-08-13 05:20:50 EDT
Hi Tong,
Can you attach a sample code snippet, which we could run at our end to reproduce this problem ?
Also try with latest eclipse 4.4 release which can be downloaded from below page:
http://download.eclipse.org/eclipse/downloads/index.html
Comment 4 Tong Jun CLA 2014-08-29 02:41:18 EDT
(In reply to Niraj Modi from comment #3)
> Hi Tong,
> Can you attach a sample code snippet, which we could run at our end to
> reproduce this problem ?
> Also try with latest eclipse 4.4 release which can be downloaded from below
> page:
> http://download.eclipse.org/eclipse/downloads/index.html

Hi,Niraj Modi

Now I write a sample to recurring this problem.In the sample I write a html editor and define F6's action.
when press F6, eclipse will refresh the page.
-------------------------------------------------------------------------------
this is the instruction about a editor plugin in eclipse 4.3.1(JavaEE)
1.import this project into your eclipse 4.3.1
2.dubeg this project and you will see a new eclipse is runing
3.create a dynamic web project in the new eclipse
4.create a html file in the folder WebContent then the created html file will open automatically.(if the html file is not openned with [sample] editor,please select the [sample] editor to open the file.)
5.copy the source below to the html file:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<script>
	window.onload=function(){
		document.getElementById("buttonid").innerText="button";
	}
</script>
<body>

<input type="button" id="buttonid" />
</body>
</html>
6.click anywhere in source view, let the cursor be in the source view
7.press F6,you can see the cursor in source view,then press F6 again,you will find that the cursor disappeared. 
At this moment if you click anywhere in design view(broswer) and then click anywhere in source view, the cursor will appear.
-----------------------------------------------------------------------------
that's all thanks.
Comment 5 Tong Jun CLA 2014-08-29 02:46:11 EDT
Created attachment 246519 [details]
the sample to reproduce the bug

the sample to reproduce the bug
Comment 6 Tong Jun CLA 2014-09-18 22:29:15 EDT
I have tried latest eclipse 4.4 , but the bug still exists.
Comment 7 Eclipse Genie CLA 2019-12-28 11:05:44 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.