Community
    • Login

    non-saved docs are lost if reopen as administrator

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 4 Posters 577 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • oa klkO
      oa klk
      last edited by

      when editing and saving system32/drivers/etc/hosts,
      notepad++ ask me to reopen as administer, after I click yes.
      notepadd++ reopen as administrator,

      but all the other tabs are closed and all non-saved docs are lost!

      This is a critical bug!

      Notepad++ v8.3.3 (64-bit)
      Build time : Mar 13 2022 - 17:20:02
      Path : C:\Program Files\Notepad++\notepad++.exe
      Command Line :
      Admin mode : OFF
      Local Conf mode : OFF
      Cloud Config : OFF
      OS Name : Windows 10 Pro (64-bit)
      OS Version : 2009
      OS Build : 19043.1586
      Current ANSI codepage : 936
      Plugins : mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll NppXmlTreeviewPlugin.dll

      oa klkO PeterJonesP Alan KilbornA 3 Replies Last reply Reply Quote 0
      • oa klkO
        oa klk @oa klk
        last edited by

        I can’t reproduce it, this happens randomly.

        1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @oa klk
          last edited by

          @oa-klk said in non-saved docs are lost if reopen as administrator:

          This is a critical bug!

          As a Community of Notepad++ users, we cannot fix bugs in the application for you.

          FAQ: How to file an official Bug Report

          1 Reply Last reply Reply Quote 1
          • Alan KilbornA
            Alan Kilborn @oa klk
            last edited by

            @oa-klk said in non-saved docs are lost if reopen as administrator:

            but all the other tabs are closed and all non-saved docs are lost!

            Good workaround:
            Avoid by saying “no” when it asks you to reopen as admin.

            Even better workaround:
            Edit your “system32/drivers/etc/hosts” in a separate instance of Notepad++.

            1 Reply Last reply Reply Quote 2
            • oa klkO
              oa klk
              last edited by

              @PeterJones @Alan-Kilborn
              Thanks for looking into it and thanks for the suggestion.

              1 Reply Last reply Reply Quote 0
              • Gerald KoonceG
                Gerald Koonce
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote -1
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors