aworkerb Posted May 1, 2020 Posted May 1, 2020 Recently, whenever I use Paint.net to save an image file into a OneDrive for Business synced folder, it causes file synchronization to stop, and I have to reboot in order to properly restart the sync. A coworker confirmed getting the same problem. Has anyone else who uses OneDrive for Business (and synchronizes their folders so they can be accessed through File Explorer) seen this problem? Or if you haven't tried saving to a synced folder, mind trying? (Not sure if data points for the consumer version of OneDrive are relevant or not.) I'm running paint.net 4.2.10 (Final 4.2.10.7348.40816) and OneDrive version 2020 (Build 19.232.1124.0012). I've made the sync fail several times upon saving a file in Paint.net. I do not currently know if saving files using other applications causes the same problem. Quote
Hypure Posted May 2, 2020 Posted May 2, 2020 Yes, I use one drive personal, not business. I do have a subscription. I also have issues sometimes such as folders that i create from "save as zip folder"that I can't find with explorer unless I save to desktop. There are other little quirks that show up with other programs also regarding allocation of image sequences. Windows seems to be working out the kinks though as problems seem to be "going away". Quote
Hypure Posted May 2, 2020 Posted May 2, 2020 I love the concept of one drive but it can be a headache sometimes. 1 Quote
Pixey Posted May 2, 2020 Posted May 2, 2020 I find One Drive a real pain Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon.
Rick Brewster Posted May 2, 2020 Posted May 2, 2020 Maybe OneDrive for Business doesn't correctly support NTFS Transactions? That's what Paint.NET uses when saving a file so that the whole operation appears as an atomic operation to the rest of the system. 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
aworkerb Posted May 3, 2020 Author Posted May 3, 2020 (edited) 8 hours ago, Rick Brewster said: Maybe OneDrive for Business doesn't correctly support NTFS Transactions? That's what Paint.NET uses when saving a file so that the whole operation appears as an atomic operation to the rest of the system. I won't pretend to know this by any means, but from extremely quick research it seems that regular OneDrive ONLY support NTFS, and I imagine that would necessitate supporting NTFS transactions, and I'd speculate OneDrive for Business is pretty much the same, but who knows. More significantly, I didn't notice this problem up until sometime in the past month or so, and I was definitely using Paint.NET to save into OneDrive sync'd folders for a while before that (months, at least). ... and since Paint.NET was last updated in mid-Feb, but OneDrive was updated in early April, I'm leaning toward that version of OneDrive being the culprit. I'm trying to get the go-ahead from my corp help desk to install a late April update. 17 hours ago, Hypure said: Yes, I use one drive personal, not business. I do have a subscription. I also have issues sometimes such as folders that i create from "save as zip folder"that I can't find with explorer unless I save to desktop. There are other little quirks that show up with other programs also regarding allocation of image sequences. Windows seems to be working out the kinks though as problems seem to be "going away". For my situation, everything works normally, with the OneDrive folders acting just like local ones, up until the point where I save from Paint.NET into one of them. Edited May 3, 2020 by aworkerb added note about software versions Quote
Rick Brewster Posted May 3, 2020 Posted May 3, 2020 I'll add something to the upcoming update -- 4.2.11 -- to turn off the use of NTFS transactions. It'll be either a command-line arg or an AppSetting (registry key, essentially, but also controllable via command-line). I have no idea if this will help, but it will help troubleshoot if that's the cause. I'll be putting out the beta this coming week and there will be information in the release notes about it. 3 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Rick Brewster Posted May 4, 2020 Posted May 4, 2020 I'm planning to put out a beta for 4.2.11 in the coming days. With that version you can launch Paint.NET with the /disableNtfsTx command-line argument to see if NTFS Transactions are the issue here. Conveniently, you can launch it via Run with paintdotnet:/disableNtfsTx (no need to hunt down the PaintDotNet.exe, in other words) 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
aworkerb Posted May 5, 2020 Author Posted May 5, 2020 15 hours ago, Rick Brewster said: I'm planning to put out a beta for 4.2.11 in the coming days. With that version you can launch Paint.NET with the /disableNtfsTx command-line argument to see if NTFS Transactions are the issue here. Conveniently, you can launch it via Run with paintdotnet:/disableNtfsTx (no need to hunt down the PaintDotNet.exe, in other words) This is great -- looking forward to trying it, and will report back. Thanks! Quote
aworkerb Posted May 8, 2020 Author Posted May 8, 2020 FWIW, the problem remains (for me) for the latest version of OneDrive, 20.052.0311.0011 Quote
aworkerb Posted May 15, 2020 Author Posted May 15, 2020 (edited) Update: I installed Paint.net 4.2.11 beta build 7433 and... so far so good. When I run it with disableNtfsTx applied, and save a file into a OneDrive synced folder, the sync remains stable and things appear to work as they should! Thank you! Now to figure out how to ensure that paintdotnet.exe always runs with that switch, even when I double-click a pdn file or right-click and pick Edit for an image file. edit: figured it out, with surgical registry edits to values within Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\paint.net.1 Edited May 15, 2020 by aworkerb added note about registry edits 1 Quote
Rick Brewster Posted May 16, 2020 Posted May 16, 2020 Well, armed with that information, there's a good chance I'll just make it the default (to disable NTFS Transactions, that is) So if you get an error message when trying to use the /disableNtfsTx command-line argument, just remove it. 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Rick Brewster Posted May 16, 2020 Posted May 16, 2020 Okay, the new 4.2.11 beta build 7441 has NTFS Transactions completely disabled. No need for /disableNtfsTx from here on out. 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.