Themes no longer work in v7.5.8
-
@Peter-Row said:
…it does seem like a bug in the operation of Notepad++
What kind of bug do you mean?
-
Why does the installer put the default theme files it comes with in the users profile who installs it?
Surely it should put them in the same places as Notepad++ itself. The only thing that should be in the user profile folder is the choice not the theme itself. If the user imports a new theme, then fair enough put it in there profile.
The other issue is the elevated permissions thing I mentioned in previous response.
Basically anybody in a business domain environment like mine where things get looked down so that you have a standard user account to use and an admin user account to use is going to run into these same 2 problems every single time. It seems like with a few (small?) changes both these issues could be resolved without affecting either use case.
-
@Peter-Row said:
Why does the installer put the default theme files it comes with in the users profile who installs it?
Surely it should put them in the same places as Notepad++ itself.This would be a bad idea because themes are intended to be changed by Notepad++ users. If the theme files would be stored in the installation folder of Notepad++ this wouldn’t be possible because this folder is write protected for normal Windows users. Furthermore it wouldn’t be possible to have user specific themes.
@Peter-Row said:
If the user imports a new theme, then fair enough put it in there profile.
Did you already follow my advice to copy the Notepad++ folder from one user profile to the other? Maybe the absence of this folder prevented Notepad++ from importing your theme. If this is the case it could be considered as a bug that Notepad++ silently does nothing instead of showing an appropriate error message.
@Peter-Row said:
The other issue is the elevated permissions thing I mentioned in previous response.
If you run an installer under a certain user account you can not expect that the installer magically knows that you actually want to install under an other account. It works like it should.
-
Addendum: To overcome your problem you could use a portable installation of Notepad++ that you can put to an arbitrary folder on your hard disk.
-
Forget my point concerning the “elevated permisson thing”. I missed what you meant. I guess you meant this:
@Peter-Row said:
…if I have a file open that’s in a protected area and so Notepad++ prompts for elevated permissions when I try to save, after entering admin details at UAC prompt, Notepad++ reopens as admin but the file is no longer open, presumably because it’s effectively running as a different user.
It’s like you presumed, the problem is the two different user accounts you use to work with Notepad++. To load the file you had open before the restart of Notepad++ with admin rights it has to be remembered somewhere which file to load. The only reliable place for that is the user profile under which you run Notepad++. But after the restart it has changed in your case, so no wonder that it doesn’t get loaded.
-
@dinkumoil said:
To overcome your problem you could use a portable installation of Notepad++ that you can put to an arbitrary folder on your hard disk.
+1. This would have been my next (overly-aggressive) suggestion had not @dinkumoil gotten there first. :-)
-
Hi, @peter-row, @scott-sumner, @dinkumoil and All,
Personally, I know Scott and read his posts, on N++ community, for years, and presently, we e-mail, both, about a promising Python script and I’m totally sure that he did not intend to be hurtful at all, towards you !
As for me, I “follow” Notepad from the
v4.9.2
version and, except for this very first version, I’ve always installed portable versions of N++ ( so, without the installer ) and, presently, I even have several versions of N++ on my laptop, without any problem, using them, one at a time , principally for testing !A second advantage, to my mind, to install portable ( local ) configuration, in any folder you like, is that all files created by Notepad++, remain in that specific folder and its sub-folders ! Quite easy to manage ! In addition, problems of permissions/rights are not so frequent if you chose an installation folder in your user area :-))
To end with, I agree with Scott, when he said :
Something may not be working for you, but for me and I suspect the rest of us, themes work just great.
You would be astonished of the lot of N++ problems, related by users, on our site, which I’ve, personally, never experimented, up to now ;-))
Best Regards,
guy038
-
@Scott Summer - you may not have meant to come across that way but you did. The fact that people that have known you for a long time or have read a lot of your posts know intrinsically what you meant doesn’t mean that some one new to the forum magically knows that. Something that you @dinkumoil and @guy038 should take onboard rather than simply reply with an it’s-you post.
@guy038 - so basically you are agreeing with my comments above about the bugs? Saying just install it with the portable option instead of the other option that the installer explicitly gives you is not valid. It’s like saying to some one with a faulty sun roof on their brand new car that leaks when it rains, no it’s fine, just don’t drive in the rain.
-
If you have a bug report or feature request, this FAQ explains where to post such reports or requests.
In this forum, we try to help people with their problems. Sometimes, helping involves giving workarounds. There is no guarantee, even if you submit the bug report, that it will be implemented any time soon (if at all). So these workarounds can help you in the mean time.
When you buy a $40,000 car, and it leaks the first time it rains after you buy it, you can expect that the dealer will do warranty work. When you download a $0 piece of software, and ask for help in a help forum, you can expect that the fellow users who populate the forum will do their best to help you; that help involves diagnosing the problem, confirming whether or not the problem is truly a bug, giving advice on where bug reports can be filed, and giving potential workarounds for you to use while waiting on a potential bug fix – not every helper will always provide every bit of those possible helps. Sometimes, the workaround is all the original poster wants, sometimes the bug fix is all he will accept; members of this forum have no way of knowing which you are.
Also, I’m not sure you’ve convinced us it’s a bug; the program works differently than you would expect, but that doesn’t make it a bug. Some people like the feature of being able to install themes in the
%AppData%\Notepad++
hierarchy – those people include people whose IT departments have installed NPP, but don’t give them access to write in the program files directory… thus, if they got a spifty new theme they want to install, instead of being forced to drag IT over to install their theme in the program directory, they can just put the theme (which is a configuration file, for all intents and purposes) in the writeable configuration directory in the standard windows location for writeable configuration files. -
Thanks - I’ve raised 2 feature suggestions, both of which would be big UX improvements for me now that I have to use a standard account and an admin account.
I guess I should have mentioned that my standard user account cannot import a custom theme. It silently does nothing.
Also I’m not advocating that it should work one way or the other regarding where the themes go - it should cope with both. i.e. default themes should be available to all and not just be in the profile of the installing user when installed in non-portable mode. Any how check out the 2 tasks raised on the GitHub task list 24/09 by me between 9-10 am GMT, if interested.
Also anyone with the ability to do so - please reduce the 20 minute post delay. At the moment as a new user if you forget any details you have to wait 20 minutes to post again. If you’re working and posting then as is often the case you forget to come pack and add the detail till much later.