Rick Brewster Posted November 15, 2019 Share Posted November 15, 2019 This build should fix the mouse input and drawing issues that were happening when multiple monitors of different DPI settings were being used. (for example: https://forums.getpaint.net/topic/115494-paintnet-426-alpha-build-7256/?do=findComment&comment=564920) On a technical note, I'm removing the use of the GetMouseMovePointsEx API because it has been nothing but trouble over the last 6 years. It was supposed to provide smoother mouse input that was less dependent on the performance of the system or app, but that hope has been completely squashed. I'm fed up with it, it's just a completely broken API and I've wasted way too many hours and days of my life debugging it and trying to hunt down any shred of good documentation or sample code for it. Microsoft broke GetMouseMovePointsEx in Windows 8 and they just haven't bothered to notice it or fix it (it works great in Windows 7!). On top of that, the newer input system (WM_POINTER) has a method, GetPointerInfoHistory, that's supposed to provide the same functionality ... but it doesn't! It only ever retrieves the most recent mouse event (history count is always 1). So if you call EnableMouseInPointer you can still never retrieve any mouse movement events that your app wasn't fast enough to process. Thankfully Paint.NET processes mouse events fast enough that this really isn't a problem, but someone is just asleep at the wheel over at Microsoft. Thankfully the WM_POINTER system seems to work fantastically well for pens, drawing tablets, and touch screens. (The above technical rant is provided for the benefit of any other poor developers out there who happen to try and make use of the cursed GetMouseMovePointsEx API and who stumble across this through a Google search. Stay away! It's broken! Like completely, utterly, maddeningly broken! You'll go crazy trying to make it work!) All this means that the "Fluid mouse input" setting has been removed from Settings. It is no longer applicable. We can all forget about it and sleep better now. --- 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. You can also download the update directly: https://www.getpaint.net/files/zip/test/paint.net.4.206.7258.8945.install.zip Changes since 4.2.6 alpha build 7256: Fixed erratic and buggy mouse input handling when using multiple monitors with different DPI settings. The use of the GetMouseMovePointsEx API has been removed because it has been totally broken since Windows 8 except in increasingly narrow situations (single monitor, static DPI that never changes, not in a VM, no Remote Desktop, etc.). 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...
Rick Brewster Posted November 15, 2019 Author Share Posted November 15, 2019 @ivaniesta141 this build should fix all those drawing scribbles you've been seeing 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...
Ego Eram Reputo Posted November 16, 2019 Share Posted November 16, 2019 Installed. Let's see what the Ugee thinks....quite good actually ( I gave it every type of stress test I could think of). If I move the pen quite quickly with the Eraser Tool active the odd skip is generated. I'm not seeing this with the paint brush, nor does changing the opacity seem to have any discernible effect. ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Rick Brewster Posted November 16, 2019 Author Share Posted November 16, 2019 For the "skips", if you have multiple entries in the History then there's just pointer up/down events that Paint.NET is seeing. It means the pen is not touching the surface of the tablet. Some may be more sensitive than others, I see this happen pretty regularly though. 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 November 16, 2019 Author Share Posted November 16, 2019 23 hours ago, welshblue said: I don't know if this a new thing, or if it's just that I've never noticed before Depending on the angle, Using the Rectangle Select Tool on an angle >>> cut >>> paste into a new layer ... it doesn't paste cleanly. Ellipse select is the same. A straight rectangle is fine That's just an artifact of the way antialiasing works. Pretty much unavoidable without massively increasing memory usage and massively reducing performance. 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...
Rick Brewster Posted November 20, 2019 Author Share Posted November 20, 2019 Closing thread. New build! 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...
Recommended Posts