Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Notepad++ after windows restart #11934

Closed
HarelM opened this issue Jul 20, 2022 · 2 comments
Closed

Open Notepad++ after windows restart #11934

HarelM opened this issue Jul 20, 2022 · 2 comments

Comments

@HarelM
Copy link

HarelM commented Jul 20, 2022

First and foremost, this is a great piece of software! I love it! Thanks you for all the hard work on this!

Description of the Issue

If Notepad++ was open before a windows restart (for windows updates for example) it will not be reopened after the restart had completed.

Steps to Reproduce the Issue

  1. Open notepad++
  2. Restart windows
  3. --> Notepad++ is not lunched after the system finishes to boot up.

Expected Behavior

This is more of a feature request, but it would be nice if notepad++ could be opened after restart

Actual Behavior

I need to manually open it.

Debug Information

Not a bug...

More info

I think the following article might help, but I haven't been writing in C++ for a long time so I'm not sure:
https://docs.microsoft.com/en-us/windows/win32/recovery/registering-for-application-restart

Also worth noting:
I use windows and other applications such as outlook, edge, chrome, teams etc... have been adopting this behavior lately, and I think it's a great user experience.
I'm also using a mac (which sadly can't run notepad++ >>sob<<) and has this experience for longer time now.

@CennoxX
Copy link
Contributor

CennoxX commented Jul 20, 2022

Duplicate of #9722.

@HarelM
Copy link
Author

HarelM commented Jul 20, 2022

My bad, thanks for the info!

@HarelM HarelM closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2022
donho pushed a commit that referenced this issue Sep 21, 2023
It will allow for the Notepad++ to be a "restartable app", like some other SW can do today (eg Google Chrome, Mozilla Firefox or all the Microsoft UWP apps).

This is to create a seamless experience wherein, if you have to reboot your PC, you can now pick back up from where you left off and resume being productive.

The OS app-restart feature needs at least Windows 10 (20H1) and the user has to switch on the "Restart apps" in the system Settings (subsection Accounts > Sign-in options).

Implemented as per previous discussion: #12541 (comment)

To disable this feature, add "noRestartAutomatically.xml" into "%APPDATA%\Notepad++\" or Notepad++ installation directory.

Fix #9722, fix #11721, fix #11934, close #14074
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants