On Sunday, 30 November 2014, Brian Barker <b.m.bar...@btinternet.com> wrote: > At 13:55 30/11/2014 +0100, Jaroslaw Staniek wrote: >> >> Google for "acrobat reader file locking" and you'd notice that this unnecessary locking is inherent issue of Windows. You're dealing with behavior largely inherited from the MS DOS era. You can pick other pdf reader. > > Surely that evidence falsifies your claim? If it's possible for another reader under the same operating system not to lock the file, then the locking cannot be a property of the operating system, still less of its legacy? In fact, it cannot be: just look at Windows' Notepad, which does not lock files it opens. >
Opening for writing locks the on Windows. Just had to close all my IDE windows this week to move a file. Linux informs that the file was changed or removed if it editing it, that models the real world. Perhaps argument about other readers suggests that the bug should be filled against the Adobe app, not LO. The wish for a special message looks for me like asking for usability-wise unfortunate "solution" where LO would ask the user to close the file. In this scenario LO doesn't even know who's locking and how to communicate the intent to unlock. All that made me write about core problem - pessimistic locking on DOS/Windows. Not talking about the context - the OS - leads to situation that apps on normally behaving oses show unexpected messages that really make sense for Windows. Extra care is needed to avoid that. I'm not studying the pdf export code of LO but proper development practice is to write the new file to a temporary path, then renaming it atomically. If that's true the message would appear on the very end anyway. Cheers! -- regards, Jaroslaw Staniek KDE: : A world-wide network of software engineers, artists, writers, translators : and facilitators committed to Free Software development - http://kde.org Calligra Suite: : A graphic art and office suite - http://calligra.org Kexi: : A visual database apps builder - http://calligra.org/kexi Qt Certified Specialist: : http://www.linkedin.com/in/jstaniek -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted