Jump to content

FolderBrowserDialog glitch


Recommended Posts

Actually, you're going to run into some serious problems trying to implement this. First is my strong dislike that you're ignoring the stream -- you're essentially misusing the file type plugin system.

However, beyond that, you're trying to show UI from the OnSave() method, which is strictly something you're not supposed to do. There's a reason I don't pass an IWin32Window to OnSave() !!! And, since OnSave() is executed on a different thread, it's going to be difficult or impossible to get UI running correctly in concert with the main UI. The fact that FolderBrowserDialog is "confused" just isn't very surprising to me.

I recommend you abandon implementing this until there is a plugin system that gives you more control over how image data is exported. You certainly must not publish this plugin on this forum -- I won't allow it. I'm not trying to be a jerk here -- I am paying close attention to what plugin authors are trying to do, and trying to incorporate feedback into future releases. It just makes many things worse when people "bend" the plugin system.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...