From 3b7322b87c3fc571e9bfb6f9cc609404067a48b6 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Tue, 11 Sep 2018 18:14:28 +0200 Subject: [PATCH] tdf#119814 DEMO: Cause gtk3_kde5 filepicker to "hang" indefinitely Change-Id: I000db048243f9acbc5e4e3f55d39652579461198 --- vcl/unx/gtk3_kde5/filepicker_ipc_commands.hxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vcl/unx/gtk3_kde5/filepicker_ipc_commands.hxx b/vcl/unx/gtk3_kde5/filepicker_ipc_commands.hxx index 1acef8caf48e..27a18d8c3bf9 100644 --- a/vcl/unx/gtk3_kde5/filepicker_ipc_commands.hxx +++ b/vcl/unx/gtk3_kde5/filepicker_ipc_commands.hxx @@ -19,8 +19,10 @@ #pragma once +#include #include #include +#include #include #include @@ -149,6 +151,7 @@ inline void sendIpcArg(std::ostream& stream, uint64_t value) { stream << value < inline void sendIpcArgsImpl(std::ostream& stream) { + std::this_thread::sleep_for(std::chrono::seconds(1)); // end of arguments, flush stream stream << std::endl; } -- 2.18.0