Skip to content

Relaunch as administrator should be more specific #8655

@dummzeuch

Description

@dummzeuch

Description of the Issue

When saving a file fails, notepad++ offers to relaunch itself as administrator. After clicking Yes it indeed starts a new instance with admin rights. Unfortunately this new session will open the original file without the changes the user wanted to save. That the original instance is still open is not obvious and the user (me) might think he lost his changes. The message prompt should contain a hint that a new session will be started, so the changed content will still be available in the existing one.

Something along the lines:

Save failed

The file cannot be saved and it may be protected.
Do you want to launch Notepad++ in Administrator mode?

(Your original Notepad++ instance will still be available with your changed content.)

Or maybe the new instance should be started with a parameter that tells it to show a similar message:

Administrator Instance

A new Notepad++ instance has been started in administrator mode.
The original Notepad++ instance is still available with your changed content.

Metadata

Metadata

Assignees

No one assigned

    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