Commit graph

6759 commits

Author SHA1 Message Date
Dennis Francis
8aeaf9f2ee splitter lines must stay on top of other overlays
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia4fd1a0a35c19b756c89ef82df05385250b676d2
2021-03-04 15:06:02 +05:30
Dennis Francis
25882d0186 avoid gaps between freeze-panes
Using a gap of 1 pixel (css or not) between frozen pane and movable pane
causes a unpainted gap lines. This was not apparent because we had thick
svg splitter line covering them.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I08573b590662e0e4199b1445c57d3a2917c7d99a
2021-03-04 15:06:02 +05:30
Dennis Francis
675963f22b migrate splitter lines to canvas overlay section
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I983eedbb946d640498e63660e948d09dd838f2b1
2021-03-04 15:06:02 +05:30
Dennis Francis
a08b7083d5 introduce TS CSplitterLine from L.SplitterLine
without the interaction capability which is currently not used.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If78e23490f49d2d9d6d17c350c89fa67ba6bfdab
2021-03-04 15:06:02 +05:30
Michael Meeks
a739e268e1 Tolerate a null this.dialog on the map at start.
Change-Id: I1d74b9899c0bebe075c83ee79987b60154a27dac
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-03-03 21:08:45 +00:00
Michael Meeks
4c4c02b3b9 Firefox 42 ESR workaround.
We get a single exception during setup from setSelectionRange,
presumably when the textArea is not focused. That causes a leak
of _ignoreInputCount - which kills text input.

So catch and ignore the exception.

Change-Id: I3fdfff99344f53b03ebadec2e551d7ee70416334
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-03-03 21:08:45 +00:00
Gökay Şatır
0f76dfa925 ScrollBars: Make them pixel perfect.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I5d00b444e43c65c65366efb2b54cc6d4c58c3499
2021-03-03 16:31:08 +03:00
Gökay Şatır
52759920a5 mCustomScrollBar: Remove.
It's not used anymore.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I4424018e6b1820de0d86c9058207fe19f46e0c16
2021-03-03 14:04:11 +03:00
Gökay Şatır
68ac78ceec Impress: Remove mCustomScrollBar
Use native scroll bars.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I63eeac7916e9f7edc2decc0e9338c36bda48ee50
2021-03-03 14:04:11 +03:00
Gökay Şatır
b9e50b7de6 Control.Scroll.js: Removed.
ScrollSection.ts is the updated version of this file.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I484dcb7eafdc3ca62ba4d8ad864e0de711567d66
2021-03-03 14:04:11 +03:00
Gökay Şatır
1bf9a9a9e9 scroll-container: Remove references.
This class was used by mCustomScrollBar.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Id912677c3fa2cfdfa6cd5824975d8630ec6a2ac7
2021-03-03 14:04:11 +03:00
Gökay Şatır
078ce5b24e Map: Remove function "enable".
It was used for managing the mCustomScrollBar. Not needed anymore.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ibb1da1e69556f4af56353d2f8d326a3b9a56f059
2021-03-03 14:04:11 +03:00
Gökay Şatır
6fa20e77aa Calc: Set variables upon selection all.
wholeColumnSelected and wholeRowSelected variables need to be set before the command is sent to the server.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I302643d5dbaeb3a6919c51eef34a2523e5f9bfa0
2021-03-03 13:17:34 +03:00
Gökay Şatır
3d507fb3a5 Control.Scroll.js: Move to typescript.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Iac7c15fa5ea1fb8fe78119ea28032017552d93d4
2021-03-02 09:25:41 +03:00
Gökay Şatır
5c3cdcc5a4 Map.Scroll.js: Update it according to Scroll Section.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I9ea5687d9c730152875f6c6abe23a5c4653846e1
2021-03-02 09:25:41 +03:00
Gökay Şatır
a1c39ece7e CanvasTileLayer: Mirror functions.
Mirror Map's events to tiles section.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I5ef658789a21e20c8655ecc9cafcdc4556086d0e
2021-03-02 09:25:41 +03:00
Gökay Şatır
84e1d855d0 loleaflet: Makefile bug.
All ts files were being compiled upon a change on one of them. Bug
solved.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I3137d07e7ddf43076bf8b55fbacba1caef6f19cd
2021-03-02 09:25:41 +03:00
Szymon Kłos
e3a0c8b972 Add ids for shortcutsbar in draw
needed for show/hide functionality using postmessage

Change-Id: I9dc486c886ae7537963b339c7a4f08104a337e85
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 13:28:06 +01:00
mert
5df4eb2d02 Fix exception when there is no handles on shape selection
Change-Id: I0725a239177413b3415ec329186c4ee33cf37519
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
e84e5addec Draw: Hide items that does not have functionality from notebookbar
Change-Id: I1914136d9a0f442463d1ab94eb2b2e32b1685c07
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
fe7252d108 Added ConnectorToolBox to Notebookbar
Change-Id: If00563eef7a5277b2ac82f61b402074c390b7186
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
Szymon Kłos
d92d69335d Update unocommands.js
Change-Id: I2bceaafd2eb65dd6280f5e0e2390e4c697715b28
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 13:58:14 +03:00
Szymon Kłos
bf62ad5acb notebookbar: added for draw
Change-Id: I9caf00f1b02ebbf0820051d8e44721a8eb4549fd
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 13:58:14 +03:00
mert
63839fec60 Show rectangle bounds while moving the shape
Change-Id: Ic9a305267ab64e87d503db688555feb01647114d
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
84ad87284a Fix handle positions are wrong in Calc
Change-Id: I7f520b02787aabef3e8c5ccbc275aa2bdcc6359c
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
71ba3d9cb6 Include map zoom to twiptolatlng function
Change-Id: Ia95726a77494e53b2e027b694252a2bda4c9cec2
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
8594118f4d Fix rotation handle position
Change-Id: I75b3c2ff343828d00d263edb236e0d90f3d51f7f
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
244aa7eacc Share scale/scaleend functions with Connectors
This will avoid code duplications.
Middle handle and flat line handles will use the same function

Change-Id: I6fc3509147e3908a39692488305f89c6f8527a1f
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
158907dd00 Implemented Line drag animations
Change-Id: Id677bb43547d6cb9da4870117272eabea67828a2
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
80ca12aeaf Implemented PolyHandle type
Change-Id: If4b50919bcaa8cce597dbaa2e80830b6601d92d0
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
6ad4e97aba Pass mousedown callback function to createHandler
This will make the function resuable.

Change-Id: Ic59f023fc87c6e962e1c52cb1e9eeff846bb89bd
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
8034f8e724 Implemented new CustomShapeHandle marker
Change-Id: I46f974bc234b053af8904ac5e07cbb7d72ef01fe
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
d3eeaac275 Adjust getPoints to new handle callback
Change-Id: Ifc65cfe01f88209ca9f0e50583c652744112fee7
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
7d66977d9f Hide rectangle borders to match with core
Change-Id: Ic594dcb8eaf656ecc8f559966de06c1fe8cadfaa
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
fa488e6e5e New MoveShapeHandle uuno command
Change-Id: I4b28616dd2e931cd1882d035e5846ab4a19c6cf6
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
Szymon Kłos
520fc2b9ee Fix loop index
Change-Id: Id3848a9a3be4a4617a11d778b87c115abd3504bc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 10:41:52 +01:00
Szymon Kłos
1964776ec8 notebookbar: Show/Hide/Remove _button support
Change-Id: I81f369c6aaf98af64912923196d3d681e424a7f5
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Szymon Kłos
3bf19f0479 Move show button to UIManager
Change-Id: I1c8c45dabf4cf8611ee8a3e9c7f36611775891aa
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Szymon Kłos
f671ed12bb notebookbar: Insert_Button support
Change-Id: I7323e3fd740680338c76d0b62a1f20fe752fa3b6
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Szymon Kłos
5f69d463ea Move insert button to UIManager
Change-Id: I9873e59256f6a8986216c43f850fcdabf5a02c5d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Andras Timar
44ac9ef965 document Action_ChangeUIMode
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id245350d17ff436ad231012065776a6bdddfa56a
2021-03-01 08:48:52 +01:00
Andras Timar
e2ed44b8ab Add Action_ChangeUIMode to PostMessage test harness
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I06c5e7fab8fff763e59f2a4fdf85c7f47dec51bb
2021-03-01 08:48:52 +01:00
Dennis Francis
09e956ef3a add CBounds.fromCompat() tests
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ibca9d4c3e18a027f0b3842c434143076daba436f
2021-02-26 21:48:15 +05:30
Dennis Francis
9ab15688ec make zoom-animation with overlays work correctly for freeze-panes
The implicit transformations done in tile drawing(from offscreen canvas)
must match the canvas transformation done for drawing the overlays.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If434eb87be99754a2def290b19631a1970e83488
2021-02-26 21:48:15 +05:30
Dennis Francis
28f97d76e0 draw overlay on top during zoom-animation
at the frame zoom level on the main canvas after tilesection is drawn
using off-screen canvas.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I45adafae4dc4eaaca27fb9b2d858186b04fb898e
2021-02-26 21:48:15 +05:30
Dennis Francis
f10bea6829 cancel animation frame after end frame step
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ibeac532f2d5e2d673f6a5f5f69adebdb506a5ef2
2021-02-26 21:48:15 +05:30
Dennis Francis
ec0433d372 Stop ignoring pan after dragend of cell-resize marker
Note that 'up' does not get fired after 'dragend', so the since
969f9f9860 window.IgnorePanning continues
to be true even after 'dragend' which disables panning for document
lifetime.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I76b03a0cd77cfdd36a932c2986d51e56007386ad
2021-02-26 21:48:15 +05:30
Rash419
846376c1e6 loleaflet: fix column resizing when not selected
Signed-off-by: Rash419 <rasheshpadia419@gmail.com>
Change-Id: I6074009679f279815b5fc00e38f4e8316493ce65
2021-02-26 16:20:07 +05:30
Gökay Şatır
83e94a4a92 Calc: Grid drawing is fixed.
It was broken because of one of the previous changes.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ibcc1955d35227d2ac1b429245a97f20df669bfb0
2021-02-26 11:05:50 +03:00
Gökay Şatır
590cfacc7a Calc: Fix header rendering.
When window is resized, sometimes header drawings aren't updated. This
patch solves that bug.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I1920435a49662c283e9b691bc02d32865ca401e8
2021-02-26 10:34:48 +03:00
sebastiaanveld
7623a4b7a8 Translated using Weblate (Dutch)
Currently translated at 62.6% (263 of 420 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: sebastiaanveld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibcf2003599138a93e31569122d91d5501a9a3457
2021-02-25 15:28:12 +01:00
Milo Ivir
0337990f6c Translated using Weblate (Croatian)
Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (Croatian)

Currently translated at 70.0% (294 of 420 strings)

Translated using Weblate (Croatian)

Currently translated at 99.7% (369 of 370 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6cdad8accc1578505c9d54d2fc62f97ef80654b8
2021-02-25 15:28:12 +01:00
Yaron Shahrabani
b62e66799c Translated using Weblate (Hebrew)
Currently translated at 54.0% (227 of 420 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I39a741ba53c8791b0197e9751650456092ab9e37
2021-02-25 15:28:11 +01:00
Rob Pearson
95877cc0f2 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_ZA/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic84cedf0dcc5767bec83738af9fc6d949ad4509c
2021-02-25 15:28:11 +01:00
Ihor Hordiichuk
0ffb3842a5 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 92.6% (389 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 86.6% (364 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 76.4% (321 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I27556c55ad2c9e0cce5836f8dfa18cdc1ec41e11
2021-02-25 15:28:11 +01:00
Oğuz Ersen
3cab6f5341 Translated using Weblate (Turkish)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id1dd05d5a7713d67afd10acbd22ac88e3e8e9bd1
2021-02-25 15:28:11 +01:00
Martin Srebotnjak
e96784fe50 Translated using Weblate (Slovenian)
Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Slovenian)

Currently translated at 99.7% (369 of 370 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1fac7b84b2c95d1851be3aaf3e8db7678977ebd3
2021-02-25 15:28:11 +01:00
Matthaiks
af4916a4de Translated using Weblate (Polish)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3bf96644c1bc00dd304745e730e65ed2e654dbe0
2021-02-25 15:28:11 +01:00
Allan Nordhøy
b125d39d87 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.6% (365 of 370 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2ddf287f4c03baf482e611adc79f302b9ea67692
2021-02-25 15:28:11 +01:00
日陰のコスモス
45f5e9d5c2 Translated using Weblate (Japanese)
Currently translated at 53.2% (57 of 107 strings)

Translated using Weblate (Japanese)

Currently translated at 52.3% (220 of 420 strings)

Translated using Weblate (Japanese)

Currently translated at 64.8% (240 of 370 strings)

Co-authored-by: 日陰のコスモス <baffclan@yahoo.co.jp>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8de8352bc14dbefbf67b918f7606524eac876f01
2021-02-25 15:28:11 +01:00
Andras Timar
42c1f456e0 Translated using Weblate (Hungarian)
Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I13c6c6f5b97fa83f5736f0cc1ffc3520b55d3526
2021-02-25 15:28:11 +01:00
Adolfo Jayme Barrientos
7c9a56e84d Translated using Weblate (Catalan)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifa28cb2d56cbea0ec5068c5f331e514dbdeccb9e
2021-02-25 15:28:11 +01:00
Joan Montané
6e76285fdc Translated using Weblate (Catalan)
Currently translated at 99.0% (416 of 420 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Joan Montané <joan@montane.cat>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5feebf884d7b777893a2fdf0fa16b92c54f9c084
2021-02-25 15:28:11 +01:00
Bayram Çiçek
422723cbdf removed a duplicate of if statement in TileLayer.js
Signed-off-by: Bayram Çiçek <mail@bayramcicek.com.tr>
Change-Id: I6c49ff442b1ed11f10802a54c675eca1cbd8a1f7
2021-02-22 14:37:11 +03:00
Pedro Pinto Silva
b879f6986f loleaflet: Postmessage-api: Fix missing tr tag in documentation
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2798b137df43cc322879012a774248fa8185cdec
2021-02-19 17:49:05 +01:00
Gökay Şatır
7947759f6d CanvasSectionContainer: Event propagation.
Now, bound sections propagate events to the sections those are beneath
them. StopPropagation feature is also implemented.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I54c886fea0e254d4b97c4d06585db8ed28d40ab9
2021-02-19 12:07:10 +03:00
Pedro Pinto Silva
762a353509 Vex and jsdialog btns use the same btn font
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Idf286a6f3356b1827421540167b23931731519fd
2021-02-18 10:28:53 +01:00
Pedro Pinto Silva
7033da6dfa Vex: input fields: remove outdated width rule and add style
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie825d15a12732e6f55b370460115227e45a43589
2021-02-18 10:28:53 +01:00
Pedro Pinto Silva
5784ff8693 Vex btns: secondary re-use btn style
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib956440e4d79254c8cb5323a375046e4d4bc191e
2021-02-18 10:28:53 +01:00
Pedro Pinto Silva
a586faa5a0 Fix Vex btns: apply existent btn style
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7787588ccce5ce4042cdd553b781114cf0627fbe
2021-02-18 10:28:53 +01:00
Pranam Lashkari
49277c8b3e leaflet: fixed context menu not working on first row/col
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: If8013f0c8ea455adcb3032f1cf39b10b074e89c4
2021-02-18 13:53:20 +05:30
Andras Timar
beccab2694 update unocommands.js after change of unocommands.py
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifc7b064e9eed9752bdbd5df5439d567bcaead9e7
2021-02-18 09:18:44 +01:00
Pedro Pinto Silva
cbd4d5ff96 Macro warn jsdialog: style
- apply max-width
- fix text-transformation
- fix color

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6e40b8ab1b4fbeaee0bd6e97b3dae211c848505e
2021-02-17 14:47:45 +01:00
Pedro Pinto Silva
89442173fc NB: Improve alignment by removing extra margin..
from nav when in edit mode (keep margins when on readonly mode)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I83923bbb34e34c20daa81e80c5832778faab8e1b
2021-02-17 14:47:07 +01:00
Pedro Pinto Silva
fd62fc1aaf Partly revert cb27d2c ..
- Fix #1395
- This was also affecting iPad
- Overflow property doesn't apply to some table elements like table grouping and containers by default.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2e12c3cb1e5e2ced16748e79063774502c670946
2021-02-17 14:47:07 +01:00
Dennis Francis
2d169bf32a add cypress checks for canvas-overlay items
Currently only the cell-cursor and document selections are part of the
canvas overlay. The others are still part of svg layer.

For now only the bounds of the canvas-overlay items are asserted. The
canvas overlay items update their bounds data as JSON text on cypress
only divs inside the overlay section div every time there is any change.

Unlike cell cursors, the selections need not be always a single
rectangle. To add tests for the more general cases, the json format of
test data is helpful.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I70e6328116c44317f31deb9c8bea62e781d8c421
2021-02-17 19:13:49 +05:30
Gökay Şatır
467dc94921 CanvasSectionContainer: Improve anchor property.
Now, sections can be anchored to other sections's edges.
One does not need to set approximated initial positions for expandable sections any more.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ic012960dedbd937c19c7442cefefdfebdaffafd3
2021-02-17 10:39:23 +03:00
Gökay Şatır
a591bc677f CanvasSectionContainer: Drag distance check is updated.
It wasn't detecting negative values.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I93a633e84828ef18d1b4fc4246065421e63748b9
2021-02-16 18:08:29 +03:00
Dennis Francis
7836b48c98 add CBounds.parse() tests
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I4ebed2f756d083e1dab411a21a976399cd945a47
2021-02-15 16:38:53 +05:30
Dennis Francis
7e8975dc23 missing header selections: set proper unit converter
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib4f4fa326996ed29e044e392e58b19b342927cba
2021-02-15 16:38:53 +05:30
Dennis Francis
02c64ead85 mocha-tests: compile only the changed test files
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I99b033888006370c4511f54c8fd7312007a4c984
2021-02-15 16:38:53 +05:30
Dennis Francis
abf0b6d14f do not draw tile-section when in zoomAnimation
During zoom-animation, the map zoom is still the prezoom level hence the
painting will conflict with zoom-frame painting.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib0fc5a3e4ab5e1b5dfc8410af0beaca5b90036ab
2021-02-15 16:38:53 +05:30
Dennis Francis
f9bc14b4ac on zoomanimation pen position should be in tilesection
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I630e628566d4c05c203a784e645d160c0176da10
2021-02-15 16:38:53 +05:30
Ashod Nakashian
6d11e400a7 wsd: userName is optional
This resolves a dependency on userName
(a.k.a. UserFriendlyName) that was a source
of issues when missing.

It turns out that when it's missing but
spellOnline is set, an edge-case caused
an exception that failed loading.

The spellOnline value, in its turn, was
incorrectly set to "null" when in fact
it was missing. This resulted in online
spell-checking being active by default.
Perhaps this was intentional, but here
we don't change this behavior at all.
Instead, we avoid sending "null" when
it's missing, and by default we always
enable online spell-checking, unless
it is explicitly set to "false".

This way, the exception is not thrown
and spellOnline doesn't have invalid
values, while preserving the current
behavior.

Change-Id: I4a09ac44ff5d6147c715afa0fb34af9650da4afd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-02-13 13:25:48 -05:00
Andras Timar
e5adc33a32 set the StartSlideNumber URL parameter properly
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I51e95aa9d97a579bcba8a4c8127f2e2912238b77
2021-02-12 16:31:15 +01:00
Dennis Francis
8b2eae423c setup mocha framework for testing TS classes/functions
... and add a few test-cases for CPointSet.empty()

* The tests are written in TS and compiled to JS before Mocha framework
  runs them using 'npm test' via 'make check'.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I16e28404af76754b6bbb67c6743ca7d0f2701233
2021-02-12 12:02:13 +05:30
Dennis Francis
a084eafbe7 move CPointSet class to its own file
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I64e7c4d66560e309a7be670e0d0f76bccf20bfa0
2021-02-12 12:02:13 +05:30
Dennis Francis
57ef1e2fde remove generated CanvasOverlay.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I454384303f4b3855f34b870ef1ccfaee59f40bc9
2021-02-12 12:02:13 +05:30
Rash419
c32395ba27 added a separate option in debug mode for sidebar invalidation re-rendering debugging
Signed-off-by: Rash419 <rasheshpadia419@gmail.com>
Change-Id: I631e45c2c364522eb6b9875ff35c243db0673f35
2021-02-11 17:47:22 +00:00
Gabriel Masei
877ce2faf5 loleaflet: add support for changing ui mode dynamically
Signed-off-by: Gabriel Masei <gabriel.masei@1and1.ro>
Change-Id: Id84a4feb8f37357d7de8f9cfebea3612751709b1
2021-02-11 12:33:11 +01:00
Szymon Kłos
4f40126c7f jsdialog: handle ESC key to close
Change-Id: I6e9562c5330c3e56a84da384d6a6868625d12878
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
8df1e6e0ce jsdialog: don't override ok button
Change-Id: Id1c7c20c8bb6bf25c002fd106e90a9897ff53883
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
029450c166 jsdialog: check radio/checkbox also if clicked label
Change-Id: I0f7188aa6500c308a86e7f314949daedcfcfe237
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
d89964af65 mobile-wizard autofilter: don't override main container with submenu
Change-Id: Ife89dd6b8a167f06477aaccdcd944e1f178ed110
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
4e2131b1f6 mobile-wizard: avoid scrolling when adding new elements
when partial update creates bigger element than view
it might scroll down the content

Change-Id: I63cdfe9176d224594b4b737f0883ded8bdc6c878
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
65fdb1e234 Make hyperlink handler work globally
TileLayer is not initialized when Macro Security warning
is shown - so move to the socket so it can be handled.

Change-Id: I16493d80386c7814ba11d5acc5fa6944f58accf8
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
a35256f803 jsdialog: handle standard buttons
Standard buttons like help or cancel can be not
wrapped with jsdialog weld wrapper so click action
will be not performed correctly. For standard buttons
we have to send correct response to the dialog.

Change-Id: Ib4d42e53f4789bd12ad83404796f6d7a4ce19ef4
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
2105c11bee jsdialog: don't leave focus if dialog opened
+ if jsdialog or tunneled dialog is open
  don't steal focus by CellCursor state update

Change-Id: I425ee5e0a96521d8fbdc5dd235defe247f2cf9cb
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
b7c6682a24 jsdialog: send entry text on keypress
Change-Id: Iac3361ccc164fe6ed7ef2eb6229588e159bc8ccd
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
1df38361d7 Add fontwork also in calc
Change-Id: I80821e25f78f8d90387faf54d31c1889773a3666
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
7c2f1d06eb Don't apply invalid canvas split position
When eg. Statistics -> Sampling dialog was opened
we received empty split position what caused to
setup NaN for split pos and no rendering at all

Change-Id: I4bd37778d23b15a01f1850459924c66f437f1570
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Szymon Kłos
312b934f62 notebookbar: enable defining names in calc
as it is in the release branch already

Change-Id: I695660d788842bc34aff8b2735bf6f9d36ecf79c
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-11 12:32:41 +01:00
Dennis Francis
59bb3226c0 use CBounds.isValid() to check for empty bounds
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5a93cc77d09dab8d53705e906dcbd942d5da7c89
2021-02-11 14:26:01 +05:30
Dennis Francis
c477faea45 source cursor/selections style data from CSS vars
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib650ba60d38ab390ae37c3bf24e24b820bd4221e
2021-02-11 14:26:01 +05:30
Dennis Francis
afb9dfd5df add purpose comment to CSelections class
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Idd7d7a4bfd110a868b41362a59092dbf97d79be6
2021-02-11 14:26:01 +05:30
umutbayramoglu
d08fda9749 Remove unused variables
Signed-off-by: umutbayramoglu <umut265@gmail.com>
Change-Id: I7c2565a01605846201cb4a35564eb52b52491fe8
2021-02-11 02:10:34 +03:00
Gökay Şatır
310bd0e234 CanvasTileLayer: Move TilesSection to a typescript file.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I305615e0fc4d9adddb2cedc7a2860e741d467dd4
2021-02-10 19:05:15 +03:00
Gökay Şatır
91094acbf5 loleaflet: Update makefile for typescript files.
It now detects and compiles ts files in specified directories.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ia8a399650480001193be7177b05b5cbb195a98c7
2021-02-10 19:05:15 +03:00
Pranam Lashkari
20a443c2be leaflet: fixed print shortcut not working in readonly mode
original problem was when in read only mode document container
is not in focus and that is why keyboard shortcut events were
never triggered

This solution focuses the document for composed keys to trigger
shortcuts

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I084635c5d3e61215a4e88d84271587186605133d
2021-02-10 17:17:31 +05:30
Dennis Francis
444cc5d131 clear tile section before overlay repaint
This is needed in cases where the tiles have transparent pixels in them.
For example in Writer's tiles, page borders use transparent pixels. In
this case if the tile section background is not white before we paint
tiles, the page border becomes darker.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id35cfe2e4b22efab8f1b1fb77c4f35dd46f0d1d2
2021-02-10 15:26:14 +05:30
Dennis Francis
29b7fdf360 remove hardcoding of debug-mode calc-grid drawingOrder
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I1b074e73b5e8dd8110f66e3f639433a07c73ae57
2021-02-10 15:26:14 +05:30
Dennis Francis
088e48ecc5 skip redraw only if both current and prev bounds are not in view
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iaa7c8efc41b77f72f1804a4c81d2ec6c6f3d1f10
2021-02-10 15:26:14 +05:30
Dennis Francis
3a40feda4a migrate text/cell-area selections to canvas overlay
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia9d1adb942fd0a0e1ea23805b2edbc76f9537b17
2021-02-10 15:26:14 +05:30
Dennis Francis
f242f1e654 Introduce anyRingBoundContains which is meaningful for orthogonal polygons
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I0fa487ba875f4e52228df4f89705c4bb9bb435b6
2021-02-10 15:26:14 +05:30
Dennis Francis
35d18d147f allow a pointSet/Polygon to be empty
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id415cee8c89a89d80b21e2aa3b3e0f19514dbb3c
2021-02-10 15:26:14 +05:30
Dennis Francis
31beafb2c9 export rectanglesToPointSet util function
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id20b2bf47863a2d8e9ade16fd009e6d9d330cf20
2021-02-10 15:26:14 +05:30
Tor Lillqvist
6dcefc4f14 Add toString()
Please do not remove even if unused. It can be useful in temporary
console.log() etc.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I2734efa3cffb8dd5e4a9923672ec179fcae3e12f
2021-02-09 17:32:46 +02:00
Szymon Kłos
a4d834f83e jsdialog: single click activation for treeview
Change-Id: I808fedeaa26739c38b329f36bd4ed88ed53a4da3
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-09 15:55:35 +01:00
Szymon Kłos
7ac1438c2a jsdialog: don't send sidebar refresh by accident
if windowId is not set it will use -1 what will
trigger sidebar refresh

Change-Id: I619d05d855a99ccf064d556463f5d8812b7b43c2
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-09 15:01:11 +01:00
Szymon Kłos
4eb115d726 jsdialog: don't share windowId value between instances
Change-Id: Ie19d62dcdbf0b3411e0f95d10a447263088f0a25
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-09 15:01:11 +01:00
Andras Timar
e465a53726 generated new pot files and translations for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic513f3254022857bdf11e28e24f0f57bb5e2d8f0
2021-02-09 10:50:18 +01:00
Michalis
6a72a0032e Translated using Weblate (Greek)
Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (364 of 364 strings)

Co-authored-by: Michalis <michalisntovas@yahoo.gr>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icca4639e715d43b8ca3f79b59fc326f346e812b6
2021-02-09 10:47:50 +01:00
Stratos Kostidis
23c9cdce18 Translated using Weblate (Greek)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (364 of 364 strings)

Co-authored-by: Stratos Kostidis <petros8280@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If2883ffd4ff1656d87a29fbaf0bb651b3b7abef7
2021-02-09 10:47:50 +01:00
Michalis
d6a57a8609 Translated using Weblate (Greek)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (417 of 417 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (364 of 364 strings)

Co-authored-by: Michalis <michalisntovas@yahoo.gr>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/Android app
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2a91b664c9c299a1cc1e7cde09a575af95aee22b
2021-02-09 10:47:50 +01:00
Stratos Kostidis
635b1c152c Translated using Weblate (Greek)
Currently translated at 100.0% (5 of 5 strings)

Co-authored-by: Stratos Kostidis <petros8280@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/el/
Translation: Collabora Online/CODE welcome text
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If4d788a6907efa1f7c0fbe10a5d9421961175f57
2021-02-09 10:47:50 +01:00
Ihor Hordiichuk
61c47fc511 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Ukrainian)

Currently translated at 76.2% (318 of 417 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id505d2fcee8df286493760ecc6d624e58d8b4320
2021-02-09 10:47:50 +01:00
Adolfo Jayme Barrientos
0de1be7083 Translated using Weblate (Spanish)
Currently translated at 100.0% (417 of 417 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I949eca9c234e5a70ca7019506a53fdde0a2f6f4b
2021-02-09 10:47:50 +01:00
Stanislav Horáček
01d89c6cb6 Translated using Weblate (Czech)
Currently translated at 100.0% (364 of 364 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I473f5b9c3a8c2eee977139450e091a6489a79f93
2021-02-09 10:47:49 +01:00
Hirae
72d442de2e Translated using Weblate (Russian)
Currently translated at 47.4% (198 of 417 strings)

Co-authored-by: Hirae <hiraetari@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ru/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic8c69730622deacc519c7ec9c186ad2b2f6c5493
2021-02-09 10:47:49 +01:00
日陰のコスモス
8d2154e944 Translated using Weblate (Japanese)
Currently translated at 53.2% (57 of 107 strings)

Translated using Weblate (Japanese)

Currently translated at 53.2% (222 of 417 strings)

Translated using Weblate (Japanese)

Currently translated at 64.2% (234 of 364 strings)

Translated using Weblate (Japanese)

Currently translated at 53.2% (222 of 417 strings)

Translated using Weblate (Japanese)

Currently translated at 50.4% (54 of 107 strings)

Translated using Weblate (Japanese)

Currently translated at 64.0% (233 of 364 strings)

Co-authored-by: 日陰のコスモス <baffclan@yahoo.co.jp>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I73fdd7c96e80288936281ec19aba2acef2036972
2021-02-09 10:47:49 +01:00
Weblate
9d5acb37ea Added translation using Weblate (Greek)
Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I20e20b16cca1a4332c25eec83816dd8e9131697f
2021-02-09 10:47:49 +01:00
Szymon Kłos
135ca46a23 autofilter: close properly welded window
send click event for cancel button as there is no
better way to close this docking window...

Change-Id: Id5f30e3d823b154117e9da7dca6bbbdef2422591
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-08 16:41:04 +01:00
Szymon Kłos
1d7bbea873 notebookbar: add run macro in hamburger menu
Change-Id: I79c0f1a81cce0a5a461137e49c2f57cad63374f3
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-08 16:09:35 +01:00
Dennis Francis
0d685c5e50 Don't spill out on rectangle painting by non-integral corepx bounds
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I7f8499eb002b59532cee91d1f381a45de9dd74ab
2021-02-08 16:48:47 +05:30
Dennis Francis
004fbc9b18 Added usage/functionality comments to new TS classes/functions
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id49a49356f89a1057000bd3a0363d8408bf86a86
2021-02-08 16:48:47 +05:30
Dennis Francis
a6f6c62572 PR#1341 follow-up: Fix indentation issues
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ic163b024a8783c5f4b98ccdec427b72add4052ae
2021-02-08 16:48:47 +05:30
Dennis Francis
c1d9884f00 migrate cellcursor to canvas overlays rectangle
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I8ef11efdb335f1de0261a1beb35f97a95277d4a6
2021-02-08 14:32:57 +05:30
Dennis Francis
4a5fef6054 Add CRectangle based on L.Rectangle
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5f3ffd6ae2293677ee77fb4a18d1ef1d643774a8
2021-02-08 14:32:57 +05:30
Dennis Francis
fbe63f6a8e overlay: paint after path removal
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id500fed81fac0b228f539b351dab35f5f6da98ad
2021-02-08 14:32:57 +05:30
Dennis Francis
77451188b7 overlay-paint: just one context save-restore pair is enough
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2142d3824888e76b1ccb34faf4171eb58206aa59
2021-02-08 14:32:57 +05:30
Dennis Francis
0b3b3fa69e make 'build-loleaflet' depend on dist version of ts -> js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I04c5f6770e4d58cdca2cbebf24656b280b906988
2021-02-08 14:32:57 +05:30
Dennis Francis
928d85f5e0 Define canvas clip region before painting
to avoid any spillage of painting off the freeze panes if any active.

As of now the CPolyUtil.clipPolygon() does not work properly so there
the updatePoly() call will paint outside the specified region. So the
canvas clip helps.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2b0b9f767bb04cf504323e087cad456fe04eb5b0
2021-02-08 14:32:57 +05:30
Dennis Francis
9cdbd051f7 skip overlay pane-paint if no intersection
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I0d29750b0e8eaaeab01b7a867292002379be5476
2021-02-08 14:32:57 +05:30
Dennis Francis
7787f6f2a5 Introduce CPolygon based on L.Polygon
Also add CPolyUtil based on L.PolyUtil that contains dependant
algorithms for polygon clipping.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I4d43fd208e47207116bd2253733fe6205fcd6c48
2021-02-08 14:32:57 +05:30
Dennis Francis
6ee897bee3 render overlays correctly for each freeze-pane
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I06477dbd8bb6b0bb369104a03f6472af59a516ee
2021-02-08 14:32:57 +05:30
Dennis Francis
026f5fac4a overlay painting after async tile paint calls
The overlay needs to be painted only for the tile area.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I725a6b656d8261a90e6debbea0478a0581822b40
2021-02-08 14:32:57 +05:30
Dennis Francis
655dbd79f5 compute rings and bounds only when point-set...
is updated and not do them every time updatePath() is called.
Also compute both rings and bounds in a single pass over point-set.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I718f33d3ecd97da333fab0dd1fd3312d16ea6aa9
2021-02-08 14:32:57 +05:30
Dennis Francis
dac8d84efa CanvasOverlay.js depends on all typescript files in vector/
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I235a2dcd681476331cf4224d368eca7a8547e0e8
2021-02-08 14:32:57 +05:30
Dennis Francis
3a4f98852c overlay-origin must be negative of documentTopLeft
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2c42627261211b975c3b3ef1aa18b33c3b4b55a1
2021-02-08 14:32:57 +05:30
Dennis Francis
b27ae65b39 redraw on construction
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia0c6b0c8db22ec7b53d5acc16cb53a5cd99a7780
2021-02-08 14:32:57 +05:30
Dennis Francis
5906d5ba94 Introduce CPolyline.ts based on L.Polyline
CLineUtil.ts is also introduced from L.LineUtil which has
implementations of dependant line algorithms.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5ff24c8daf0391553c45db74d6f512ccc80fcc97
2021-02-08 14:32:57 +05:30
Dennis Francis
58e309f0af updatePoly should assume path is not closed by default
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I6af26cbabeadad59d4a23758d481bce1913abe19
2021-02-08 14:32:57 +05:30
Dennis Francis
e0193b732c add bounds getter for CanvasOverlay
.. since the subclasses of CPath need to use it for clipping the
contents to visible area mainly for performance reasons.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I86c7a46e498b69b55990a8b4423cbf1da5efae71
2021-02-08 14:32:57 +05:30
Dennis Francis
e29d88dde6 mark CPath as abstract and renderer member protected
as CPath's subclasses need to access it.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I04b42e9b867d308855a62a7e1b82650dc75c57a1
2021-02-08 14:32:57 +05:30
Dennis Francis
fa9b856d10 allow CBounds object construction with 0 or 1 CPoint(s)
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I69b7cf8ff979d6e170aeb1ee978e500450ed997f
2021-02-08 14:32:57 +05:30
Dennis Francis
d28b66df7a CanvasOverlay.js is dependant on layer/vector/*.ts
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I87640e81fe11dee7b87eb376a9c9871977bc6710
2021-02-08 14:32:57 +05:30
Dennis Francis
38f05b60f5 Add CBounds.ts based on L.Bounds
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If16b995f75db0db14cbfe012ae2c206d89a885b7
2021-02-08 14:32:57 +05:30
Dennis Francis
4e57357032 Add CPoint.ts based on L.Point
and use that in CanvasOverlay and CPath.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id3cf0418396dc72b47aeeadf22e78ce3aa1fff4e
2021-02-08 14:32:57 +05:30
Dennis Francis
c5800a676e Add CPath.ts based on L.Path
The generated js for CPath.ts is added to the generated CanvasOver.js
for now using

/// <reference path="CPath.ts" />

as there is no support for modules in ES5.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I72bf2ab6f299641925c72b484f63e755ba4e61d4
2021-02-08 14:32:57 +05:30
Dennis Francis
0d75324379 introduce CanvasOverlay and its section
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I47d2f739b0d98c3926208358951e7240e632153f
2021-02-08 14:32:57 +05:30
Dennis Francis
66f145b696 Allow access to tileSection manager
The overlay section will need access to tile section manager to make it
paint over the regions it wishes to "erase" before painting the updated
paths/objects. When overlay's objects are updated, their paint will not
be via onDraw, so tiles are not painted beforehand.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I9ea142af69675ee6e0da7132ee36f399facb8ead
2021-02-08 14:32:57 +05:30
Dennis Francis
4f7662484e allow canvas-context getter from container
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I6b5ba64220dae32c6155b7f6edb12c949ead33d9
2021-02-08 14:32:57 +05:30
Gökay Şatır
1c147de68f Calc: Minus & plus sign hairline drawings.
Row and column group controls' plus & minus signs were not hairline. It is fixed.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I964f0e3916df91b110ba17e819c24d589c6bd3cd
2021-02-08 12:01:09 +03:00
Gökay Şatır
969ddc0927 Calc: Fix document-container position.
When column groups is used, document was badly aligned.
This commit fixes it.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: If572735a935fae1db2a94b66711b0a9080490a37
2021-02-08 12:00:52 +03:00
Henry Castro
d75a40317b loleaflet: set last cursor position with server side ...
coordinates.

Record the last cursor position before any transformation
to (lat,lng) coordinates

Change-Id: I183c55da5cd0f9e3338c411382708afc4b945c01
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-02-05 17:33:11 -04:00
Szymon Kłos
904ceed516 jsdialog: remember scroll position on update
Change-Id: I81daf2f33982b596637501590aaa111f084fad81
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-05 16:44:12 +01:00
Szymon Kłos
ec556113ea mobile-wizard: disable ExtrusionToggle
Change-Id: Idb68f59f4bb25a57a2cee17df61a2e5945d50cf9
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-05 14:27:54 +01:00
Szymon Kłos
64e97e5661 mobile-wizard: justify fontwork shapes
Change-Id: I2adfc059669fc4dbe73293d6024839857f77abd3
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-05 14:27:54 +01:00
Szymon Kłos
b48d215a18 mobile-wizard: fontwork property panel
Change-Id: I5279eba27ee6848a5bde539dc30f4e7a37e0eb89
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-05 14:27:54 +01:00
Tor Lillqvist
4bb6363b35 Bin unused STD_EXTRA_WIDTH
Change-Id: If436fba45bbd6669a414c20579f13ac0dadd8241
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-02-04 19:28:13 +02:00
Rizal Muttaqin
c03940312a Add download as csv icon
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id77468703bb941e853a7c1419b386d5a8c91fde7
2021-02-04 13:23:57 +01:00
Pedro Pinto Silva
069684ca97 Expose CSV as an additional download option...
* on classic
* on notebookbar
* allow it in readonly mode

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I29ed6ed40810ba0e59cdb4d55b9898d016653678
2021-02-04 13:23:57 +01:00
Tamás Zolnai
bb7af8b733 cypress: throw and Error object here to get backtrace in cypress log.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I8bb36da750f6bb0855d0118b139e2090e2dbcc85
2021-02-03 14:56:32 +01:00
Tor Lillqvist
c999c5c86d Also save cellviewcursor: messages for handling when we are ready
Without this, when joining an editing session of a spreadsheet, you
don't see the cell cursor of another participant until they move the
cell cursor.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I87b8ad584d57bce52b39706fa9f0bbf56a59082a
2021-02-03 15:54:11 +02:00
Gökay Şatır
18c4ad5584 Calc: GroupBase.js is added for shared functions.
Row and column groups share some of the functions. They are moved into a file.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I268daf2c293f0cac150587a23001f873e23b4dfc
2021-02-02 20:31:37 +03:00
Gökay Şatır
06293d3530 Row & Column Groups: Some fixups.
More comments are added.
Early exits are used.
Unused functions are deleted.
Some functions are renamed for better explanation.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: If835fbb9bbae6898c4847b2c428a3e36f042b60a
2021-02-02 20:31:37 +03:00
Tor Lillqvist
cd1a0c8d27 eslint is pickier in the co-6-4 branch, so cherry-pick fix here, too
Change-Id: I47d09ea9e3da0c60f07821dee9197cbefc7080dc
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-02-02 19:14:45 +02:00
Gökay Şatır
f9ebb450ab AutoFilter DropDown: Replace div reference with section reference.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I82ac56f320083f3fe0ba3ee6104cad341c69120b
2021-02-02 09:49:48 +01:00
Gökay Şatır
1fdcc0baa5 CanvasSectionContainer: Enable creating test divs for automated tests.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: If735aa39fc98959578904e3ea86b893449a119b5
2021-02-02 09:49:48 +01:00
Gökay Şatır
8a8f9f4e6d CanvasTileLayer: Set canvas border for Calc column groups.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I87bd288436cdbdcf866dead00d47bc6aa5f72f4f
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2021-02-02 09:49:48 +01:00
Gökay Şatır
ad7a01ac93 CanvasSectionContainer: Add onRemove function.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I2bc45c36a104b6b76f9a18e18dcda39b8b3d2072
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2021-02-02 09:49:48 +01:00
Gökay Şatır
1413ee6768 Calc: Adjust header and group font sizes.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I09b0146abd1d16305978c212f5cf5446e1b2ec54
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2021-02-02 09:49:48 +01:00
Gökay Şatır
5f1090dcb1 CanvasTileLayer: Position canvas on mobile, tablet and desktop.
Remove "spreadsheet-row-column-frame" div. Since row & column headers and groups are drawn onto the same canvas with tiles, that div shouldn't exist.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2021-02-02 09:49:48 +01:00
Gökay Şatır
d576895c57 Calc: Add Row Group and Column Group sections.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ib44e5e6a9e047c347a239a155b86f091467f5149
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2021-02-02 09:49:48 +01:00
Gökay Şatır
2d8df66167 Calc: Draw Column & Row Headers on tiles canvas.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2021-02-02 09:49:48 +01:00
Gökay Şatır
e2dbff061a CanvasTileLayer: Give id to tiles canvas.
Centralize re-painting event.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Idc37a4ce2206627f1a30162652169fbc7ae0ce03
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2021-02-02 09:49:48 +01:00
Szymon Kłos
969f9f9860 Revert "Don't block handling of touch events"
This reverts commit 284e8ce308.

We have to disable panning handler to avoid panning when resizing
the selection using handles.

Change-Id: I9994b3e9ba32bc3e43567d43e547eada311c050e
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-01 17:43:27 +01:00
Pedro Pinto Silva
b0a38ebe21 loleaflet: server recycling: Improve message
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4cecb72acc927707b68711478c5474326d456d82
2021-02-01 15:01:07 +01:00
Henry Castro
71c595ca4b loleaflet: do not update cursor from other views
Change-Id: I5e0cd6cfa6c5a5db61dcfbfa557c9ec3bc4c8977
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-02-01 07:19:45 -04:00
Tor Lillqvist
989d57b580 In Cypress tests throw error if dialog image cache is inconsistent wrt server
We have a dummy spreadsheet document with a column of cells each in a
different font size. The font size of the current cell is displayed in
the sidebar.

In the test we step through the cells first downwards and then back.
Thus the sidebar image that contains the font size will be updated as
we step through the cells. At first nothing will be found in cache,
but when returning, the images should be found in the cache. If the
cache in the JS client is not consistent with that in the server we
will throw an exception.

Change-Id: I439263c7923d985679fafa0125cd2d7f635e0995
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-01-29 12:08:58 +02:00
Gökay Şatır
1df8fc91d2 Revert "Disable Freeze panes menu & notebookbar entries on tablets."
This reverts commit 6c2d725c58.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I50c248e3d2dfc7b06a9d0d2c1da3fe8a52d26560
2021-01-29 10:25:45 +03:00
Pedro Pinto Silva
3b398d8e9d dev doc: postmessage-api: Favicon and styling
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I469051b3bd4fd8371ab3d0593922c71d15272445
2021-01-28 19:41:41 +01:00
Marco Cecchetti
445fe41118 cleanup dev doc: loleaflet and postmessage references in separate files
references.html has been replaced by 2 files with content LOLeaflet
and PostMessage setions respectively.

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: Id095da5f1ab11c96d090bceab921d74b4fe68482
2021-01-28 15:29:12 +01:00
Tor Lillqvist
ffa940933d eslint is pickier in the co-6-4 branch, so cherry-pick fix here, too
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I06d49a56853fe391c4d137208865498a36c7a1e3
2021-01-28 14:14:03 +02:00
Marco Cecchetti
d869144abb cleanup doc: further cleanup reference.html: small fix-up
Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I031535af28470a66824db6c04f9693e6f6ee1771
2021-01-27 15:42:57 +01:00
Marco Cecchetti
b0315c7c20 cleanup doc: further cleanup reference.html
Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I031535af28470a66824db6c04f9693e6f6ee1771
2021-01-27 15:42:57 +01:00
Marco Cecchetti
b60f48d94a dev documentation: removing misleading leaflet API documentation
Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: If417805d7c0620921b2b8e35101b6489caafaf2f
2021-01-27 15:42:57 +01:00
Tor Lillqvist
944e831b3d Add sanity checks to the PNG cache code in loleaflet
If the client cache seems to be inconsistent with what the server
thinks, send an ERROR message to the server that will be logged.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ic7f9d7fb15b2c34f7a6cd2decbacaa7745ac9389
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-01-26 16:55:04 +02:00
Henry Castro
34a0aa04ed loleafet: simplify update max bounds
it is not necessary fire 'updatemaxbounds',
because the association map <-> document layer
1:1

Change-Id: Ic41ab328f7d3d331624107a13acf9f1fdd4c46df
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-01-26 08:08:28 -04:00
Tamás Zolnai
1a7f2b5122 leaflet: reset selection before opening the slide wizard
Taping on the selected slide's preview should open the mobile
wizard with the slide properties. To achive this also with
a selected shape on the slide we reset the selection first
and open the mobile wizard after that.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ie60ec9bff01d143e6ca79fe4e32849b2a4fb3bc6
2021-01-26 12:32:36 +01:00