facebook

Drag and Drop over XML editor

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #229002 Reply

    myoungstrom
    Member

    I’m using 3.1 M6 with 3.8.4.

    I have a small problem where if I drag a file over the XML to take it to something like my ant task view or something then the dragged file disappears or stopped being dragged. In order for it to work I need to drag the file below the XML editor. If I try to drag the file over any other standard Eclipse editor it works fine.

    I hope that makes sence. 🙂

    Mike

    #229023 Reply

    Riyad Kalla
    Member

    Mike,
    I can’t reproduce this, here is what I’m doing:

    1) Create new web project
    2) Open web.xml
    3) Drag a fake build.xml file from left (package explorer) across the XML editor to the right and drop it in the Ant view

    The drag is still inacted and seems to work fine… this may be a 3.1 issue, I will file it for investigation (I am using all stable builds).

    #229040 Reply

    myoungstrom
    Member

    Ok, it turns out it is a little more tricky then I first thought. It may still be a 3.1 only thing but here are more specific instructions. It’s actually a rather small bug now that I figured out exactly how to duplicate it. 🙂

    1. Create a new Web Project
    2. Open web.xml
    3. Drag any file accross the editor.
    4. If the cursor crosses a place in the file where there is a blank line with no whitespace or nothing then the draging dissapears. So, in the newly created web.xml a new line with no whitespace is created between the opening and closing <web-app> tags. There is another one below the closing web-app tag.

    Give that one a try. Sorry it’s just a minor bug I thought it was bigger. 🙂

    Mike

    #229041 Reply

    myoungstrom
    Member

    FYI it happens in the .jsp editor too.

    Mike

    #229045 Reply

    Riyad Kalla
    Member

    Mike,
    I think you need some honorary award for finding this most obscure bug… I was able to reproduce it just like you said and have filed it for investigation.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Drag and Drop over XML editor

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