[Libreoffice-bugs] [Bug 141883] New: Windows File Dialog hangs app when searching in 2 dialogs

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 24 19:25:28 UTC 2021


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

            Bug ID: 141883
           Summary: Windows File Dialog hangs app when searching in 2
                    dialogs
           Product: LibreOffice
           Version: 7.2.0.0.alpha0+ Master
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mattkse at gmail.com

Description:
Bug 106282 fixed a crash in Windows File Dialog, but now there is a hang when
searching in 2 dialogs.  The hang is due to Windows search processing and is
reproducible in Firefox and even Windows File Explorer.  Newer apps like
Windows Settings and Windows Feedback Hub use a new async File Dialog which
launches each new dialog in a new PickerHost.exe process and returns the
results back to the calling process, thus avoiding the hang.  However, these
APIs only appear to be on Windows 10 (and maybe Win8?) and not on Win7.  It
seems the only way to avoid this hang would be to either disallow multiple file
dialogs or to implement a new process for each new File Dialog similar to
PickerHost.exe.

Steps to Reproduce:
1. Open a blank Calc spreadsheet (titled "Untitled 1")
2. Select File > New > Spreadsheet (open new window titled "Untitled 2")
3. In "Untitled 2", select File > Open
4. In "Untitled 1", select File > Open and in that dialog go to "C:" and do a
search for a unique string like "qqzz"
5. In "Untitled 2" dialog, go to "C:" and do a search for a unique string like
"qqzz"
6. In "Untitled 1" dialog, click cancel and observe application hangs

Actual Results:
Application completely hung, never responds.  Have to kill it.

Expected Results:
Application cancels the search operation and returns to the main window without
hanging.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
CPU threads: 12; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

-- 
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/20210424/edf12c47/attachment.htm>


More information about the Libreoffice-bugs mailing list