[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Thu Oct 5 11:57:41 UTC 2017


 vcl/unx/gtk/gtkdata.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 072a077972ada6500151623642db544ff5cb567e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 5 10:15:15 2017 +0100

    tdf#112890 some dialog don't appear under gtk2
    
    Change-Id: I90a59bfdaec0e78d93888e5cc30d1c7fa147a7e7
    Reviewed-on: https://gerrit.libreoffice.org/43162
    Reviewed-by: Jan-Marek Glogowski <glogow at fbihome.de>
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk/gtkdata.cxx b/vcl/unx/gtk/gtkdata.cxx
index 77abe724298d..97541eed22c1 100644
--- a/vcl/unx/gtk/gtkdata.cxx
+++ b/vcl/unx/gtk/gtkdata.cxx
@@ -835,7 +835,9 @@ void GtkSalData::TriggerUserEventProcessing()
     else // nothing pending anyway
     {
         m_pUserEvent = g_idle_source_new();
-        g_source_set_priority (m_pUserEvent, G_PRIORITY_HIGH);
+        // tdf#112890 some dialog don't appear under gtk2, use the same
+        // priority for user-events as gtk3 does since tdf#110737
+        g_source_set_priority (m_pUserEvent,  G_PRIORITY_HIGH_IDLE + 30);
         g_source_set_can_recurse (m_pUserEvent, TRUE);
         g_source_set_callback (m_pUserEvent, call_userEventFn,
                                static_cast<gpointer>(this), nullptr);


More information about the Libreoffice-commits mailing list