Rick Brewster Posted September 16, 2021 Share Posted September 16, 2021 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). Direct download links: Installer Any CPU (x64, x86, ARM64): https://www.getpaint.net/files/zip/test/paint.net.4.300.7929.41199.install.anycpu.web.zip Portable ZIPs Intel/AMD 64-bit (x64): https://github.com/paintdotnet/release/releases/download/v4.3-beta.4.300.7929.41199/paint.net.4.300.7929.41199.portable.x64.scd.aot.zip Intel/AMD 32-bit (x86): https://github.com/paintdotnet/release/releases/download/v4.3-beta.4.300.7929.41199/paint.net.4.300.7929.41199.portable.x86.scd.aot.zip ARM64: https://github.com/paintdotnet/release/releases/download/v4.3-beta.4.300.7929.41199/paint.net.4.300.7929.41199.portable.arm64.scd.aot.zip Installer (offline) Intel/AMD 64-bit (x64): https://github.com/paintdotnet/release/releases/download/v4.3-beta.4.300.7929.41199/paint.net.4.300.7929.41199.install.x64.scd.aot.zip Intel/AMD 32-bit (x86): https://github.com/paintdotnet/release/releases/download/v4.3-beta.4.300.7929.41199/paint.net.4.300.7929.41199.install.x86.scd.aot.zip ARM64: https://github.com/paintdotnet/release/releases/download/v4.3-beta.4.300.7929.41199/paint.net.4.300.7929.41199.install.arm64.scd.aot.zip 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 1 1 2 The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
ReMake Posted September 17, 2021 Share Posted September 17, 2021 When I select any language in the Settings my interface always remains in Russian. Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 17, 2021 Author Share Posted September 17, 2021 Yeah I'm seeing the same glitch, except for English The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
AndrewDavid Posted September 17, 2021 Share Posted September 17, 2021 (edited) Silly me. Ever since you changed the plugin folder, I forgot to set exclusions for them. Look at the difference.NewAlpha.zip Edited September 17, 2021 by AndrewDavid Link to comment Share on other sites More sharing options...
AndrewDavid Posted September 17, 2021 Share Posted September 17, 2021 @Ego Eram Reputo's code is failing However the code in @toe_head2001,s Plugin Browser works. My code crashes paint.net. Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 17, 2021 Author Share Posted September 17, 2021 6 hours ago, AndrewDavid said: @Ego Eram Reputo's code is failing 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 Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 17, 2021 Author Share Posted September 17, 2021 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 1 The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
BoltBait Posted September 17, 2021 Share Posted September 17, 2021 7 hours ago, Rick Brewster said: Process.Start("http://...") apparently does not work for launching URLs. Really?! Since when? This is always how I’ve opened web sites before… 🤨 Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 17, 2021 Author Share Posted September 17, 2021 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. 1 The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
null54 Posted September 17, 2021 Share Posted September 17, 2021 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. 1 Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint 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 More sharing options...
midora Posted September 19, 2021 Share Posted September 19, 2021 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. Link to comment Share on other sites More sharing options...
sirdaniel Posted September 20, 2021 Share Posted September 20, 2021 (edited) Net.5 as Programing language. Why not change number for application: paint.NET 5.0 final maybe? Edited September 20, 2021 by sirdaniel Link to comment Share on other sites More sharing options...
AndrewDavid Posted September 20, 2021 Share Posted September 20, 2021 @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. Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 20, 2021 Author Share Posted September 20, 2021 @AndrewDavid and @null54, try this build to see if it crashes (it shouldn't!) with that plugin: Installer: https://www.dotpdn.com/files/zip/test/paint.net.4.300.7933.28357.install.x64.scd.aot.zip Portable: https://www.dotpdn.com/files/zip/test/paint.net.4.300.7933.28357.portable.x64.scd.aot.zip The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
AndrewDavid Posted September 20, 2021 Share Posted September 20, 2021 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. 1 Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 20, 2021 Author Share Posted September 20, 2021 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 Link to comment Share on other sites More sharing options...
AndrewDavid Posted September 21, 2021 Share Posted September 21, 2021 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. Link to comment Share on other sites More sharing options...
midora Posted September 21, 2021 Share Posted September 21, 2021 A division by zero in the plugin Render method is most likely a bug in the plugin code. Does it make sense to allow zero for the slider value? Link to comment Share on other sites More sharing options...
AndrewDavid Posted September 21, 2021 Share Posted September 21, 2021 (edited) @midora Perhaps the author thought setting the value to "0" when designing a grid would create only rows or only columns. Edited September 21, 2021 by AndrewDavid Link to comment Share on other sites More sharing options...
midora Posted September 21, 2021 Share Posted September 21, 2021 @AndrewDavidZero would mean there is no row or column. A minimum of one makes more sense. Anyway if the author allows zero - for what ever reason - the code has to check that there is no division by this value. Link to comment Share on other sites More sharing options...
_koh_ Posted September 21, 2021 Share Posted September 21, 2021 When I associate image files to PDN 4.3 on Windows 10, image files having the blank icon instead of the PDN icon in Windows Explorer detailed list mode. Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 21, 2021 Author Share Posted September 21, 2021 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 Link to comment Share on other sites More sharing options...
_koh_ Posted September 21, 2021 Share Posted September 21, 2021 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. Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 21, 2021 Author Share Posted September 21, 2021 Okay yeah I'm seeing this too. I'll look into it after 4.3 is released. The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
ardneh Posted September 21, 2021 Share Posted September 21, 2021 paint.net 4.3 beta build 7929.41199 Fragment blur produces no effect. Works with 4.2.16. 1 Link to comment Share on other sites More sharing options...
Recommended Posts