Skip to content

Opening as Administrator Issues #14694

@aleonard763

Description

@aleonard763

Description of the Issue

Opening as Administrator affects Notepad++'s "memory" of unsaved and open tabs.

Steps to Reproduce the Issue

  1. I had several unsaved tabs open.
  2. Edited a file that required administrator.
  3. Clicked save.
  4. Was prompted to open as administrator, clicked Yes.
  5. Blank - no tabs, not my file, empty - Notepad++ instance opened.
  6. Opened the file manually.
  7. My changes were not visible (not sure if that used to work).
  8. Re-entered changes.
  9. Save. File updated.
  10. Open non-admin Notepad++ instance.
  11. No tabs visible and I had unsaved changes.

Expected Behavior

  1. I expected file requiring admin access to open in new instance of (Admin) Notepad++
  2. I expected open tabs, including unsaved tabs, to re-open.

Actual Behavior

  1. No files opened when Admin Notepad++ started (restarted)
  2. No tabs visible when Notepad++ is opened in non-admin

Debug Information

Notepad++ v8.6.2 (64-bit)
Build time : Jan 14 2024 - 02:16:00
Path : F:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows Server 2019 Datacenter (64-bit)
OS Version : 1809
OS Build : 17763.5329
Current ANSI codepage : 1252
Plugins :
mimeTools (3)
NppConverter (4.5)
NppExport (0.4)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions