You are here

Notepad++ loses settings when started from taskbar

7 posts / 0 new
Last post
loki_racer
Offline
Last seen: 4 years 12 months ago
Joined: 2019-12-06 09:06
Notepad++ loses settings when started from taskbar

To replicate:

1. install Notepad++ portable
2. start the application
3. Settings -> Style Configurator
4. Style -> pick a new style
5. Save & Close
6. On the Windows taskbar, right click Notepad++ -> Pin to taskbar
7. Close Notepad++
8. Click Notepad++ in taskbar to open/start it
9. style selection has changed back to default

John T. Haller
John T. Haller's picture
Online
Last seen: 55 min 31 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Pin using the PortableApps.com Platform

Windows taskbar pinning doesn't support multi exe apps, environment variables, etc. Use the platform to pin it. You'll see the option when you right click on an app.

Sometimes, the impossible can become possible, if you're awesome!

loki_racer
Offline
Last seen: 4 years 12 months ago
Joined: 2019-12-06 09:06
"Use the platform to pin it.

"Use the platform to pin it. "

I don't know what this means. What is "the platform?"

John T. Haller
John T. Haller's picture
Online
Last seen: 55 min 31 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Title

As the title of my comment said, " Pin using the PortableApps.com Platform " The PortableApps.com Platform is what most people use to download, install, manage, and keep their apps automatically up to date. See here: https://portableapps.com/download

When you right-click on an app in the PortableApps.com Platform, it gives you the option to Pin to Start and it will do it in a way that works with multi-EXE apps.

Sometimes, the impossible can become possible, if you're awesome!

loki_racer
Offline
Last seen: 4 years 12 months ago
Joined: 2019-12-06 09:06
Ok, thanks. It's really

Ok, thanks. It's really weird that Notepad++ is the only portable app that has this issue out of the 6 or 7 that I'm using.

Umident
Offline
Last seen: 4 years 11 months ago
Joined: 2019-12-15 19:52
Some explanation

Hi. When you run Notepad++ and pin it to taskbar, the shortcut goes to PortableApps\Notepad++Portable\App\notepad++.exe, not to PortableApps\Notepad++Portable\Notepad++Portable.exe. This causes problem when reading and writing settings, enviroment variables etc. in Notepad++ and some other apps too. Solution is to pin PortableApps\Notepad++Portable\Notepad++Portable.exe to taskbar using windows explorer.

John T. Haller
John T. Haller's picture
Online
Last seen: 55 min 31 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Two Icons

This will result in two icons, the second will appear when running. The way to have a single icon that works is to use the PortableApps.com Platform to pin it.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments