#3484 Previously open files restored as empty

severe bug
closed-fixed
Dale Anson
9
2010-12-16
2010-12-10
mahewa
No

I'm using jEdit 4.4 on Java 1.6.0_20 on Ubuntu.

If jEdit is closed with some open files and even if the "Restore previously open files on startup" option is un-checked, the files are restored on the next startup. Moreover, they're restored as new, empty files (with the original paths and file names).

I'm marking this bug as severe because there's a possible risk that a user e. g. mistakenly re-saves such an empty file or re-writes its contents thus destroys the original file.

Discussion

1 2 3 > >> (Page 1 of 3)
  • Alan Ezust
    Alan Ezust
    2010-12-10

    What plugins are you using? Please attach an activity log.

     
  • Alan Ezust
    Alan Ezust
    2010-12-10

    if you can reproduce this with jedit -noplugins, it's a bug in the core. I suspect it is a bug in either sessions or projectviewer or one of your other plugins that is restoring previously open files.

     
  • Alan Ezust
    Alan Ezust
    2010-12-10

    oo, I can reproduce this with jedit -noplugins. !
    It is confirmed a bug in core.

     
  • Alan Ezust
    Alan Ezust
    2010-12-10

    • priority: 5 --> 7
    • assigned_to: kpouer --> shlomy
     
  • Alan Ezust
    Alan Ezust
    2010-12-13

    Elevating this to high priority.

     
  • Alan Ezust
    Alan Ezust
    2010-12-13

    • priority: 7 --> 9
     
  • I couldn't reproduce this on Windows XP, JDK 6u23, with --settings=temporary-settings.

     
  • Alan Ezust
    Alan Ezust
    2010-12-13

    I can reproduce this on windows XP also. the important part is that "previously open files" must be
    UN-checked, and when I try, I only get one empty but named buffer when I start, corresponding to the last opened buffer I had when I quit.

     
  • Alan Ezust
    Alan Ezust
    2010-12-13

    • assigned_to: shlomy --> nobody
    • summary: Previously open files restored as empty --> Previously open files restored as empty (linux)
     
  • Alan Ezust
    Alan Ezust
    2010-12-13

    • summary: Previously open files restored as empty (linux) --> Previously open files restored as empty
    • assigned_to: nobody --> shlomy
     
1 2 3 > >> (Page 1 of 3)