Commit graph

11852 commits

Author SHA1 Message Date
Samuel Mehrbrodt
e71e37bcec Improve reporting save results
Change-Id: I3f2f96f4b8f196e6e9268bed24695f739f679124
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97699
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-07-07 15:06:25 +02:00
Henry Castro
0e3f2d7c9f loleafet: simplify to compute the bottom bound of the preview thumbnails
Change-Id: I5ee8c5b4182b2752821fcd3bba022bc4b3db42d1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97778
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-07 15:03:35 +02:00
Henry Castro
67bd664901 loleaflet: update preview images when the doc size changes
The unit test checks the aspect ratio of the preview thumbnails,
this happens when the document size changes (i.e changing paper format)

Change-Id: I0267e797327b73d714947258e004fe64cce9d1dd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97775
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-07 15:03:10 +02:00
Szymon Kłos
eaa904478e notebookbar: fix context switching
Change-Id: I292f013fea46ebe15370ac11cd13e316b4adbd63
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98256
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-07 14:34:35 +02:00
Szymon Kłos
39d5d55d71 clipboard: no stub message when copy is disabled
When copy is disabled don't put stub message about
download button in the clipboard.
Allow internal copy & paste when copy is disabled
- so disable only external interaction.

Change-Id: Ie7864abc8a239aa068880545cf09a48155ebbaea
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98237
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-07 10:37:29 +02:00
Szymon Kłos
ac7125b1ea clipboard: avoid error when localStorage is not available
In some browsers with strange settings localStorage is
not available.

Change-Id: If9e5ebeb9701cc0a2b19c5946bcbc23f76a8c577
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98238
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-07 10:16:59 +02:00
Dennis Francis
f04bfc21d7 handle the case of first cell-cursor arriving after...
the cell-area selection. Improbable, but can happen in a cypress test.

Change-Id: I112ef88d11818c6e0abc91a8de37c329666dcdbc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98216
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 19:07:49 +02:00
Dennis Francis
831b13ada2 graphic(view)selection messages needs to be replayed
See commit: "Replay print-twips messages for a couple of reasons..."
for context on replay.

Change-Id: I8a834fef08685d0ee713f64abed1696e56987241
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98158
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 19:05:42 +02:00
Dennis Francis
46cfff2418 print-twips messaging for graphics
All graphic-selection messages from core are in print-twips if
sc_print_twips_msgs is set in SAL_LOK_OPTIONS. So do all the necessary
conversions on intercepting the message.

In addition, in this mode the core expects the parameters of the command
'.uno:TransformDialog' to be in print-twips. This is also done in this
patch.

Change-Id: Ief8a0d4677f83f26b135ce47b68c27bff5aaf5c9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98157
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 19:04:53 +02:00
Dennis Francis
3e3fbdd815 add more message types to replay
own:  invalidatecursor, textselectionstart, textselectionend
view: invalidateviewcursor

See commit: "Replay print-twips messages for a couple of reasons..."
for context on replay.

Change-Id: I7d7cfd62202ac46b3410ad3e08bc04f0e2cdab00
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98156
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 19:03:26 +02:00
Dennis Francis
4a5df02d64 handle text selection messages in print-twips properly
Change-Id: Ieedfb48be9e8e5806e9e3e1c0d11ac5704985934
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98155
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 19:02:49 +02:00
Dennis Francis
2a4f781e06 introduce L.Bounds.parseArray()...
and reuse this to parse all rectangles in text-selection (own/view) message.

Change-Id: Ic6946b2f10d9f642232d540b5974d53edbb774d7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98153
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 19:02:07 +02:00
Dennis Francis
a42d4103e7 Allow tile-twips coordinates for chart/draw edit cursor messages for now
Print twips coordinates for chart/draw edit-cursor is not there yet in
core (needs more work).

Change-Id: If8cd9431fa43351340c74e989ee837f4b1b859dd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98152
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 19:01:37 +02:00
Dennis Francis
b882da11ee Handle print-twips 'invalidateviewcursor' msg correctly
Change-Id: I0860c157ee9c82c22add4b1342a8be149d919f2e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98151
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 19:00:25 +02:00
Dennis Francis
e6421d253b disable scaling of column-header with zoom...
until we have a better solution. It messes up the positioning of headers
w.r.t the map at certain zooms.

Change-Id: I32422a5f5076f83631f28a90db6a543e830ccf0e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98150
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 18:59:50 +02:00
Dennis Francis
ed812c066a introduce L.Point.parse() and L.Bounds.parse() functions
and reuse them where we need to parse points/rectangles strings from
core and avoid writing the same parsing code everywhere.

Change-Id: I029ba97eaa1062eef404eeb8f35d1c6897315d80
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98149
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 18:57:16 +02:00
Dennis Francis
e1d3941ad9 Handle print-twips 'invalidatecursor' msg correctly
Change-Id: I2b35be9228338d35b4aee9209f9b556a6adf5752
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98148
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 18:56:33 +02:00
Dennis Francis
abe2a81e1f introduce clone(), add(), _add() members to L.Bounds
like we have for L.Point.

Change-Id: Ic7d1bf7d41f8d3e2cec2dab05ba0742342840775
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98147
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 18:56:04 +02:00
Dennis Francis
844a9431c8 introduce _getCursorRectangle() and _parseRectangle()...
and move the parsing/rectangle calculation code there.

Change-Id: Ia24cd5d6931cf970336e3acdcd4a07a6da044068
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98146
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 18:55:37 +02:00
Dennis Francis
4527f5587a Use sheet-geometry data to prevent view area overflow...
when zooming close to bottom/right of a sheet. The bug is due to the
view centering logic on zoom without the knowledge of sheet area
hard-limits and is present in online master without the calc-coordinates
cleanup work.

Change-Id: Ic3b9f2873c4a22365a87a08a2ff89d8584a16581
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98145
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 18:53:39 +02:00
Szymon Kłos
621e0fa429 Add data validation dialog in menu
Change-Id: I8887eac359f87fa2fe59b29f10a5fe9804bf33b9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97817
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-06 14:14:30 +02:00
Szymon Kłos
817d2b51c1 Add watermark dialog in menu
Change-Id: I76054a101c8d45f46761bbc7b70d4939a48acd30
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97703
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-06 14:14:10 +02:00
Szymon Kłos
304d26af19 Add find & replace dialog in menu
Change-Id: I4cf7f773e46d39fac521f607df4db6922a3c70bf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97702
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-06 14:13:47 +02:00
Ashod Nakashian
9f7f6dca6a wsd: cleanup realpath call
The new utility is safer and more readable.

Change-Id: I3a86675378d458cb004e5534dbf2b401936d0e57
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98183
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-07-06 13:54:54 +02:00
Ashod Nakashian
71a9d21d3e make: don't clean compile_commands.json
Since this file is only created manually,
it shouldn't be removed automatically.

Change-Id: I8d26b7bfc7f7cd899318b2edd3e5ef9bd462cc99
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98184
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-07-06 13:47:27 +02:00
Tor Lillqvist
888b31ad86 Revert "Return early in L.Map.showBusy() in the iOS app, too"
Instead, set brandProductName from the MOBILEAPPNAME. Now the mobile
app name shows up in the progress bar.

This reverts commit 24a0c7c3dc.

Change-Id: I91c7ea3d21f5362fc6a4d777b041089413e921ee
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98205
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-07-06 13:24:28 +02:00
Tamás Zolnai
d613f8ad1d cypress: make jails folder if does not exist.
Newly jails folder is cleaned up after a run.

Change-Id: Ia4f3eb26f61c5f14304e9ae6a3d5b5f60a0ee592
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98204
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-06 13:08:05 +02:00
Tamás Zolnai
f934aa59a8 cypress: update writer table related tests.
Change-Id: I70039a14d6ad8ee33ae833c24111e6ca8d8caee4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98202
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-06 13:07:36 +02:00
Tor Lillqvist
24a0c7c3dc Return early in L.Map.showBusy() in the iOS app, too
Change-Id: If4d76601ed618a2e52f3dd1a116d03835c2342e7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98194
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-07-06 11:42:38 +02:00
Yunusemre Şentürk
187aefb626 Fix lool user control issue on packaging
Change-Id: I1e75279f955a74da5f167dff4648d142af51ab1b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98192
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-07-06 10:41:14 +02:00
Tamás Zolnai
97b82b5dec cypress: enable page setup tests.
Change-Id: I8eeb91c76e42cd868c491534e57cb08d2ea7675d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98190
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-06 10:16:17 +02:00
gokaysatir
3b6ac9179c loleaflet: Admin panel does not have kill session button anymore.
Change-Id: I4cfa87dd2bc835281b0738628e88d824f0bcc4e9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98136
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-07-05 21:45:56 +02:00
Tamás Zolnai
05e77fd0da cypress: add tests for sheet operations (calc, mobile)
Change-Id: I01b4806eac3ee713b8d3754e075df55d917e07ce
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98142
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-05 16:53:38 +02:00
Dennis Francis
e0eca22054 Replay print-twips messages for a couple of reasons...
If L.CalcTileLayer.options.printTwipsMsgsEnabled is set, we will not get
some messages (with coordinates) from core when zoom changes because
print-twips coordinates are zoom-invariant. So we need to remember the
last version of each of them and replay, when zoom is changed.  We also
need to replay the messages, when sheet-geometry changes. This is
because it is possible for the updated print-twips messages to arrive
before the sheet-geometry update message arrives.

Change-Id: Icd77ad77c7642aae24e68fb0b7f229c7ec62484a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98114
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:39:53 +02:00
Dennis Francis
3385059301 Avoid position recomputations if no change in zoom
Change-Id: I25bab150c9e8f13a52f67c8f908f0d27206e6993
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98113
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:37:25 +02:00
Dennis Francis
051803327a Handle print-twips 'comment' msg correctly
Change-Id: I36687aab705eef0e3dab3af7d39de7ac390129c0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98112
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:36:25 +02:00
Dennis Francis
31b3093686 Handle print-twips 'textviewselection' msg correctly
Change-Id: I94a40b5a53a33a6658a8c8e4cd1cdbbd5ae4f460
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98111
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:35:16 +02:00
Dennis Francis
210b5ecde9 Handle print-twips 'textselection' msg correctly
Change-Id: I6da579fe74827ad6cf127a58300b0ffd9c50b248
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98110
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:34:22 +02:00
Dennis Francis
72fd12904e Handle print-twips 'cellselectionarea' msg correctly
Change-Id: Ib8a13f66a4ffd3d63eeff8951960ebf176733a18
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98109
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:33:07 +02:00
Dennis Francis
034a17b4ec Handle print-twips 'cellviewcursor' msg correctly
Change-Id: I744a24aa54768f12ea8801f6ceabdd4c79fa483a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98108
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:32:25 +02:00
Dennis Francis
e2409e27ca Handle print-twips referencemarks msg correctly
Change-Id: I53f283e267a5fd84cf3232cc346921b67d3487bc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98107
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:31:38 +02:00
Dennis Francis
e2c8e486fe Handle print-twips 'cellcursor' msg from correctly
This is conditioned on the flag printTwipsMsgsEnabled.

Change-Id: I61a9165a9f81ce7473c3fa6579947f34552dbdaf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98106
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:30:54 +02:00
Dennis Francis
f716d610c1 Allow conversion of print-twips coordinates to tile-twips...
in L.SheetGeometry/L.SheetDimension classes.

Change-Id: If212e6ef2bebfeae32635f58a3025fbdf42e6ef2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98105
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:29:34 +02:00
Dennis Francis
320550f582 row(col) header's canvas height(width) should not auto-adjust...
with the height(width) of the parent container, because if it does, the
header-canvas scales its contents to adjust to the new height(width) and
of course goes out of sync with the tiles.

This bug is visible when we do synchronous update of headers and if one
or both of the headers change size due to increase/decrease of
table-outline levels.

Change-Id: Ib65fd27f3598c7d58323d37c80ce2a147e594911
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98104
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:29:12 +02:00
Dennis Francis
9909f20a05 fix a logical error regarding useDevicePixels flag
Change-Id: I4a930544a8f09d4d97c5e8257f0a353b4fccefac
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98103
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:28:11 +02:00
Dennis Francis
7b8df1fd0e Avoid double parse/load of the first sheet geometry message
Change-Id: I381c63608dd4858b7f4e6e22d3f1d010cd2308e0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98102
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:27:26 +02:00
Dennis Francis
2d8f0d5a6f Supress multiple .uno:SheetGeometryData requests...
at document load till we get a response, by using flag.

Change-Id: I6296d6e18a122ee3cb714f26c019f9080c7febc7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98101
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:26:46 +02:00
Dennis Francis
a695506c73 loleaflet: avoid double logging of messages
Change-Id: Ib19e3f26ec0fe5bb66364a488f764bdcf88acf83
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98100
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:26:06 +02:00
Dennis Francis
fbae86ca65 handle 'invalidatesheetgeometry' message
and use it to fetch the changed sheet geometry data and update the view.

Change-Id: I5a72012ce08f23e456cd64388e22385872f665a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98099
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:25:34 +02:00
Dennis Francis
7b78a2e664 Ignore the "invalidateheader:" msgs when...
sheet-geometry data source is enabled, because these messages are not
just for sheet geometry changes.

Change-Id: I8b2cca968a189607e46a4f9512c60e4b29f124bc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98098
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:24:27 +02:00