facebook

Problem with Copy Paste

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #252353 Reply

    Fran_Varin
    Member

    We are running version 4.1.1 GA Build 20060228-4.1.1-GA. When editing a static HTML page we use the Copy/Paste feature to copy a block of text and paste it to another location on the same page.

    While performing this operation we note the resulting HTML code looks fine. When completed, we save and deploy the code to our IIS web server. When we run the page it renders broken in the web browser but, the preview in MyEclipse HTML editor appears fine.

    We’re somewhat baffled at what could be going wrong here, any insight would be appreciated.

    #252356 Reply

    Riyad Kalla
    Member

    If you view source does the page look fine? If you close the page, restart MyEclipse and open the file again, does the content of the HTML page look fine? (you have to restart and reopen the file, we had a bug that had to do with invalid file states being shown)

    Also if you try a clean install of Eclipse 3.2RC5 and MyEclipse 5.0M1 into new directories with the same page, do you have the same problem? (please do not replace your current setup, just install into new locations the new versions for testing).

    #252370 Reply

    Fran_Varin
    Member

    Hi Riyad,

    We were working on trying the suggestion in your first paragraph and we noticed some additional behavior that seemed significant to us so, here goes.

    We open the HTML file and select the “design/source” tab so that we can view the changes to the actual HTML code as we make the text changes in the “design” pane. We start by simply adding some additional text to an existing paragraph. We then verify that the change is between the “span” tags for the paragraph.

    We then highlight and copy the text. Next, we move to a different paragraph on the same page and place the cursor (in the design pane) where we wish to perform the paste. When we paste, we noticed that the bottom pane (source pane) scrolls from top to bottom. It seems that the cursor is moving throughout the entire source for the page.

    When that completes (it happens very quickly) we then notice that the entire page has been restructured. Some content (comments) have been moved from the bottom of the page to the top immediately under the opening “body” tag. Also, some inline JavaScript has been deleted. Also, it appears that some of the “new line” characters have been ignored or deleted after the “reformat” behavior.

    I’m not sure what this behavior is or why it is happening. Is there some kind of setting in the HTML editor that needs to be tweeked?

    #252378 Reply

    Riyad Kalla
    Member

    Fran,
    I’d like to confirm this as soon as possible. Can you email me the specific page you were editing to support@genuitec.com ATTN Riyad with a link to this post so I know why I’m getting it?

    Also please tell me exactly what to highlight and exactly where to paste it, I’ll go from there and confirm any bugs I find and file them as high priorities.

    #252408 Reply

    Fran_Varin
    Member

    Riyad,

    Thanks for the response…I sent an Email to the link you provided in your response. I included a .html page that you can use as a sample and also Word document that details how we create the problem. Please let me know if I can be of any assistance.

    #252420 Reply

    Riyad Kalla
    Member

    Fran I got your detailed email and confirmed some definite weirdness, we are having a look.

    #252436 Reply

    Fran_Varin
    Member

    Is “definite weirdness” a technical term? (…LOL !)

    That’s good news that we have a repeatable test case for the problem. Please keep me informed regarding what you find. If you need to contact me you can feel free to use the phone # and extension on my Email

    Fran

    #252438 Reply

    Riyad Kalla
    Member

    Will do, thanks Fran.

    #252534 Reply

    Fran_Varin
    Member

    Hello Riyad, I just wanted to check in to see if there has been any progress on this issue?

    #252546 Reply

    Riyad Kalla
    Member

    Nothing yet, it may take a while. THe new designer will be in Milestone 2, so worse case scenario is you/I test it when M2 comes out and if the bug is still there, I file a high priority bug report against it and it gets fixed.

    #252549 Reply

    Fran_Varin
    Member

    OK, is there a general timeframe for M2? I’m asking because someone here will definately want to know. Cut/Paste is an important function for one group of page designers that use that feature quite a bit in other tools.

    #252555 Reply

    Riyad Kalla
    Member

    End of June, we are syncing it up with the Eclipse 3.2 release to have a compat release for folks and get all our functionality out there for testing and smashing on then just fix all the bugs, stabalize and tune it.

    #254712 Reply

    Fran_Varin
    Member

    Hi Riyad,

    I have downloaded Eclipse 3.2 and the MyEclipse M2 build to test the problem with the editor as recommended a while back.

    I am able to launch Eclipse after the configuration but, when I try and open an html file using the “MyEclipse Visual HTML Designer” I receive a ClassNotFoundException in the Error Log.

    Here is the Configuration Summary:
    *** Date: Thu Jul 13 09:52:23 EDT 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0 Milestone 2
    Build id: 20060703-5.0-M2

    *** Eclipse details:
    Eclipse SDK

    Version: 3.2.0
    Build id: M20060629-1905

    Eclipse Platform

    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    Eclipse RCP

    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905

    Eclipse Java Development Tools

    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060609m——6zXJJzJzJq
    Build id: M20060629-1905

    Eclipse Project SDK

    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060627-0816

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Eclipse32\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    aa4_74
    -vm
    C:\WINDOWS\system32\javaw.exe

    Here is the content of my Error Log that details the Exception:
    !ENTRY org.eclipse.ui 4 4 2006-07-13 09:52:10.328
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2006-07-13 09:52:10.328
    !MESSAGE com/genuitec/javascript/debug/mozilla/ImprovedMozillaBrowser
    !STACK 0
    java.lang.NoClassDefFoundError: com/genuitec/javascript/debug/mozilla/ImprovedMozillaBrowser
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:157)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:234)
    at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:231)
    at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:908)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:549)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
    at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:819)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:718)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:679)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2586)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
    at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:288)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:280)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:184)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    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.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)

    #254727 Reply

    Fran_Varin
    Member

    Hi Riyad,

    As a shot in the dark for something to try, I restarted Eclipse with the “-clear” option and the problem in my last post was resolved.

    Perhaps more importantly, the initial copy/paste problem appears to have been addressed in the M2 release as well.

    We will need to move to the new release as soon as a stable version is released. Do you have a time frame for when you feel MyEclipse will ge consider GA?

    #254753 Reply

    Riyad Kalla
    Member

    GA is planned for the start of August, right now the 6th. I’m glad to hear both issues were addressed.

Viewing 15 posts - 1 through 15 (of 17 total)
Reply To: Problem with Copy Paste

You must be logged in to post in the forum log in