diff --git a/0001-Resolves-tdf-91533-rhbz-1364335-Tooltips-are-truncat.patch b/0001-Resolves-tdf-91533-rhbz-1364335-Tooltips-are-truncat.patch new file mode 100644 index 0000000..84d6564 --- /dev/null +++ b/0001-Resolves-tdf-91533-rhbz-1364335-Tooltips-are-truncat.patch @@ -0,0 +1,48 @@ +From e527edf06f8befb45b76ee8ebabe62e6dc885e45 Mon Sep 17 00:00:00 2001 +From: rpmbuild +Date: Mon, 15 Aug 2016 15:17:11 +0100 +Subject: [PATCH] Resolves: tdf#91533 (rhbz#1364335) Tooltips are truncated + +Change-Id: Id9ec91ed9652f491e4e2a0556eeed27bf6517002 +--- + vcl/inc/helpwin.hxx | 1 + + vcl/source/app/help.cxx | 11 +++++++++++ + 2 files changed, 12 insertions(+) + +diff --git a/vcl/inc/helpwin.hxx b/vcl/inc/helpwin.hxx +index e7cc81a..3864575 100644 +--- a/vcl/inc/helpwin.hxx ++++ b/vcl/inc/helpwin.hxx +@@ -47,6 +47,7 @@ private: + virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle&) override; + virtual void RequestHelp( const HelpEvent& rHEvt ) override; + virtual void ApplySettings(vcl::RenderContext& rRenderContext) override; ++ virtual void StateChanged(StateChangedType nType) override; + + virtual OUString GetText() const override; + void ImplShow(); +diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx +index 28bc632..7a8bbc8 100644 +--- a/vcl/source/app/help.cxx ++++ b/vcl/source/app/help.cxx +@@ -277,6 +277,17 @@ HelpTextWindow::HelpTextWindow( vcl::Window* pParent, const OUString& rText, sal + maHideTimer.SetTimeout( rHelpSettings.GetTipTimeout() ); + } + ++void HelpTextWindow::StateChanged(StateChangedType nType) ++{ ++ FloatingWindow::StateChanged(nType); ++ if (nType == StateChangedType::InitShow) ++ { ++ ApplySettings(*this); ++ SetHelpText(maHelpText); ++ Invalidate(); ++ } ++} ++ + void HelpTextWindow::ApplySettings(vcl::RenderContext& rRenderContext) + { + const StyleSettings& rStyleSettings = rRenderContext.GetSettings().GetStyleSettings(); +-- +2.7.4 + diff --git a/libreoffice.spec b/libreoffice.spec index cd91571..c819f98 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -278,6 +278,7 @@ Patch43: 0001-Resolves-tdf-101213-drop-use-of-CAIRO_OPERATOR_DIFFE.patch Patch44: 0001-sw-restore-some-Dispose-calls-in-a11y-code.patch Patch45: 0001-gtk3-style-combobox-never-becomes-sensitive-if-it-st.patch Patch46: 0001-Resolves-tdf-100250-scrollbar-has-no-bg.patch +Patch47: 0001-Resolves-tdf-91533-rhbz-1364335-Tooltips-are-truncat.patch %if ! 0%{?rhel} Patch400: 0001-Update-liborcus-to-0.11.0.patch