office-gobmx/uui
Miklos Vajna 5130d240be cool#9956 uui lok: avoid showing the password dialog for now
Select some HTML content on a password-protected webpage that has
images, copy, paste into Writer when it's in LOK mode -> hang.

What seems to happen is that the HTML content itself is on the
clipboard, but not resources referred by that content, like images.
Which means our code in SwHTMLParser::InsertImage() will at the end call
into ucb/ code to get the HTTP image, which will call into uui/ code to
ask for the password. This has multiple problems: 1) the popup dialog is
not async (and not trivial to convert to async) and the dialog hints
that the password can be saved, but LOK document edit sessions always
start from a clean profile, so that's not working. The non-async dialog
even results in a hang in practice.

Fix the problem by not showing the password dialog in the LOK case at
all: it's better to have an image placeholder in the paste result than
hanging your entire document edit session.

Non-password-protected images continue to work, unless
HostFilter::isForbidden() rejects the URL.

Change-Id: I1e55ab7adecd9c90ba38a97bcdc52b2b01f7ff2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172781
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-09-03 11:28:13 +02:00
..
inc Fix meaning of warning message 2024-01-22 08:29:46 +01:00
qa/unit
source cool#9956 uui lok: avoid showing the password dialog for now 2024-09-03 11:28:13 +02:00
uiconfig/ui Resave with newer Glade version 2024-08-05 21:13:08 +02:00
util
AllLangMoTarget_uui.mk migrate to boost::gettext 2017-07-21 08:20:50 +01:00
CppunitTest_uui_dialogs_test.mk UUIInteractionHelper::getParentProperty now unused 2018-05-18 09:56:19 +02:00
IwyuFilter_uui.yaml move ErrCode to comphelper and improve debug output string 2022-09-14 08:34:38 +02:00
Library_uui.mk Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
Makefile re-base on ALv2 code. Includes: 2012-07-13 21:38:47 +01:00
Module_uui.mk migrate to boost::gettext 2017-07-21 08:20:50 +01:00
README.md Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
UIConfig_uui.mk OneDrive auth fallback dialog makefile 2014-12-15 11:23:27 +01:00

Interaction Handler for ucb and More

Contains an Interaction Handler for the "ucb" and other uses. Works via VCL.