#111 HTML paste patch (fixes bug 2020246)

closed-rejected
nobody
None
5
2014-08-22
2008-09-26
No

On Linux Ubuntu 8.04, pasting HTML (e.g. from Firefox) to FreeMind is broken. HTML source code appears in the node and hierarchies are not resolved correcty.

See bug:

http://sourceforge.net/tracker/index.php?func=detail&aid=2020246&group_id=7118&atid=107118

Here is a patch created against version 0.9.0-Beta-20. It's rather a hack (it lacks good code style) but it shall work.

Usage:

1. Use source release freemind-src-0.9.0_Beta_20.
2. Extract files from the attached patch archive and replace existing files.
3. Build freemind from source (ant)
4. Run freemind (ant run)

Discussion

  • Julius Adorf

    Julius Adorf - 2008-09-26

    File Added: FreeMind.java

     
  • Julius Adorf

    Julius Adorf - 2008-09-26

    File modified by this patch (1)

     
  • Julius Adorf

    Julius Adorf - 2008-09-26

    File Added: PasteAction.java

     
  • Julius Adorf

    Julius Adorf - 2008-09-26

    File modified by this patch (2)

     
  • Julius Adorf

    Julius Adorf - 2008-09-26

    differences between original and patched version

     
  • Julius Adorf

    Julius Adorf - 2008-09-26

    File Added: FreeMind.java.diff

     
  • Julius Adorf

    Julius Adorf - 2008-09-26

    differences between original and patched version

     
  • Julius Adorf

    Julius Adorf - 2008-09-26

    File Added: PasteAction.java.diff

     
  • Julius Adorf

    Julius Adorf - 2008-09-26

    Gerhard Müller wrote the original patch. I just added a checkbox to the user interface.

     
  • Dimitry Polivaev

    • status: open --> closed-rejected
     
  • Dimitry Polivaev

    The proposed patch does not solve the problem but just disables paste of HTML. Actually a better work around could be that FreeMind itself automatically paste plain text if HTML is corrupted. But both solutions are just work arounds, pasting HTML under linux is still not possible as long as the java bug remains not fixed.

    Dimitry

     
  • Julius Adorf

    Julius Adorf - 2008-09-26

    Yes, this patch is NOT A FIX, it is JUST A WORKAROUND. It's never been my intention that this goes into the main development branch. I see, my choice of words was rather unfortunate.

     

Log in to post a comment.