[Libreoffice-bugs] [Bug 131693] New: Unable to open document if path has "\\?\" UNC prefix in Windows 10

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 30 06:49:53 UTC 2020


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

            Bug ID: 131693
           Summary: Unable to open document if path has "\\?\" UNC prefix
                    in Windows 10
           Product: LibreOffice
           Version: 6.4.2.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: nemec at outlook.com

Description:
If the path to the document exceeds MAX_PATH, Windows adds "\\?\" UNC prefix to
the path. However, LibreOffice evaluates it as invalid path and crashes. If I
remove the prefix, the document can be opened even if path is much longer than
MAX_PATH.

Steps to Reproduce:
1. Enable long path support in Win 10
2. Double click document, that is saved at path longer than 260 chars


Actual Results:
Splash screen of LibreOffice appears and shuts down after a while.

Expected Results:
Should open the document.


Reproducible: Always


User Profile Reset: No



Additional Info:
When opening over Open dialog in LibreOffice, everything works fine. Even
directly called with path without "\\?\" prefix, the document opens.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200330/0a8cff53/attachment.htm>


More information about the Libreoffice-bugs mailing list