opening multiple files in 3.4 fails

loomax
2005-12-28
2012-11-13
  • loomax

    loomax - 2005-12-28

    having a file open in notepad 4.3 and trying to open a second one with a right click in the explorer i get an error message:
    ERR: could not open filename.txt

     
    • Robert Metzger

      Robert Metzger - 2005-12-28
       
    • ding.wenren

      ding.wenren - 2005-12-28

      A serious bug!

       
    • pdecat

      pdecat - 2005-12-28

      Same here, looks like the problem is that GetFullPathName is called twice when multiple instances are disabled and the second one sends a message to the first one :
      - once in the second instance when it notifies the first instance
      - twice when the first instance receives the message

      http://cvs.sourceforge.net/viewcvs.py/notepad-plus/notepad-plus/PowerEditor/src/winmain.cpp?r1=1.1&r2=1.2

       
      • pdecat

        pdecat - 2005-12-28
         
      • Don HO

        Don HO - 2005-12-29

        >> looks like the problem is that GetFullPathName is called twice when multiple
        >> instances are disabled and the second one sends a message to the first one...

        Yse, it's due to GetFullPathName function.

        No, GetFullPathName is not called twice, but it concatenates whole path on original full path because of "".

        I update the binary file here (only binary) :
        http://notepad-plus.sourceforge.net/commun/misc/npp3.4.fixed.zip

        Please confirm me if this problem is solved.

        Don

         
        • lorbass

          lorbass - 2005-12-29

          THX; that settles the matter.

          lorbass

           
          • Don HO

            Don HO - 2005-12-29

            Thank you lorbass.

            It's really nice to confirm me for it.
            So that I can do the release.

            Don

             
            • Don HO

              Don HO - 2005-12-30

              The new release is available again on sourforge.

              Don

               
              • pdecat

                pdecat - 2005-12-30

                Thanks, it fixes the bug.

                Regards,
                Patrick.

                 
    • Nobody/Anonymous

      Looking forward to an emergency release.

       
    • loomax

      loomax - 2005-12-30

      This was really a quickfix -- congratilations and thanx

      from Munich,Germany

       
    • Paul

      Paul - 2006-01-18

      I downloaded the program on 1/12/2006 and it, version 3.4, exhibits the same non-functionality.

      If I attempt to open a file from within windows explorer whicle v3.4 is open, the latest opened file replaces the previously opened file!

      Where do I get the fix?

      Thanks,

      Paul

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks