[JBoss JIRA] Created: (JBIDE-3127) Broken visual editing
by Yura Zhishko (JIRA)
Broken visual editing
---------------------
Key: JBIDE-3127
URL: https://jira.jboss.org/jira/browse/JBIDE-3127
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.0.0.cr1
Environment: Eclipse 3.4.1, WTP 3.0.2
Reporter: Yura Zhishko
Assignee: Maxim Areshkau
Priority: Critical
Attachments: richT.zip
1) Import attached project into workspace
2) Open /pages/comboBox/index.jsp
3) Minimize visual pane
4) delete next strings inside rich:combobox:
buttonIcon="/pages/comboBox/images/img12.gif"
buttonIconInactive="/pages/comboBox/images/img17.gif"
5) Restore panes
6) Minimize again
7) Return strings
8) Restore panes
9) Click over the <rich:comboBox>
ASSERT: Additing doesn't work
10) Click on the Source pane
ASSERT: Next exeption appears
org.mozilla.xpcom.XPCOMException: The function "removeChild" returned an error condition (0x80530008)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
at $Proxy13.removeChild(Unknown Source)
at org.jboss.tools.vpe.xulrunner.editor.XulRunnerVpeResizer.hide(XulRunnerVpeResizer.java:254)
at org.jboss.tools.vpe.xulrunner.editor.XulRunnerVpeResizer.show(XulRunnerVpeResizer.java:143)
at org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.setSelectionRectangle(XulRunnerEditor.java:403)
at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.setSelectionRectangle(MozillaEditor.java:617)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.setSelectionRectangle(VpeVisualDomBuilder.java:1365)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.setSelectionRectangle(VpeVisualDomBuilder.java:1359)
at org.jboss.tools.vpe.editor.template.SelectionManager.refreshVisualSelection(SelectionManager.java:331)
at org.jboss.tools.vpe.editor.VpeController.sourceSelectionChanged(VpeController.java:798)
at org.jboss.tools.vpe.editor.VpeController.sourceSelectionChanged(VpeController.java:772)
at org.jboss.tools.vpe.editor.VpeController.widgetSelected(VpeController.java:758)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.custom.StyledText.sendSelectionEvent(StyledText.java:6685)
at org.eclipse.swt.custom.StyledText.doSelection(StyledText.java:2861)
at org.eclipse.swt.custom.StyledText.doMouseSelection(StyledText.java:2480)
at org.eclipse.swt.custom.StyledText.doMouseLocationChange(StyledText.java:2464)
at org.eclipse.swt.custom.StyledText.handleMouseMove(StyledText.java:5265)
at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4877)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Bug is very similar to JBIDE-3061, but I couldn't reproduce it for earlier versions of environment
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (JBIDE-3149) Separation editable nodes and atributes from not editable
by Maxim Areshkau (JIRA)
Separation editable nodes and atributes from not editable
---------------------------------------------------------
Key: JBIDE-3149
URL: https://jira.jboss.org/jira/browse/JBIDE-3149
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor core
Reporter: Maxim Areshkau
Assignee: Sergey Dzmitrovich
Priority: Critical
Fix For: 3.0.0.cr1
Now if we create clone for nade, we set's that such node not editable. This logic should be chanded.
If src text not equals to visual text, than such node shouldn't be editable.
We should apply such logic for all our templates.
Function which compare nodes from se and ve should be placed into util class.
In this function should be taking into account difference betwen whitespaces,< and etc. in( ve and se).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months