Commit graph

5111 commits

Author SHA1 Message Date
Ashod Nakashian
ddc85b24f9 leaflet: smart throttling of RichProxy polling
When there is no data coming in from WSD, we slow
down the frequency of invoking RichProxy.

Supports recovering from errors and server restarts
or document unloading (i.e. when the session is
invalid).

We don't invoke RichProxy more than 40 times a second
(i.e. with 25ms interval) and we slow down when
the last data was received 3x longer than the
polling interval. The current decay rate is 15%.
That is, we throttle to 1.15x the last interval.
This brings us down from 25ms to 500ms in about
4 seconds, which is very reasonable.

However, when we want to send data, or when we do
receive any data, we immediately maximize the
frequency so we can communicate as fast as possible
and reduce the user-visible latency. Notice that
when we get some data (without having sent anything
recently) it implies activity from another user,
so we do want to get their changes in real-time.
This is why we reduce the polling frequency
gradually, but increase it abruptly.

The parameters of the algorithm are configurable
directly in the code, but the current defaults are
very reasonable.

Change-Id: I0b9fd6db73caa35853fe6d8077bef66934de679c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94654
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-05-22 17:50:15 +02:00
Szymon Kłos
37eccae0f0 jsdialog: style word count dialog
Change-Id: Ibffe28ddecbbcfcf01aac6e5a112c34134668633
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94692
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-22 17:03:38 +02:00
Szymon Kłos
323eb7f5b4 Add word count dialog in menu
Change-Id: I1417ac3b261bbd9ce7411c5f4bb37e3093ee88bf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94626
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-22 14:45:01 +02:00
Szymon Kłos
97a0a765ab Move insert table entry in menubar
Change-Id: I80b8164685cf45a01e26c7a2b58b800262fe080b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94659
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-22 10:21:26 +02:00
Michael Meeks
ec48b7c746 Proxy: handle connection failure during session gracefully.
Change-Id: Ib8bda31352de6fea406b32b86bc134ee2a7841d8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94652
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-21 23:02:39 +02:00
Szymon Kłos
6a295dd1ad jsdialog: use edit instead of combobox in find & replace
Change-Id: I1d365ef8ac3860ffa581f830c1b989842532723a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94627
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-21 15:58:17 +02:00
Szymon Kłos
cdeaebee88 Add Insert Table in menubar
Change-Id: I13da175b4f15affc3341cbbaf94e39a689820c86
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94570
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-21 12:19:50 +02:00
Andras Timar
f7d5cd0793 pot update after fix of source string
Change-Id: I1702952440af36a13273982795bc8e618d65bce9
2020-05-20 23:02:33 +02:00
Michael Meeks
bec19d4338 Cleanup string and substitute protocol.
Change-Id: Iaa229ec346037788b9de7e5f59038b8afe0f7136
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94607
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-20 23:01:31 +02:00
Andras Timar
9ca444ed9f add missing '/' to welcome dialog URL
Change-Id: I5a715daf31fdb7036859e04423a337d0d1dd6616
2020-05-20 20:51:28 +02:00
Ashod Nakashian
c9be6b4a30 leaflet: restore reuse_cookies to the url
Reuse cookies are captured on file-serving the
loleaflet.html, whereupon they are injected
into it before serving as part of the document
load url. They show up as &reuse_cookies=
in the url embedded in loleaflet.html.
When loading the document, and creating
the session, the cookies received via
reuse_cookies is stored and set in each
WOPI http invocation.

This restores creating reuse_cookies in the
URL. It was inadvertently dropped after some cleanup.

Change-Id: I6de8ddb58e7f43566a08c22327dbc4b7a1207388
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94472
Tested-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-20 16:45:30 +02:00
Andras Timar
53fa59945b loleaflet: updated UI pot file
Change-Id: Ib7ffb5492d9fab732fa9443ca9bb381cf9f9970b
2020-05-20 16:42:09 +02:00
mert
8fa5d48a36 Add "Slow Proxy" string in About
Change-Id: I1c04ef295bdecf782e41d8e299adc67df4f87390
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94581
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-20 16:40:12 +02:00
Weblate
cb51332587 update translations
LibreOffice Online/ios (Chinese (Traditional))
Currently translated at 60.0% (3 of 5 strings)

Change-Id: I6847e097cfe863027230199ea19d7f1903c56d54

update translations

LibreOffice Online/loleaflet-ui (Chinese (Traditional))
Currently translated at 100.0% (299 of 299 strings)

Change-Id: Ibb382a23d555dc6a2f667c849afdb9bc2c7ad383

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 88.0% (366 of 416 strings)

Change-Id: I915ac90f007f76faeb64213230cc474815b57876

update translations

LibreOffice Online/android-app (Russian)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: Ia727ebd5939f337be686f32e11561d5fa2951d2b

update translations

LibreOffice Online/android-app (French)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I92ec0af7327c811305d9cb52979059a7677cfc46

update translations

LibreOffice Online/android-app (Swedish)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I976874b6a0a79a033a71d2eedd0ca458649e89a0

update translations

LibreOffice Online/android-app (Chinese (Simplified))
Currently translated at 98.0% (100 of 102 strings)

Change-Id: I37ec240ebc2099aa624f7a3d4b4dc94bfe31ad32

update translations

LibreOffice Online/android-lib (Swedish)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: Iee6e4f67a9d47f134e9e45438dba8e277f4cfe26

update translations

LibreOffice Online/ios (Swedish)
Currently translated at 100.0% (5 of 5 strings)

Change-Id: I72d9cd5f07a81ee301f5e0f8629b80932b241d8b

update translations

LibreOffice Online/loleaflet-help (Swedish)
Currently translated at 47.6% (198 of 416 strings)

Change-Id: I29358e1b37c663903e7b9cdd44e72e3f1729f73e

update translations

LibreOffice Online/loleaflet-ui (Chinese (Simplified))
Currently translated at 97.3% (291 of 299 strings)

Change-Id: I49d01411ef7bcf6b9e6ef8cd86988934b86757d7

update translations

LibreOffice Online/loleaflet-ui (Swedish)
Currently translated at 100.0% (299 of 299 strings)

Change-Id: If95f6b50651a1c62824c1a69afe08539389bd3e0

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 59.9% (249 of 416 strings)

Change-Id: I8feab13d589621fdb398ab01c86d216d6c280e4a

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 100.0% (299 of 299 strings)

Change-Id: Ie888e0387fdec8698359915cef5fa1e7463b5949

update translations

LibreOffice Online/android-app (Slovak)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: Id4ca86e59776731788903e0b4958e6c788a067ce

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 59.6% (248 of 416 strings)

Change-Id: I202c93bdad3774c93c090f9d2f9183b447975184

update translations

LibreOffice Online/loleaflet-help (Slovak)
Currently translated at 100.0% (416 of 416 strings)

Change-Id: I29804b491b185a852b72465ab551e1b5f330840a

update translations

LibreOffice Online/loleaflet-ui (Slovak)
Currently translated at 100.0% (299 of 299 strings)

Change-Id: I99b817a5f6450c089c675dc99915b1524bfda635

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 58.9% (245 of 416 strings)

Change-Id: Iab1a57d59fec1f850ae848664d9906819d01f21c

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 87.7% (365 of 416 strings)

Change-Id: Ibf128dd5c824bc10194e4a3ac1b0295be603b781

update translations

LibreOffice Online/loleaflet-help (Asturian)
Currently translated at 9.6% (40 of 416 strings)

Change-Id: I9f24d4b34ff835899a7c3281fb520a853b38803a

update translations

LibreOffice Online/loleaflet-help (Afrikaans)
Currently translated at 53.4% (222 of 416 strings)

Change-Id: I154d5dc548d85f1c7ee909249696ffb8219f9e5e

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 40.5% (121 of 299 strings)

Change-Id: Id80c147ea8656b72b54129a932ca581ac16d4013

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 87.5% (364 of 416 strings)

Change-Id: I596a5e50f7b8bb44d7557b2e7916d2f1882c1885

update translations

LibreOffice Online/loleaflet-help (Afrikaans)
Currently translated at 50.2% (209 of 416 strings)

Change-Id: I626a718cffb35c9fa9974b7b09b0569f902ff49f

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 58.7% (244 of 416 strings)

Change-Id: Ibacea52dd3e147fe08c972eeac919277f5bc2d65

update translations

LibreOffice Online/android-app (Bulgarian)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I2692c03bc48f59d47bf368e730cb5868f17ad245

update translations

LibreOffice Online/android-lib (Turkish)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I1463944f6af77ee34c52fe8d59fe121501667b69

update translations

LibreOffice Online/ios (Turkish)
Currently translated at 100.0% (5 of 5 strings)

Change-Id: I0d16f08359633a0eed2a2ebd0e4c877d02f31d2a

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 57.9% (241 of 416 strings)

Change-Id: I52b9cf006759fd76e3c06788df43ac0fbb6b37c5

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 100.0% (299 of 299 strings)

Change-Id: Ie778af32815fe05664306ed877cc13cd210493d2

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 86.1% (358 of 416 strings)

Change-Id: I1269480dcb1f314e47d41a1507431e41e8080daf

update translations

LibreOffice Online/android-app (Chinese (Simplified))
Currently translated at 98.0% (100 of 102 strings)

Change-Id: I1eb35b456ca82529aec11cbc68d99b07f6ea219c

update translations

LibreOffice Online/android-lib (Chinese (Simplified))
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I048484fd9e5356aaac0644c1e78b8bbbb649e128

update translations

LibreOffice Online/ios (Chinese (Simplified))
Currently translated at 100.0% (5 of 5 strings)

Change-Id: Ifae00f1ea7e7d1904bfaebc7852bc7dcb6fbffd8

update translations

LibreOffice Online/loleaflet-ui (Chinese (Simplified))
Currently translated at 84.9% (254 of 299 strings)

Change-Id: I852c5f36140474efa3c17385aacccc5a3ae2eb26

update translations

LibreOffice Online/android-app (Turkish)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: Icba4193f3b2598039ea3d0fa89350d88652d3a70

update translations

LibreOffice Online/ios (Afrikaans)
Currently translated at 100.0% (5 of 5 strings)

Change-Id: Ib7587f244d71fa0e2f095e9b7321b81e35b44f36

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 85.8% (357 of 416 strings)

Change-Id: Ie4736af55bafd769b9abe8b72fddca4b5f379ba7

update translations

LibreOffice Online/loleaflet-help (Afrikaans)
Currently translated at 47.4% (197 of 416 strings)

Change-Id: I591b23750937082dc15792d8ff1db949998905cb

update translations

LibreOffice Online/loleaflet-help (Afrikaans)
Currently translated at 30.3% (126 of 416 strings)

Change-Id: Iecfa44aa565582ee862a726dcc5e9c3ab751455d

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 85.1% (354 of 416 strings)

Change-Id: I6470bfc966ad0e52de48ce809c4619f713c9907e

update translations

LibreOffice Online/android-app (Italian)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I94834e9a7caf4a790e45cb295e44c1a284e2589b

update translations

LibreOffice Online/loleaflet-ui (Italian)
Currently translated at 100.0% (299 of 299 strings)

Change-Id: I9029c5236f3edaf674ffb2eacf08afa9b23fc12d

update translations

LibreOffice Online/android-app (Czech)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I3b70903d5f1bb51ed34d808b1d32e58d0d5b3b1d

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 100.0% (102 of 102 strings)

Change-Id: If7eb7eb159c1dcfc3a9607094b20b469e65159c4

update translations

LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (299 of 299 strings)

Change-Id: Idb217999d2f0469172ca3fcb5f38928bc1381fc1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93596
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-20 16:39:06 +02:00
Aron Budea
11d9c28478 tdf#133078: Make selection from Borders dropdown work again
If color was undefined, parseInt() of 0 (already int) failed.

Regression from 877e4fd587

Change-Id: Ie7c1e4666a5560c39fd395419185933be395d54c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94543
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-05-19 19:36:22 +02:00
Szymon Kłos
3e3a5e01b1 jsdialog: fix inifinite regenetate JSON loop
Change-Id: I52667e115a0cf70f09f570dc6ea1ec0bcac49460
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93463
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-19 13:34:44 +02:00
Szymon Kłos
2b5dac78f6 jsdialog: send control type with event
Change-Id: I6cd6f1d26b5c78715f9e0adc992a1869e0f19a97
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93029
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-19 13:33:58 +02:00
Szymon Kłos
e55892b997 jsdialog: handle events for dialogs in mobilewizard
- remember window id
- close mobile wizard on dialog close
- close dialog on mobile wizard close
- don't show dialogs on mobile devices

Change-Id: I585c5b92192655684eedd62d88817a92fc1fc0a8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93005
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-19 12:56:27 +02:00
Tamás Zolnai
18325d8889 MSForms: make list items's font size relative to the button size.
Change-Id: I05149e704ca248584ba190f2e637e69082ca33fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94420
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:41:48 +02:00
Tamás Zolnai
43d1567b9d MSForms: stop listening on zoom events after button is removed.
Change-Id: I96e484b5fa7309b7d1a6f0a3ec4269f21bb93496
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94410
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:41:37 +02:00
Tamás Zolnai
13f1f0182e MSForms: rerender form field button on zoom.
Hide the button on zoom start and display it again with
the new size on zoom end.

Change-Id: If507009923e85225c8594252bd76033c8b84783b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94407
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 12:41:48 +02:00
Aron Budea
df205d6360 loleaflet: Empty user list flashes up at start on mobile
Regression from 610e2dbd58

Change-Id: I35809de56d9533381f0c0d2bdfcd5587e065ce9f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94336
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-05-16 00:30:55 +02:00
Michael Meeks
3bb8754ef1 Welcome: include the host + service-root.
Also fixes proxy usage.

Change-Id: I118101077b6294c3720af47f0188326ace9bbc09
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94212
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-14 18:12:22 +02:00
Michael Meeks
6063cfc226 Mend error substitution, jsstring.replace() doesn't replace in-place.
Change-Id: I9286779c6f25499aeb390f1c8346fc15574b8c8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94217
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-14 16:51:11 +02:00
Michael Meeks
f65c8ef71f Avoid exception during racy startup.
TypeError: Cannot read property '_updateCursorAndOverlay' of undefined

Change-Id: Id6d5ed3df44bb04f9ed456974ee800ed564f1b4a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94195
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-14 16:49:48 +02:00
Pedro Pinto Silva
cd0ae0df70 Fix indentation markers:
- SVG markup: Convert polygon to path
- SVG markup: remove xml transformations
- SVG markup: optimize svg
- increase border so it's visible at 100%
- modify border color (so it's not 100% black)

Change-Id: Ie0237793ea59b6877013c8f0bca37b73053c89d3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94198
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-05-14 15:40:07 +02:00
Michael Meeks
3ed7cceeb7 Show the welcome message at maximum once, unless requested.
Change-Id: I2a8a7b53876e402102d5fce2b56da78edd709ad9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94196
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-14 15:31:14 +02:00
Michael Meeks
6ba7066627 Proxy: significantly simplify proxy socket.
This avoids needing long-term wait sockets which consume server-side
resources & can block other requests.

Change-Id: I0909f49e16c5ce2315b9980cdf34fa4e370e3abc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94150
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-13 19:48:31 +02:00
Henry Castro
d77cecee81 loleaflet: assign a static singleton map object
So cypress can access the object and listen some events
when unit test fails

Change-Id: I8b05383a2655865b540306f83ebb5c5d42f1929c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94079
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-13 16:08:01 +02:00
Tomaž Vajngerl
5299ec381c make indent markers nicer, put update after _TSContainer change
Make markers look more like in LO - smaller, more slick.
Move the _updateParagraphIndentations after _TSContainer position
is recalculated as we depend on that.

Change-Id: I08034f6b5402a1532b6f74203a465164327f4593
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94095
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-13 10:05:11 +02:00
Michael Meeks
99d6282dde Proxy: re-arrange URL structure & document it better.
Also implement 'close' during browser unload.

Change-Id: Ie2072c14cf863876c633b3371b86016367ad4992
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94089
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-13 00:53:36 +02:00
gokaysatir
221d666822 tdf#111535 Add First-line indent, paragraph indent, and tab spaces/Online part.
Change-Id: I7b0b6e205aa9af40b8331044b99c44df0bd4cced
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93250
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-12 13:28:08 +02:00
Tamás Zolnai
166c6d87f7 MSForms: add a small padding to the list items.
Change-Id: I4ba449a1c82ab046454a87d09f351879b5ac9f26
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93981
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-11 20:14:21 +02:00
Tamás Zolnai
f7bf4d5cdd MSForms: display placeholder text, when there is no items.
Change-Id: I8acd29d734820f6ddc36871c7777fefd2956c213
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93962
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-11 20:14:13 +02:00
Szymon Kłos
06864e7011 notebookbar: remove testing JSON
Change-Id: I59128eaa0e2faa9db5e15b01d0ad44bdf835c0db
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93963
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-11 15:11:33 +02:00
Szymon Kłos
9f55b8f46e Fix language menu in statusbar
Sub items from the language submenu are executed by
uno calls - added handler.

Change-Id: Ia83cd9331de6468c7d5a7b6f5cdbe45e68595a8b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93956
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-11 13:15:26 +02:00
Szymon Kłos
cdf964ba86 Fix cell address input handler
Change-Id: Ie0a7630597f442d7f7117870cd4a52ff5b476252
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93957
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-11 13:15:20 +02:00
Henry Castro
4617903be2 jsdialog: add formatted field handler
In master branch by default the legacy control like the
metric control is not created, that force to create the
replacement which is formatted field control.

Change-Id: Ib5dcaa9516057a3aed304b748f13d44098dc525b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93588
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-11 04:48:07 +02:00
Aron Budea
2691131040 loleaflet: Show navigation controls on sheets bar on tablets
regression from 1d1651795c

Change-Id: Ifc7589a2bbabb99021ad98ed85216f1d22b5e641
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93902
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-10 21:42:41 +02:00
Andras Timar
daf8f68418 MSForms: white background of drop-down-field-list (not black :))
Change-Id: I633fff952f10d95ed120494dbb3f75dd4e9bbc2e
2020-05-10 08:37:07 +02:00
Andras Timar
c16218061e MSForms: white background of drop-down-field-list (it was transparent)
Change-Id: I315cdc29643d0fddb6704610cb4ed72c03ee3e8b
2020-05-10 08:29:21 +02:00
Tamás Zolnai
68017efb3c MSForms: remove weird blue border dispalyed around the drop down button.
Change-Id: Iddb696f10d9eb5364904021dd50431e11efc8dfb
2020-05-09 09:54:09 +02:00
Tamás Zolnai
c7c690c4e8 MSForms: stop propagation of mouse events for the drop down button.
Change-Id: Id63056f1aa39cadfc62021c5220d301f7ea26af8
2020-05-09 09:54:08 +02:00
Tamás Zolnai
98f4b50673 MSForms: do some styling of drop-down form field..
Change-Id: I70d4766dcf116e31cde18f67cfea6551197657a8
2020-05-09 09:54:08 +02:00
Tamás Zolnai
75dc61da7e MSForms: send item selection event to core.
Change-Id: I10fceb66a4f8cd777c43411ddace3456a315b5a2
2020-05-09 09:54:08 +02:00
Tamás Zolnai
dc9e66f4bb MSForms: restructure form field button rendering code.
To make it more readable.

Change-Id: Icfb179a5edfc65fe2dcaaebcc86c970e5d3b83b1
2020-05-09 09:54:08 +02:00
Tamás Zolnai
6640ba5cef MSForms: use the actual item list for drop down field.
Change-Id: Ib6021cf5d2a0c25bcd04f44771a33b3e3cea53fb
2020-05-09 09:54:08 +02:00
Tamás Zolnai
3bce2d45ab MSForms: build drop down list for drop-down field.
Change-Id: I42a68ebf8b0201d97779f2bfc43a8dabbad9e1c0
2020-05-09 09:54:08 +02:00
Tamás Zolnai
87b862a4e2 MSForms: styling form field button.
Change-Id: I4bbcc16aa8afb0fa7e8e84d34e1f18086f0b8615
2020-05-09 09:54:08 +02:00
Tamás Zolnai
d2629961e0 MSForms: handle formfieldbutton message.
Change-Id: I17243823d9bc0074b7fd015bca23de9399e0e26c
2020-05-09 09:54:08 +02:00