diff --git a/0001-gtk3-Resolves-tdf-96333-fix-RTL-menu-positioning.patch b/0001-gtk3-Resolves-tdf-96333-fix-RTL-menu-positioning.patch new file mode 100644 index 0000000..b5e4f20 --- /dev/null +++ b/0001-gtk3-Resolves-tdf-96333-fix-RTL-menu-positioning.patch @@ -0,0 +1,27 @@ +From e6e024c747eaaa58ccd7ed542c7c31fcb6911090 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= +Date: Thu, 18 Feb 2016 17:20:34 +0000 +Subject: [PATCH] gtk3: Resolves: tdf#96333 fix RTL menu positioning + +Change-Id: I22c5186371e558ed84da81c43400379c218ca816 +(cherry picked from commit d7a292ce490eeb8ff02e145e0a55f41f4c179541) +--- + vcl/unx/gtk3/gtk3gtkframe.cxx | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx +index 3914de5..6902256 100644 +--- a/vcl/unx/gtk3/gtk3gtkframe.cxx ++++ b/vcl/unx/gtk3/gtk3gtkframe.cxx +@@ -1613,7 +1613,7 @@ void GtkSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_u + if( m_pParent ) + { + if( AllSettings::GetLayoutRTL() ) +- nX = m_pParent->maGeometry.nWidth-maGeometry.nWidth-1-nX; ++ nX = m_pParent->maGeometry.nWidth-m_nWidthRequest-1-nX; + nX += m_pParent->maGeometry.nX; + nY += m_pParent->maGeometry.nY; + } +-- +2.7.1 + diff --git a/libreoffice.spec b/libreoffice.spec index b761e6e..d10ab7b 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -53,7 +53,7 @@ Summary: Free Software Productivity Suite Name: libreoffice Epoch: 1 Version: %{libo_version}.2 -Release: 2%{?libo_prerelease}%{?dist} +Release: 3%{?libo_prerelease}%{?dist} License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0 Group: Applications/Productivity URL: http://www.libreoffice.org/ @@ -301,6 +301,7 @@ Patch66: 0001-use-the-users-preferred-initials-for-impress-annotat.patch Patch67: 0001-reportbuilder-tdf-92720-add-loext-namespace.patch Patch68: 0001-update-graphite-to-1.3.5.patch Patch69: 0001-Resolves-rhbz-1285356-force-swing-not-to-use-gtk2-if.patch +Patch70: 0001-gtk3-Resolves-tdf-96333-fix-RTL-menu-positioning.patch %if 0%{?rhel} # not upstreamed @@ -2218,6 +2219,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || : %endif %changelog +* Thu Feb 18 2016 Caolán McNamara - 1:5.0.5.2-3.UNBUILT +- Resolves: tdf#96333 fix gtk3 RTL menu positioning + * Wed Feb 17 2016 Caolán McNamara - 1:5.0.5.2-2 - Resolves: tdf#92720 report builder loses embedded charts - update to graphite 1.3.5 possible behaviour changes