[Libreoffice-bugs] [Bug 83282] Linux version of LibreOffice locks open documents in a way incompatible with MS Word running on Wine

2015-03-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=83282

Vincent Povirk madewokh...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |NOTOURBUG

--- Comment #9 from Vincent Povirk madewokh...@gmail.com ---
I did the test using NFS and Samba. Word can tell immediately that the file is
open in LibreOffice, and I cannot figure out how. If I lock the entire file for
writing, using fcntl, I get the same result.

If I lock the entire file for writing using LockFileEx (it does not provide a
way to lock the entire file), Word detects this after a few seconds. I cannot
figure out how it's possible to tell the difference between this and fcntl
using the Windows API.

I hate that I don't understand that difference, but even in the worst case
scenario (given what LO is doing) we should only hang for a few seconds. So I'm
going to say it's a Wine bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 83282] Linux version of LibreOffice locks open documents in a way incompatible with MS Word running on Wine

2015-03-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=83282

--- Comment #10 from Vincent Povirk madewokh...@gmail.com ---
Sorry, in my tests I was locking the first 2**63-1 bytes, so that I could
compare directly with LockFileEx which doesn't seem to be able to lock the
entire file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 83282] Linux version of LibreOffice locks open documents in a way incompatible with MS Word running on Wine

2015-03-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=83282

--- Comment #8 from Vincent Povirk madewokh...@gmail.com ---
Created attachment 113841
  -- https://bugs.documentfoundation.org/attachment.cgi?id=113841action=edit
test program that prints currently-open range locks on a file

I wrote a quick test program (attached) to check what range locks are open on a
file. For a .doc file opened by Word 2013 on real Windows through samba
(version 2:3.6.6-6+deb7u5), it shows me this:

write lock start 2147483539 len 1
write lock start 2147483559 len 1
write lock start 2147483599 len 1

For a .doc file opened locally in Libreoffice writer, it shows this:

write lock start 0 len 0

This is roughly what I expected.

For completeness, I also tried the 'flock' command, and it succeeded in taking
an exclusive lock in both cases.

I still have to do a test opening the same file with both, which requires
setting up NFS to the server running samba.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 83282] Linux version of LibreOffice locks open documents in a way incompatible with MS Word running on Wine

2014-12-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=83282

Robinson Tryon (qubit) qu...@runcibility.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Summary|Linux version of|Linux version of
   |LibreOffice locks open  |LibreOffice locks open
   |documents in a way  |documents in a way
   |incompatible with MS Word   |incompatible with MS Word
   ||running on Wine
 Ever confirmed|0   |1
 Whiteboard||needsWine

--- Comment #7 from Robinson Tryon (qubit) qu...@runcibility.com ---
(In reply to Vincent Povirk from comment #6)
 So right now there's a bug when using Wine and LibreOffice
 together, and I don't know for sure which project needs to be fixed (but I'm
 current leaning towards Wine).

Yep, that was my understanding :-) Sounds like we're pretty confident about
this issue, so Status - NEW.

I'll also update the Summary to make things clearer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs