Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/libreoffice.git#437cf58b6848aed0973ea8627c1e22cbb38beb1e
This commit is contained in:
parent
6046dd1bac
commit
d6817db909
62
0001-tdf-138727-help-browser-didn-t-flow-text.patch
Normal file
62
0001-tdf-138727-help-browser-didn-t-flow-text.patch
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
From 96e5a291775c9a0e04bbc5dd7ed8d5a494279470 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||||
|
Date: Wed, 27 Jan 2021 12:43:25 +0000
|
||||||
|
Subject: [PATCH] tdf#138727 help browser didn't flow text
|
||||||
|
|
||||||
|
because of its size request, while the paned shrink lets the pane shrink
|
||||||
|
below the size request the contents stay at a min of the size request
|
||||||
|
and aren't really shrunk, just clipped. Instead don't let the pane
|
||||||
|
shrink but don't set a size.request letting it shrink to its natural
|
||||||
|
min of its contents which are then truly resized so the text flow works.
|
||||||
|
|
||||||
|
Change-Id: Iaf6738ace28c82379ac6322310de9a22f9653473
|
||||||
|
---
|
||||||
|
sfx2/source/appl/newhelp.cxx | 1 -
|
||||||
|
sfx2/uiconfig/ui/helpwindow.ui | 5 ++---
|
||||||
|
2 files changed, 2 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
|
||||||
|
index 9160c231f7e3..fb3ed8d5b78b 100644
|
||||||
|
--- a/sfx2/source/appl/newhelp.cxx
|
||||||
|
+++ b/sfx2/source/appl/newhelp.cxx
|
||||||
|
@@ -2467,7 +2467,6 @@ SfxHelpWindow_Impl::SfxHelpWindow_Impl(
|
||||||
|
m_xContainer->connect_size_allocate(LINK(this, SfxHelpWindow_Impl, ResizeHdl));
|
||||||
|
m_xHelpPaneWindow = m_xBuilder->weld_container("helppanewindow");
|
||||||
|
m_xHelpTextWindow = m_xBuilder->weld_container("helptextwindow");
|
||||||
|
- m_xHelpTextWindow->set_size_request(m_xHelpTextWindow->get_approximate_digit_width() * 120, -1);
|
||||||
|
m_xHelpTextXWindow = m_xHelpTextWindow->CreateChildFrame();
|
||||||
|
|
||||||
|
pHelpInterceptor->InitWaiter( this );
|
||||||
|
diff --git a/sfx2/uiconfig/ui/helpwindow.ui b/sfx2/uiconfig/ui/helpwindow.ui
|
||||||
|
index 6c9fae044c45..f35acaf06bf7 100644
|
||||||
|
--- a/sfx2/uiconfig/ui/helpwindow.ui
|
||||||
|
+++ b/sfx2/uiconfig/ui/helpwindow.ui
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
- <property name="resize">True</property>
|
||||||
|
+ <property name="resize">False</property>
|
||||||
|
<property name="shrink">False</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
@@ -43,7 +43,6 @@
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="toolbar_style">icons</property>
|
||||||
|
- <property name="show_arrow">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkToolButton" id="index">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
@@ -196,7 +195,7 @@
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="resize">True</property>
|
||||||
|
- <property name="shrink">True</property>
|
||||||
|
+ <property name="shrink">False</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
--
|
||||||
|
2.28.0
|
||||||
|
|
@ -50,7 +50,7 @@ Summary: Free Software Productivity Suite
|
|||||||
Name: libreoffice
|
Name: libreoffice
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: %{libo_version}.2
|
Version: %{libo_version}.2
|
||||||
Release: 5%{?libo_prerelease}%{?dist}
|
Release: 8%{?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 MPLv2.0 and CC0
|
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 MPLv2.0 and CC0
|
||||||
URL: http://www.libreoffice.org/
|
URL: http://www.libreoffice.org/
|
||||||
|
|
||||||
@ -102,7 +102,6 @@ BuildRequires: doxygen
|
|||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gdb
|
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
@ -255,6 +254,7 @@ Patch10: 0001-gcc11.patch
|
|||||||
Patch11: 0001-disable-tests-that-don-t-work-without-pdfium.patch
|
Patch11: 0001-disable-tests-that-don-t-work-without-pdfium.patch
|
||||||
Patch12: 0001-rhbz-1913828-SfxViewFrame-Current-can-return-null.patch
|
Patch12: 0001-rhbz-1913828-SfxViewFrame-Current-can-return-null.patch
|
||||||
Patch13: 0001-rhbz-1918152-fix-FTBFS.patch
|
Patch13: 0001-rhbz-1918152-fix-FTBFS.patch
|
||||||
|
Patch14: 0001-tdf-138727-help-browser-didn-t-flow-text.patch
|
||||||
|
|
||||||
# Patches with numbers above 100 are applied conditionally
|
# Patches with numbers above 100 are applied conditionally
|
||||||
Patch101: 0001-Upgrade-liborcus-to-0.16.0.patch
|
Patch101: 0001-Upgrade-liborcus-to-0.16.0.patch
|
||||||
@ -1132,8 +1132,6 @@ touch autogen.lastrun
|
|||||||
%{?archoptions} \
|
%{?archoptions} \
|
||||||
%{?flatpakoptions}
|
%{?flatpakoptions}
|
||||||
|
|
||||||
ulimit -c unlimited || true
|
|
||||||
|
|
||||||
make verbose=true build-nocheck
|
make verbose=true build-nocheck
|
||||||
|
|
||||||
#generate the icons and mime type stuff
|
#generate the icons and mime type stuff
|
||||||
@ -2273,6 +2271,15 @@ done
|
|||||||
%{_includedir}/LibreOfficeKit
|
%{_includedir}/LibreOfficeKit
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 27 2021 Caolán McNamara <caolanm@redhat.com> - 1:7.0.4.2-8
|
||||||
|
- drop unneeded BuildRequires: gdb
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Caolán McNamara <caolanm@redhat.com> - 1:7.0.4.2-7
|
||||||
|
- Resolves: rhbz#1916539 text not wrapping in right hand help brower pane
|
||||||
|
|
||||||
|
* Mon Jan 25 2021 Caolán McNamara <caolanm@redhat.com> - 1:7.0.4.2-6
|
||||||
|
- really rebuild for Boost 1.75
|
||||||
|
|
||||||
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 1:7.0.4.2-5
|
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 1:7.0.4.2-5
|
||||||
- Rebuilt for Boost 1.75
|
- Rebuilt for Boost 1.75
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user