summaryrefslogtreecommitdiffstats
path: root/fpicker/Library_fps.mk
diff options
context:
space:
mode:
authorMatt K <mattkse@gmail.com>2021-04-21 17:34:16 -0500
committerMike Kaganski <mike.kaganski@collabora.com>2021-04-22 22:20:55 +0200
commit1c1226709c6be39c5462f5e6e1262ca630b30b34 (patch)
tree14dc0f683da5bc6c8e08ea7db516da174960679f /fpicker/Library_fps.mk
parentfix cairocanvas build with internal cairo (diff)
downloadcore-1c1226709c6be39c5462f5e6e1262ca630b30b34.tar.gz
core-1c1226709c6be39c5462f5e6e1262ca630b30b34.zip
tdf#106282 Change Windows File Dialog to run on the main thread
Windows crashes when an IFileDialog object is used on a non-main thread when cancelling a long search operation, when COM is initialized as single-threaded apartment for that thread. Trying to use a non-main thread with COM initialized to multi-threaded apartment hangs the dialog UI. The only solution that works is to run all File Dialogs on the main thread. This has a performance penalty on the application while a File Dialog is open or if multiple dialogs are searching and then cancelled, but it's better than crashing. Other applications like Firefox use only the main thread for File Dialogs, but have additional processes to avoid the performance penalty. Change-Id: Icf8a8179dbea19bd3d749a1c2fe8e67dbfc726c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114482 Reviewed-by: Matt K <mattkse@gmail.com> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'fpicker/Library_fps.mk')
-rw-r--r--fpicker/Library_fps.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpicker/Library_fps.mk b/fpicker/Library_fps.mk
index e41a8a40a081..047e888e3954 100644
--- a/fpicker/Library_fps.mk
+++ b/fpicker/Library_fps.mk
@@ -54,7 +54,6 @@ $(eval $(call gb_Library_add_libs,fps,\
endif
$(eval $(call gb_Library_add_exception_objects,fps,\
- fpicker/source/win32/asyncrequests \
fpicker/source/win32/FilterContainer \
fpicker/source/win32/VistaFilePicker \
fpicker/source/win32/VistaFilePickerEventHandler \