[Libreoffice-bugs] [Bug 138615] New: Insure Windows wildcards work properly with long paths

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 2 06:43:48 UTC 2020


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

            Bug ID: 138615
           Summary: Insure Windows wildcards work properly with long paths
           Product: LibreOffice
           Version: 7.2.0.0.alpha0+ Master
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: dbarkleyyeung at gmail.com

Description:
In Windows, we must manually handle wildcards like ? and *. We use
FindFirstFileW() in loader.cxx to handle the wildcards. FindFirstFileW() may
not handle paths over 255 characters unless a \\?\ is prepended. If given an
absolute path prepend a \\?\.

Steps to Reproduce:
1.soffice.exe c:\veryLongPath\*.docx
2.
3.

Actual Results:
Long path names do not have their wildcards expanded.

Expected Results:
Long path names have their wildcards expanded.


Reproducible: Always


User Profile Reset: No



Additional Info:
Taken from Mike's comments on https://gerrit.libreoffice.org/c/core/+/106393

-- 
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/20201202/9c587f06/attachment.htm>


More information about the Libreoffice-bugs mailing list