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

            Bug ID: 106942
           Summary: When drive is full and open a file, wrong message for
                    lock (no space for the lock-file)
           Product: LibreOffice
           Version: 5.4.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Prepare a drive (usb), copy one writer file and generate a big file, Windows
Powershell command: 
[io.file]::Create("<Drive>:\bigblob.txt").SetLength((gwmi Win32_LogicalDisk
-Filter "DeviceID='<Drive>:'").FreeSpace).Close 
after that free space is 0 Kb.

Then open the writer file, in this case you get no message, then close the file
without save, and reopen you get the Message-Dialog. When you try to save the
document you get the Message-dialog immediately


Message-dialog:
|--------------------------------------------------------------------|
| Document in Use                                                    |
|--------------------------------------------------------------------|
|  Document file 'test.odt' is locked for editing by yourself on a   |
|  different system since                                            |
|                                                                    |
|  Open document read-only, or ignore own file locking and open the  |
|  document for editing.                                             |
|                                                                    |
|      | Open Read-Only |   |     Open     |   |    Cancel    |      |
|--------------------------------------------------------------------|

This message is in this case wrong and confused the user.

The problem is the lock-file was create with space 0, but after closing this
lock-file would not be remove.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to