https://bugs.freedesktop.org/show_bug.cgi?id=83282
Priority: medium
Bug ID: 83282
Assignee: [email protected]
Summary: Linux version of LibreOffice locks open documents in a
way incompatible with MS Word
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 4.0 all versions
Component: filters and storage
Product: LibreOffice
When I try to open a document in MS Word (run via Wine), having it open in
LibreOffice Writer, Word hangs. I've reported this to Wine [1]. The developer
answered:
> My guess is that the Linux version of LibreOffice locks the file
> differently from the Windows version. The Linux version probably
> range-locks the entire thing, while the Windows version uses
> CreateFile sharing semantics (not available on Linux).
...
> You may be able to see the broken behavior without involving Wine,
> if you run Linux LibreOffice and Word on real Windows, by putting
> the shared file on a network share (but it depends on how the
> file share protocol maps those locking operations).
So this also seems to affect real Windows-based Word when accessing file on a
network share. The Wine developer also suggests the following:
> LibreOffice could fix this by locking only bytes 0x7fffff93 through
> 0x7fffffe2. We're limited by the design decisions of MS, and I can't
> think of a way that we could implement the Windows API correctly
> while dealing with another program that range-locks the entire file.
> I'd be happy to discuss this further with LibreOffice devs.
See more details of the discussion in the Wine bug report at [1].
[1]: https://bugs.winehq.org/show_bug.cgi?id=37202
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs