Jump to content

paint.net 4.3 beta build 7929


Rick Brewster
 Share

Recommended Posts

If all goes well, the next build will be the final release of 4.3. This update includes some minor bug fixes and a handful of plugin compatibility improvements. Translations are now updated and ... there's not much more to say :)

 

Get the update

To get this update, make sure you have "Also check for pre-release (beta) versions" enabled in Settings, and then click on the Check Now button. (Unfortunately alpha/beta releases are not currently available for the Microsoft Store version of the app).

image.png

Direct download links:

 

Note that the offline installer may still need to download some prerequisites if you're on a Windows 7 or 8.1 machine that is not up-to-date via Windows Update. You do not need to have .NET installed, as these builds use self-contained deployment.

 

Changes since 4.3 alpha build 7921:

  • Fixed the inability to use middle-mouse panning after using a selection tool and pressing delete before releasing the mouse button
  • Fixed the ability to create MSIs with the installer using the /createMsi command-line parameter
  • Fixed compatibility with these older plugins: Distort This!, Soft Proofing, Stickman, TR's Morpher
  • Like 1
  • Thanks 1
  • Upvote 2

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

6 hours ago, AndrewDavid said:

@Ego Eram Reputo's code is failing

LinkLabelError.png.5f7e2420514320a3a78ffdc97b5dde33.png

 

The code in the handler for that link is incorrect. I can't do anything about that. Process.Start("http://...") apparently does not work for launching URLs.

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

16 hours ago, ReMake said:

When I select any language in the Settings my interface always remains in Russian.

 

I just fixed this -- will be in the next build. Thanks for reporting it -- it was the result of an incorrect optimization

  • 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

My guess is that UseShellExecute now defaults to false but I haven’t looked into it. If that’s the case you can still use Process.Start() but you must fill out the ProcessStartInfo first. Edit: see here, https://stackoverflow.com/a/53245993

 

I recommend using IShellService.LaunchUrl(). It’ll always work.

  • 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

4 minutes ago, Rick Brewster said:

My guess is that UseShellExecute now defaults to false

 

That is the cause, see https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.useshellexecute?view=net-5.0.

 

Quote

The default is true on .NET Framework apps and false on .NET Core apps.

 

  • Upvote 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

I started developing of some new plugins beginning of the year and got redraw issues (some issues I reported in the 'callout selection' plugin).

I retested the plugins using the beta and the issues are gone. I will now change the plugin code to .net 5.

 

midoras signature.gif

Link to comment
Share on other sites

@sirdaniel

Think of a house on a foundation. Net Core 5.0 is the foundation. 4.3 is the House Paint.Net is built in.. That's my understanding.

 

From @Rick Brewster

Major version bumps like that are good for when there are new features, UI redesigns, etc. This update is primarily a technology upgrade and performance optimization release, and there aren't really any new end-user features.

Signature2018.png

 

Link to comment
Share on other sites

Link to comment
Share on other sites

And while I'm waiting for it to install I have a question.

If a plugin is designed in codelab and I decompile it and bring it into Visual Studio, can you explain why there are so many errors? Is it to be expected because it was built in Codelab and not exported for Visual Studio through codelab. 

Installation complete.

Success. I moved the bar 20 times and no errors. Job well done.

 

  • Like 1

Signature2018.png

 

Link to comment
Share on other sites

3 minutes ago, AndrewDavid said:

If a plugin is designed in codelab and I decompile it and bring it into Visual Studio, can you explain why there are so many errors? Is it to be expected because it was built in Codelab and not exported for Visual Studio through codelab. 

 

CodeLab hasn't yet been updated for PDN 4.3 / .NET 5. @toe_head2001 and @BoltBait would know more.

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

If I'm not mistaken, this crash is due to the plugin

Spoiler

This text file was created because paint.net crashed. Please e-mail this to crashlog4@getpaint.net so we can diagnose and fix the problem.

Application version: paint.net 4.3 (β 4.300.7933.28357)
Time of crash: 9/20/2021 8:48:43 PM
Application uptime: 00:34:39.1885882
Application state: Running 
Working set: 261,428 KiB
Handles and threads: 971 handles, 41 threads, 189 gdi, 212 user
Install type: Classic
Application directory: C:\Program Files\paint.net
Current directory: C:\Program Files\paint.net
Install directory: C:\Program Files\paint.net
OS Version: Windows 10 Home 10.0.19044.0 x64
.NET version: .NET 5.0.10 x64
Processor: "Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz" @ ~3193MHz (4C/4T, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2)
Physical memory: 8143 MB
Video card: NVIDIA GeForce GT 720 (v:10DE, d:1286, r:161), Microsoft Basic Render Driver (v:1414, d:8C, r:0)
Hardware acceleration: True (default: True)
Pointers: none
UI animations: True
UI DPI: 96 dpi (1.00x scale)
UI theme: VisualStyleClass=Aero, EffectiveTheme=Aero, DWM=yes, AeroColorScheme=Dark, ThemeFileName=Aero.msstyles
Updates: True, 9/20/2021
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US
Flags: 

Exception details:
System.DivideByZeroException: Attempted to divide by zero.
   at DrawGridEffect.DrawGridEffectPlugin.Render(Surface dst, Surface src, Rectangle rect)
   at DrawGridEffect.DrawGridEffectPlugin.OnRender(Rectangle[] rois, Int32 startIndex, Int32 length)
   at PaintDotNet.Effects.Effect`1.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) in D:\src\pdn\src\Effects\Effect`1.cs:line 99
   at PaintDotNet.Effects.BackgroundEffectRenderer.RenderWithClipMask(Effect effect, EffectConfigToken token, RenderArgs dstArgs, RenderArgs srcArgs, RectInt32[] rois, Result`1 lazyClipMaskRenderer) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 253
   at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderTile(EffectConfigToken token, Int32 tileIndex) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 169
   at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderNextTile(EffectConfigToken token) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 150
   at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderNextTileProc(Object token) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 144
   at PaintDotNet.Effects.EffectRendererWorkItemQueue.OnExecuteNextWorkItem() in D:\src\pdn\src\PaintDotNet\Effects\EffectRendererWorkItemQueue.cs:line 142
   at PaintDotNet.Threading.MultithreadedWorkItemDispatcher.WorkThreadProc(Object context) in D:\src\pdn\src\Core\Threading\MultithreadedWorkItemDispatcher.cs:line 495
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

 

Such a small plugin, this is one I am attempting to re-write.

It is the original one that crashed - not the one I attempting to build. To repo move slider all the way to 1000 then move it back to 0.

 

Signature2018.png

 

Link to comment
Share on other sites

Can you provide a screenshot, @_koh_ 

 

Also can you be more specific what you mean by "when I associate image files". What types of images? Ones that PDN has built-in support for? Or those handled by plugins?

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

32 minutes ago, Rick Brewster said:

Can you provide a screenshot, @_koh_ 

 

Also can you be more specific what you mean by "when I associate image files". What types of images? Ones that PDN has built-in support for? Or those handled by plugins?

 

When I set PDN as the default image viewer in Windows settings, so built-in supported images.

explorer.thumb.png.4c3a1f326fdf7c6c89c6a6d75de44c80.png

Link to comment
Share on other sites

  • Rick Brewster unpinned, unfeatured and locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...