https://bugs.documentfoundation.org/show_bug.cgi?id=141279

--- Comment #9 from Armin Le Grand <[email protected]> ---
Extra-check with Notepad (*.txt):

With current master:
(a) Open in LO, open in NP works, can change, save, asks for replace (so
somewhat sees that it was changed and held by some other app?), but works ->
NOT_OK
(b) Open in NP, try to open in LO -> Works. Changed in LO, saved. Have NOT to
close LO, Open in WP -> got changed -> NOT_OK

With git revert 2b4cd99d3360ccffb9829a02412824864d045753:
(a) Open in LO, open in NP works, can change, save, asks for replace (so
somewhat sees that it was changed and held by some other app?), CANNOT_ACCESS
-> OK
(b) same -> NOT_OK

So I also acknowledge a change for Notepad, but have to repeat here from
comment 4:

"Please do not test with Notepad. It is a kind of exception on Windows, opening
files for reading then closing file handle, and trying to open them for writing
when saving.
Please use at least WordPad, which uses typical "open and lock" pattern."

If we do not want to loose again the fix from
https://bugs.documentfoundation.org/show_bug.cgi?id=126742 we should IMHO
ignore Notepad. That fix is needed to be able to change local OLE files when
changes happen, e.g. edit table content & Chart updates.

We could also think about 'somehow' fix this for Notepad, but that file opening
is so central that I personally would not want to risk it. Also out of question
is something like to check if Notepad is running in parallel on the local
system and do something 'special'...(?)

Just my 2ct...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to