[
https://issues.jboss.org/browse/JBIDE-9446?page=com.atlassian.jira.plugin...
]
Denis Maliarevich edited comment on JBIDE-9446 at 5/23/12 6:12 AM:
-------------------------------------------------------------------
There is another test case to check that dragging is cancelled by internal eclipse
behaviour:
1. Open 2 JBDS palettes: Window-->Show View--> Other... a) "..-->JBoss Tools
Web-->JBoss Tools Palette" b)"..--> General-->Palette". Both
palettes should be visible in the eclipse window.
(Two palettes has been made under JBIDE-4976 issue)
2. Open any html/jsp file in Eclipse's internal Web Browser.
3. Notice that "A palette is not available" is shown inside palette
"b". Palette "a" is static and still looks the same.
4. Try to drag any element from palette "b" to the browser.
5. On linux in some cases it's not possible to drag the palette element over the
browser.
I think the reason is that in eclipse it's forbidden to drag elements from palette to
the browser. Due to the fact that VPE uses Browser instance in its visual part -- the drag
is being cancelled internally.
was (Author: dmaliarevich):
There is another test case to check that dragging is cancelled by internal eclipse
behaviour:
1. Open 2 JBDS palettes: Window-> Show View-> Other... a) "..-> JBoss Tools
Web-> JBoss Tools Palette" b)"..-> General-> Palette". Both
palettes should be visible in the eclipse window.
(Two palettes has been made under JBIDE-4976 issue)
2. Open any html/jsp file in Eclipse's internal Web Browser.
3. Notice that "A palette is not available" is shown inside palette
"b". Palette "a" is static and still looks the same.
4. Try to drag any element from palette "b" to the browser.
5. On linux in some cases it's not possible to drag the palette element over the
browser.
I think the reason is that in eclipse it's forbidden to drag elements from palette to
the browser. Due to the fact that VPE uses Browser instance in its visual part -- the drag
is being cancelled internally.
Drag and Drop to Visual part of VPE doesn't work
------------------------------------------------
Key: JBIDE-9446
URL:
https://issues.jboss.org/browse/JBIDE-9446
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.3.0.M2
Environment: Linux 32bit, Java Sun JDK 1.6.0_25, JBDS Version: 5.0.0.M2 Build id:
v20110624-1114-H10-M2 Build date: 20110624-1114
Reporter: Vlado Pakan
Assignee: Denis Maliarevich
Fix For: 3.4.x
Steps to reproduce:
1. Create JSF1.2 KickStartProject
2. Open <jsf project>/WebContent/pages/inputUserName.jsp
3. Drag and drop Palette > JSF HTML > commandButton tag to the visual part of
inputUserName.jsp page.
It's working.
4. Undo changes in inputUserName.jsp
5. change tag <html> to <htmlerror> in source of inputUserName.jsp and save
There should be error marker in VPE with text Unknown tag (htmlerror).
6. Repeat step 3.
It's not possible to drop commandButton tag to visual part of VPE
7. Undo changes in source of inputUserName.jsp i.e. change tag <htmlerror> back to
<html> and save
There should be no error marker
8. Repeat step 3.
It's not possible to drop commandButton tag to visual part of VPE
After JBDS is restarted drag and drop functionality works again.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira