[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2-5' - 4 commits - debian/changelog loleaflet/css loleaflet/images loleaflet/src loolwsd.spec.in

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 29 20:25:16 UTC 2020


 debian/changelog                           |    8 +++++++-
 dev/null                                   |binary
 loleaflet/css/loleaflet.css                |    7 +++++--
 loleaflet/css/toolbar.css                  |    3 +--
 loleaflet/images/user.svg                  |   24 ++++++++++++++++++++++++
 loleaflet/src/control/Control.LokDialog.js |    2 ++
 loolwsd.spec.in                            |    2 +-
 7 files changed, 40 insertions(+), 6 deletions(-)

New commits:
commit a400fc382e5bdd1f224846f89ac5f8f3efccd979
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Mon Jun 29 22:24:41 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Jun 29 22:24:41 2020 +0200

    Bump package version to 4.2.5-3
    
    Change-Id: I6c517145d95240e08e8a4784137c96c517ada68b

diff --git a/debian/changelog b/debian/changelog
index fe47f9f91..b51ecf6b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,12 @@
+loolwsd (4.2.5-3) unstable; urgency=medium
+
+  * https://cgit.freedesktop.org/libreoffice/online/log/?h=cp-4.2.5-3
+
+ -- Andras Timar <andras.timar at collabora.com>  Mon, 29 Jun 2020 22:20:00 +0200
+
 loolwsd (4.2.5-2) unstable; urgency=medium
 
-  * https://cgit.freedesktop.org/libreoffice/online/log/?h=cp-4.2.5-1
+  * https://cgit.freedesktop.org/libreoffice/online/log/?h=cp-4.2.5-2
 
  -- Andras Timar <andras.timar at collabora.com>  Fri, 26 Jun 2020 21:20:00 +0200
 
diff --git a/loolwsd.spec.in b/loolwsd.spec.in
index 2da566289..8cc3a2ce3 100644
--- a/loolwsd.spec.in
+++ b/loolwsd.spec.in
@@ -12,7 +12,7 @@ Name:           loolwsd%{name_suffix}
 Name:           loolwsd
 %endif
 Version:        @PACKAGE_VERSION@
-Release:        2%{?dist}
+Release:        3%{?dist}
 Vendor:         %{vendor}
 Summary:        LibreOffice Online WebSocket Daemon
 License:        EULA
commit 48d3b79c60c322459bfc161f282b2e7631b54498
Author:     Aron Budea <aron.budea at collabora.com>
AuthorDate: Thu Jun 25 09:25:53 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Jun 29 22:22:06 2020 +0200

    loleaflet: use correct extension for default user avatar
    
    Regression from 8bfa1318b246d7c9df2b1d22d2e8094205a53acd
    
    Change-Id: I8be2ea394fd35c418b33aed42555cfa37d7bc7c9
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97086
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Tested-by: Jenkins
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    (cherry picked from commit edaea8a3896ba37fab38ecb11644f98c14076f60)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97383

diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 41e9459fc..de1d246e1 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -372,7 +372,7 @@ body {
 	box-sizing: border-box;
 	width: 32px; /* Width of new image */
 	height: 32px; /* Height of new image */
-	background: url(images/user.png) center 3px no-repeat;
+	background: url(images/user.svg) center 3px no-repeat;
 }
 
 .leaflet-container .leaflet-pane.leaflet-calc-background-pane {
diff --git a/loleaflet/images/user.png b/loleaflet/images/user.png
deleted file mode 100644
index 88d9050d0..000000000
Binary files a/loleaflet/images/user.png and /dev/null differ
diff --git a/loleaflet/images/user.svg b/loleaflet/images/user.svg
new file mode 100644
index 000000000..f91ec33da
--- /dev/null
+++ b/loleaflet/images/user.svg
@@ -0,0 +1,24 @@
+<svg width="8.4667mm" height="8.4667mm" version="1.1" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+  <linearGradient id="linearGradient1524" x1="291.71" x2="318.78" y1="742.23" y2="742.23" gradientTransform="matrix(1.1429 0 0 1 -43.674 0)" gradientUnits="userSpaceOnUse">
+   <stop stop-color="#aaa" stop-opacity=".084" offset="0"/>
+   <stop stop-color="#aaa" offset=".2389"/>
+   <stop stop-color="#aaa" offset=".49998"/>
+   <stop stop-color="#aaa" offset=".75984"/>
+   <stop stop-color="#aaa" stop-opacity=".044" offset="1"/>
+  </linearGradient>
+  <radialGradient id="radialGradient1558" cx="16" cy="28.281" r="13" gradientTransform="matrix(1.2308 0 0 .69231 -3.6923 9.4209)" gradientUnits="userSpaceOnUse">
+   <stop stop-color="#afafaf" offset="0"/>
+   <stop stop-color="#a0a0a0" offset="1"/>
+  </radialGradient>
+  <radialGradient id="radialGradient1584" cx="305.95" cy="719.11" r="4.9469" gradientTransform="matrix(1.1156 0 0 .80618 -35.51 137.9)" gradientUnits="userSpaceOnUse">
+   <stop stop-color="#c7c7c7" offset="0"/>
+   <stop stop-color="#c7c7c7" stop-opacity="0" offset="1"/>
+  </radialGradient>
+ </defs>
+ <g transform="translate(-289.71 -712.23)">
+  <path d="m292.71 741.23h-3l3 1-1 1h27v-1l3-1h-3z" color="#000000" color-rendering="auto" dominant-baseline="auto" fill="url(#linearGradient1524)" image-rendering="auto" shape-rendering="auto" solid-color="#000000" style="font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;isolation:auto;mix-blend-mode:normal;shape-padding:0;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal"/>
+  <path transform="translate(289.71 712.23)" d="m16 2.9492c-2.9083 0-5.606 1.7356-5.5 4.0508-0.44134 1.2582 0.59978 4.2841 0 4 0 0-0.44452 0.66615 0 2l2 2.5s0.1368 3.3681 0 3.5c-0.49282 2.3328-8.375 4.4464-9 6.5v4h25v-4c-0.625-2.0536-8.5072-4.1672-9-6.5-0.1368-0.13194 0-3.5 0-3.5l2-2.5c0.44452-1.3339 0-2 0-2-0.59978 0.2841 0.44134-2.7418 0-4-0.48901-2.3471-2.5917-4.0508-5.5-4.0508z" fill="url(#radialGradient1558)" stroke="#868686" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".98431" style="paint-order:normal"/>
+  <path d="m310.16 719.13c-0.39519-1.686-2.0945-2.9097-4.4448-2.9097v0c-2.3503 0-4.5305 1.2467-4.4449 2.9097" fill="none" stroke="url(#radialGradient1584)" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".98431" style="paint-order:normal"/>
+ </g>
+</svg>
commit 9f24b81834bf7497acb273616514a9dcad186191
Author:     Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Fri Jun 19 16:32:05 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Jun 29 22:21:59 2020 +0200

    Sidebar-panel has fixed width that is bigger than its contents, better fix
    
    - Revert display:table from #sidebar-panel
    - Set document-container position to right:0px when in presence of text or presentation documents that has (missing) the sidebar closed (sidebar-dock-wrapper display:none)
    
    Change-Id: Id4416e9dfa0540dd774b83b41428f021f99f4f38
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96741
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Pedro Silva <pedro.silva at collabora.com>
    (cherry picked from commit 862486f6d231178ce44a0f3902b2feb76866b5f9)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97382
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 0773c624d..41e9459fc 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -7,6 +7,10 @@
 	right: 0px;
 	left: 0px;
 }
+#document-container.sidebar-closed {
+	right: 0px !important;
+}
+
 
 #document-container.tablet {
 	top: 36px;
@@ -152,7 +156,6 @@ body {
 }
 
 #sidebar-panel {
-	display: table;
 	padding: 0px;
 	margin: 0px;
 	position: relative;
diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js
index dfddbdfc2..1b70b1cc0 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -1060,6 +1060,7 @@ L.Control.LokDialog = L.Control.extend({
 			this._sendPaintWindowRect(id);
 		} else {
 			this._createSidebar(id, strId, width, height);
+			$('#document-container').removeClass('sidebar-closed');
 		}
 	},
 
@@ -1365,6 +1366,7 @@ L.Control.LokDialog = L.Control.extend({
 			this._map.fire('editorgotfocus');
 			this._map.focus();
 		}
+		$('#document-container').addClass('sidebar-closed');
 	},
 
 	_onCalcInputBarClose: function(dialogId) {
commit 95d482d718b4bcb500405d88dc6b728bb8991b29
Author:     Pedro Silva <pedro.silva at collabora.com>
AuthorDate: Mon Jun 29 22:18:09 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Jun 29 22:21:54 2020 +0200

    Desktop: document name: center icon (pencil)
    
    Change-Id: I3da93eda530fa5e660b95ddf743b68463e939292

diff --git a/loleaflet/css/toolbar.css b/loleaflet/css/toolbar.css
index 20fb595a0..0a795e187 100644
--- a/loleaflet/css/toolbar.css
+++ b/loleaflet/css/toolbar.css
@@ -152,11 +152,10 @@ w2ui-toolbar {
 #document-title-pencil.editable {
 	visibility: visible;
 	width: 24px;
-	height: 22px;
+	height: 18px;
 	position: absolute;
 	left: 87%;
 	background: url('images/baseline-edit.svg') right center no-repeat, radial-gradient(circle, #fff 20%, #fff0 100%);
-	border-top: solid 3px white;
 }
 
 #document-title-pencil:not(.editable){


More information about the Libreoffice-commits mailing list