[JBoss JIRA] (JBIDE-16284) Insertion of JS/CSS from Mobile palette breaks editor content presentation
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16284?page=com.atlassian.jira.plugi... ]
Alexey Kazakov commented on JBIDE-16284:
----------------------------------------
I can't reproduce it.
> Insertion of JS/CSS from Mobile palette breaks editor content presentation
> --------------------------------------------------------------------------
>
> Key: JBIDE-16284
> URL: https://issues.jboss.org/browse/JBIDE-16284
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Alpha1
> Reporter: Viacheslav Kabanovich
> Assignee: Daniel Azarov
> Fix For: 4.2.0.Alpha2
>
>
> 1. Create an html file without <head> node but with <html> node
> {code}
> <!DOCTYPE html>
> <html>
> </html>
> {code}
> 2. Call js/css item on jQuery Mobile palette.
> 3. Click to different lines in the editor.
> FAILURE: Sometimes lines are presented broken.
> Exceptions may be thrown:
> {code}
> !ENTRY org.eclipse.ui 4 0 2013-12-10 12:03:44.753
> !MESSAGE Unhandled event loop exception
> !STACK 0
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalStateException: startLine (9) does not match endLine (10))
> at org.eclipse.swt.SWT.error(SWT.java:4397)
> at org.eclipse.swt.SWT.error(SWT.java:4312)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3717)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3366)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 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:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> Caused by: java.lang.IllegalStateException: startLine (9) does not match endLine (10)
> at org.eclipse.jface.text.projection.ProjectionMapping.toImageLine(ProjectionMapping.java:480)
> at org.eclipse.jface.text.TextViewer.modelLine2WidgetLine(TextViewer.java:5306)
> at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.modelLine2WidgetLine(StructuredTextViewer.java:807)
> at org.eclipse.jface.text.JFaceTextUtil.modelLineToWidgetLine(JFaceTextUtil.java:224)
> at org.eclipse.jface.internal.text.source.DiffPainter.paintLine(DiffPainter.java:220)
> at org.eclipse.jface.internal.text.source.DiffPainter.paint(DiffPainter.java:158)
> at org.eclipse.jface.text.source.LineNumberChangeRulerColumn.doPaint(LineNumberChangeRulerColumn.java:191)
> at org.eclipse.jface.text.source.LineNumberRulerColumn.doubleBufferPaint(LineNumberRulerColumn.java:703)
> at org.eclipse.jface.text.source.LineNumberRulerColumn.redraw(LineNumberRulerColumn.java:859)
> at org.eclipse.jface.internal.text.source.DiffPainter.redraw(DiffPainter.java:382)
> at org.eclipse.jface.internal.text.source.DiffPainter.access$2(DiffPainter.java:381)
> at org.eclipse.jface.internal.text.source.DiffPainter$2.run(DiffPainter.java:371)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 24 more
> {code}
> 4. Close/Reopen editor. Text looks ok.
> It seems that text is inserted correctly, but it broke the projection document.
> If <head> node is present, or if the file has no nodes, then the insertion is done smoothly.
> Tests pass, but they only check the content and cannot find a problem in the presentation model.
> It seemed to me that this feature worked ok previously, and file MobilePaletteInsertHelper had no major modifications. (Resolved issue JBIDE-15111 indirectly supports that it must have been ok.) Maybe this is only a local problem in my environment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JBIDE-16298) Layout for BrowserSim/CordovaSim Preferences should look similar to JRE tab in Java Application Run Configuration
by Denis Golovin (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16298?page=com.atlassian.jira.plugi... ]
Denis Golovin updated JBIDE-16298:
----------------------------------
Attachment: Selection_023.png
Selection_024.png
> Layout for BrowserSim/CordovaSim Preferences should look similar to JRE tab in Java Application Run Configuration
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-16298
> URL: https://issues.jboss.org/browse/JBIDE-16298
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.1.1.Final
> Reporter: Denis Golovin
> Attachments: Selection_023.png, Selection_024.png
>
>
> BrowserSim/CordovaSim Preferences should look very close to Java Application Launcher JRE configuration in Run Configuration Dialog:
> !Selection_024.png!
> Now it looks like:
> !Selection_023.png!
> What should be changed:
> 1. Group label should be "JRE to run BrowserSim/CordovaSim"
> 2. First radio button should use lable "Workspace Default JRE (jre-name-from-installed)
> 3. Second radio should be labeled as "Alternate JRE:"
> 4. Combo box with available JRE's should be placed right after "Alternate JRE:' label
> 5. Description text "See 'Installed JREs' for JRE definitions" should be replaced with ''General settings for BrowserSim/CordovaSim."
> 6. Add 'Installed JREs...' after combo box
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JBIDE-16298) Layout for BrowserSim/CordovaSim Preferences should look similar to JRE tab in Java Application Run Configuration
by Denis Golovin (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16298?page=com.atlassian.jira.plugi... ]
Denis Golovin updated JBIDE-16298:
----------------------------------
Description:
BrowserSim/CordovaSim Preferences should look very close to Java Application Launcher JRE configuration in Run Configuration Dialog:
!Selection_024.png!
Now it looks like:
!Selection_023.png!
What should be changed:
1. Group label should be "JRE to run BrowserSim/CordovaSim"
2. First radio button should use lable "Workspace Default JRE (jre-name-from-installed)
3. Second radio should be labeled as "Alternate JRE:"
4. Combo box with available JRE's should be placed right after "Alternate JRE:' label
5. Description text "See 'Installed JREs' for JRE definitions" should be replaced with ''General settings for BrowserSim/CordovaSim."
6. Add 'Installed JREs...' after combo box
> Layout for BrowserSim/CordovaSim Preferences should look similar to JRE tab in Java Application Run Configuration
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-16298
> URL: https://issues.jboss.org/browse/JBIDE-16298
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.1.1.Final
> Reporter: Denis Golovin
>
> BrowserSim/CordovaSim Preferences should look very close to Java Application Launcher JRE configuration in Run Configuration Dialog:
> !Selection_024.png!
> Now it looks like:
> !Selection_023.png!
> What should be changed:
> 1. Group label should be "JRE to run BrowserSim/CordovaSim"
> 2. First radio button should use lable "Workspace Default JRE (jre-name-from-installed)
> 3. Second radio should be labeled as "Alternate JRE:"
> 4. Combo box with available JRE's should be placed right after "Alternate JRE:' label
> 5. Description text "See 'Installed JREs' for JRE definitions" should be replaced with ''General settings for BrowserSim/CordovaSim."
> 6. Add 'Installed JREs...' after combo box
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JBIDE-16286) CDI builder (not import, workspace rebuild) is very slow in wildfly
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16286?page=com.atlassian.jira.plugi... ]
Alexey Kazakov commented on JBIDE-16286:
----------------------------------------
[~scabanovich] according to [^VisualVM 1.3.2 _083.png] it's -Xmx2048M
> CDI builder (not import, workspace rebuild) is very slow in wildfly
> -------------------------------------------------------------------
>
> Key: JBIDE-16286
> URL: https://issues.jboss.org/browse/JBIDE-16286
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi
> Affects Versions: 4.1.1.Final
> Reporter: Andre Dietisheim
> Assignee: Viacheslav Kabanovich
> Priority: Critical
> Fix For: 4.1.2.Final, 4.2.0.Alpha2
>
> Attachments: cdi-builder.ogv, thread-dump-7_05.txt, thread-dump-7_19.txt, VisualVM 1.3.2 _083.png
>
>
> When working in a wildfly workspace with all wildfly projects imported and CDI builder enabled, workspace rebuilds (that you trigger by changing poms and then do maven update project) are a lot slower than without it. Re-building the whole workspace can easily take up to 20 minutes for me.
> Hard to give more general purpose details, I did a quick screencast to give an impression how slow things are for me.
> [^cdi-builder.ogv]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months