From jira-events at lists.jboss.org Wed May 23 06:13:19 2012 Content-Type: multipart/mixed; boundary="===============7237473460989283457==" MIME-Version: 1.0 From: Denis Maliarevich (JIRA) To: jbosstools-issues at lists.jboss.org Subject: [jbosstools-issues] [JBoss JIRA] (JBIDE-9446) Drag and Drop to Visual part of VPE doesn't work Date: Wed, 23 May 2012 06:13:19 -0400 Message-ID: <54060198.101465.1337767999443.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1282122673.98468.1312294944266.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============7237473460989283457== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/JBIDE-9446?page=3Dcom.atlassian.jira.= plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12695004#c= omment-12695004 ] = 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 Tool= s Web-->JBoss Tools Palette" b)"..--> General-->Palette". Both palettes sho= uld 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". Pa= lette "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 ove= r 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 i= ts visual part -- the drag is being cancelled internally. = was (Author: dmaliarevich): There is another test case to check that dragging is cancelled by inter= nal eclipse behaviour: 1. Open 2 JBDS palettes: Window-> Show View-> Other... a) "..-> JBoss Tools= Web-> JBoss Tools Palette" b)"..-> General-> Palette". Both palettes shoul= d 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". Pa= lette "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 ove= r 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 i= ts 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 /WebContent/pages/inputUserName.jsp > 3. Drag and drop Palette > JSF HTML > commandButton tag to the visual par= t of inputUserName.jsp page. > It's working. > 4. Undo changes in inputUserName.jsp > 5. change tag to in source of inputUserName.jsp and sa= ve > 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 back to 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 administrato= rs: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============7237473460989283457==--