Jump to content

Documentation Incorrect About Where to Install plugins


Go to solution Solved by dbareis,

Recommended Posts

Hi,

 

RE: https://www.getpaint.net/doc/latest/InstallPlugins.html

... It is also possible to use the directory "Documents\paint.net App Files\..." as an alternative

 

That is not true, using Sysinternals Procmon to diagnose the failure to load the Dll shows that it tried to get the plugins from "C:\Users\Dennis\Documents\paint.net App Files\Effects" and not the correct documents directory at "C:\Users\Dennis\OneDrive\Documents\paint.net App Files".

 

Whether this is a error in the documentation or a bug in the code (or both) is up to you....

 

If the code is correct, why not just say put the plugin into "%USERPROFILE%\Documents\paint.net App Files\Effects"?  That also saves a lot of head scratching about possible need for subdirectories etc.

 

Link to comment
Share on other sites

6 hours ago, dbareis said:

Whether this is a error in the documentation or a bug in the code (or both) is up to you....


The Change Log for paint.net 4.3 contained this:
 

Quote


If you follow the link, there is an explanatory comment by @Rick Brewster

 

The Documentation at https://www.getpaint.net/doc/latest/InstallPlugins.html#10 also discusses the use of cloud-based solutions like OneDrive.

  • Like 1
Link to comment
Share on other sites

10 hours ago, dbareis said:

why not just say put the plugin into "%USERPROFILE%\Documents\paint.net App Files\Effects"?

 

Because that's not the path that Paint.NET uses. It asks the Windows shell directly for the Documents folder location via ye ol' CSIDL_MYDOCUMENTS

 

You may have OneDrive installed, and it may have pushed itself to the top of your Explorer navigation pane, but you may not have it configured to be your official Documents folder. (This is how it wound up on my system: OneDrive's folders look like they're the primary location, but then there's a second list of folders below it and ... ugh, I don't know what happened here but it's a constant nuisance here that I haven't bothered to look into yet.)

 

You can configure this, btw. Open up your user profile directory and then right-click on Documents. Then go to the Location tab and verify that it's pointing where you want it to.

 

image.png

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • Solution

You have obviously haven't not got onedrive installed as it is the official (and only "documents" folder location as you can see from my screenshot.  Your app doesn't install it there it puts it into "%USERPROFILE%\Documents\paint.net App Files\Effects". 

 

Your documentation should put people out of their misery and spell it out either way, even better would be to create the structure in the app if you insist on putting it into a currently undocumented location, at least the documentation could say the structure already exists.  Even better make it configurable in your app then create the structure there (or separate plugin locations).

 

I don't understand how you expect users of pdn to know what value "CSIDL_MYDOCUMENTS" returns (even if that was documented), or why you couldn't put the 2 locations into the about box and document that and stop the torture.

 

Putting the file into this directory solved the problem and the plugin finally works (after about an hour of my time)!:

 

D:\ > dir "%USERPROFILE%\Documents\paint.net App Files\Effects"
 Directory of C:\Users\Dennis\Documents\paint.net App Files\Effects

22/07/2014  12:19 AM           146,432 RecolourChoice.dll
               1 File(s)        146,432 bytes
               2 Dir(s)  426,008,129,536 bytes free

 

 

In previous installations I have moved the folder as you suggest, but too much junk is placed into that folder so now I have a separate data directory of my own where most important files go.

 

 

Screenshot @ 23_01_2024 , 8_49_44 AM, Documents Properties +.png

Link to comment
Share on other sites

That's just how it is on my system for some reason, I forget why.

 

Anyway the documentation works fine for everyone else, and you also figured out, so I don't see any reason to worry about this. I'm not sure why you're so upset about it. It really just sounds like there's some configuration problem with your PC.

 

You have a pattern of making grumpy/argumentative posts on this forum, so I doubt continuing this conversation is going to be productive. You have your answer.

  • Upvote 1

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...