Commit graph

10018 commits

Author SHA1 Message Date
Pedro Pinto Silva
bbc6b44dd3 Fix help text and add updated screenshots
Change-Id: Ie7fe56ae1a9db2de04706712a3a16a70bcf394f0
Reviewed-on: https://gerrit.libreoffice.org/85103
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-13 12:56:49 +01:00
Andras Timar
bc608f41d5 With switch to Weblate, downloadpootle.sh script became obsolete
Change-Id: I85447800a2547d2e9142b59ce60ee3c242e7234d
2019-12-13 12:29:31 +01:00
Andras Timar
f83433ee29 loleaflet: update pot files
Change-Id: Ib179d6f07234cf7cb693043a30e651c6555eb8cf
2019-12-13 12:24:37 +01:00
Andras Timar
05e0fa4446 These units are not really localisable
Change-Id: I4eebe11bf4dc1dfc3944ea60b00887d49aad24e4
2019-12-13 12:23:42 +01:00
Pranam Lashkari
d249e6a713 Resolved: Keyboard shortcut help window won't scroll
Help usually don't fit in the resulting popup window,
but wasn't possible to scroll.

Change-Id: Iff14620730ba9cee6e679e4b6b69e84342019cd1
Reviewed-on: https://gerrit.libreoffice.org/84998
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-12-13 11:56:07 +01:00
Jan Holesovsky
513c6ec8c5 android: Kill unnecessary capitalization.
Thanks to Adolfo Jayme Barrientos for spotting this.

Change-Id: I1104db134e60081cc1fac19b7e43997ea1738041
Reviewed-on: https://gerrit.libreoffice.org/85095
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 1c43e7fd68e9000f332800dba4df61adcef9a870)
Reviewed-on: https://gerrit.libreoffice.org/85096
2019-12-13 10:24:14 +01:00
Pedro Pinto Silva
a002f5ee86 * Change menu item text so it fits in the sidepane
* Fix diretorias to diretotios

Change-Id: I11152a1c0a3deb536930260007682e444ace74f9
Reviewed-on: https://gerrit.libreoffice.org/85058
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-12 15:21:37 +01:00
Weblate
cdae6c9615 LibreOffice Online/loleaflet-ui (German)
Currently translated at 86.0% (234 of 272 strings)

Change-Id: I9843207435a850a10efea642289af471b13d6aee

LibreOffice Online/loleaflet-ui (German)

Currently translated at 85.7% (233 of 272 strings)

Change-Id: I6bd193e80e48a8253aadc800a6a0a00088906f44
Reviewed-on: https://gerrit.libreoffice.org/85045
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-12-12 14:36:25 +01:00
Ashod Nakashian
7a2efacc11 leaflet: menu mobileWizard calls are not sidebar
This fixes long-press context-menus on mobile.

Change-Id: I63df610a12a075753a277a4257d6e7c785473107
Reviewed-on: https://gerrit.libreoffice.org/85048
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-12 13:23:33 +01:00
Szymon Kłos
a8cc95f8f2 jsdialog: fix insert menu
Change-Id: I97b21e3358f078d12c99718623303d3f096a8d46
2019-12-12 13:01:24 +01:00
Andras Timar
859c75037e Revert "android: add pot file for localization"
We'll use Weblate and it handles strings.xml directly

This reverts commit d6e55afc4b.

Change-Id: I44ced10d7da37feffdd222a9a63a33545362b306
2019-12-12 12:49:54 +01:00
Szymon Kłos
6fe5ac162c jsdialog: double Sidebar call in Inplace mode
To activate Sidebar in Chart activated context.

Change-Id: I4579f01e45d0b56bdee32f649498820c404cd5a9
2019-12-12 12:27:03 +01:00
Szymon Kłos
2da5586a36 Prevent fake doubleclick detection on Background color applying
When selecting the highlight for a text only some attempts
were successful because of detection the mouseup event two times
in a short period of time (0-1 ms).

Change-Id: Iafba078edbc4442921dc00b58829c5dbf4c2ed74
2019-12-12 11:35:07 +01:00
Marco Cecchetti
f65a76f2cf calc: tunneled formula bar: skip painting when width is wrong.
In the hope of minimizing flikering effects we skip to paint the
formula bar when the size is not the expected one, on the contrary we
send a resize request with the correct width to the lok core.

We also skip to adjust/resize the formula bar when a sidebar resize
not really change the sidebar width.

Change-Id: I11d343b2ba722f96d3cdba6a2dfb66d85a071c5f
Reviewed-on: https://gerrit.libreoffice.org/85029
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2019-12-12 11:09:36 +01:00
Marco Cecchetti
c4d27a2b8d try to delay incoming messages when the js bundle is not yet loaded
Incoming message are stored and handled as soon as the js bundle is
loaded and the ui is ready.
At present this solution has been selectively enabled for the
following types of incoming messages: 'window', 'statechanged',
'celladdress'.

Change-Id: I22e98ff11c67140deb639295273be9533560536b
Reviewed-on: https://gerrit.libreoffice.org/85028
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2019-12-12 11:09:19 +01:00
Szymon Kłos
b7e835da99 jsdialog: request update on mobile wizard show
Change-Id: Ib3f90dfa23107f4f2299d05fbf227870156c54d9
2019-12-12 10:18:07 +01:00
Jan Holesovsky
c2385112ac android: Make all the .uno: commands work again.
Was a problem introduced by c6f36965cf.

Change-Id: I8fbc722ed73af19a6462c87242d431eea118f1a2
Reviewed-on: https://gerrit.libreoffice.org/85020
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-12 10:17:16 +01:00
Jan Holesovsky
863111c952 mobile: Fix build.
Change-Id: Ie0f08a984b9333ca65d0fd52c71e358b7fd5f771
Reviewed-on: https://gerrit.libreoffice.org/85018
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-12 09:57:44 +01:00
Ashod Nakashian
f11946bf40 leaflet: improved sidebar wizard handling
Now the Hamburger works and the sidebar updates
are more accurate.

Change-Id: I2f8df05801297d8ec29bf1d966624f06df685d31
Reviewed-on: https://gerrit.libreoffice.org/85010
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2019-12-12 09:11:25 +01:00
Michael Meeks
f95cc10438 A new convert-to unit test, hopefully taking longer to load.
Change-Id: I8d8291e272a175ab3c846b692bb34b185b2b8278
Reviewed-on: https://gerrit.libreoffice.org/85008
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2019-12-12 08:57:28 +01:00
Michael Meeks
948b424abb convert-to: wait for load to complete before attempting the save.
Change-Id: Iee3a8a6720bbc29fc4e113bf705f405b840e1e45
Reviewed-on: https://gerrit.libreoffice.org/85009
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-12-12 07:42:42 +01:00
Michael Meeks
83e02ab38b Add a time limit for badly behaved / huge document conversions.
Handles problems with load, save, and lingering DocumentBrokers.

Change-Id: I6079cba3a4fa2a84c303b3a8669d94863a04f474
2019-12-12 03:38:50 +00:00
Michael Meeks
a72392cc57 android: improve debugging readme.
Change-Id: I4d1933e38c7cb0fd4d28b4384e11f35f2c9e8626
2019-12-11 22:53:14 +00:00
Ashod Nakashian
924869c3f4 leaflet: sidebar is now always active for mobile but visible on demand
Because we can't control the sidebar when in Chart edit
mode, we must have it active before we start Chart editing.
Besides that, on mobile we show/hide the sidebar quite
frequently, and there is no point in activating/deactivating
the sidebar on every tap.

So we have the sidebar enabled in the background at all times.
We then track whether it's visible or not (window.mobileWizard)
and show/hide it. Furthermore, we now handle the sidebar
close notification from Core, which we don't expect, really,
now that we don't close it. However, we need to have a way
to re-activate the sidebar when it is closed. Something
we don't do right now, and we need to tack the Core
sidebar state as we can only toggle the sidebar.

Change-Id: Id7774b84cd0604055c708eb0912e17988f5823d2
Reviewed-on: https://gerrit.libreoffice.org/84974
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2019-12-11 20:52:54 +01:00
Jan Holesovsky
8002f9f38a android: Removed unused resources.
Change-Id: If6175b4703db3d476acc781b9d02c84ca79f7c12
Reviewed-on: https://gerrit.libreoffice.org/84984
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 20:45:14 +01:00
Jan Holesovsky
b648eceecb android: Turkish shell translations copied over from core.git.
Change-Id: If74644bdf2460f2fd2a8346b84333340d4acc7c9
Reviewed-on: https://gerrit.libreoffice.org/84983
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 20:44:22 +01:00
Pedro Pinto Silva
1a6ab5ae28 android: Brazil Portuguese translations of the lib.
Change-Id: I587a69518d23c7f2a7580918610619bd78821754
Reviewed-on: https://gerrit.libreoffice.org/84982
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 20:43:57 +01:00
Eloy Crespo
166a0f2c02 android: Spanish translations of the lib.
Change-Id: I8fc84c9d406a2cd7be840ec2f6e09a9869e8e157
Reviewed-on: https://gerrit.libreoffice.org/84981
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 20:43:31 +01:00
Jan Holesovsky
1cb4cfe2b1 android: Honor the languge setting from the system.
Makes no sense to have an own language switching mechanism in the app...

Change-Id: Ic19bf36e35d1d011a1cd96c17b713e41577c512e
Reviewed-on: https://gerrit.libreoffice.org/84980
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 20:42:53 +01:00
Jan Holesovsky
b9df7da0ff android: Fix build after the recent Nextcloud's android-library update.
Thanks Tobi for the hint!

Change-Id: I00b7ef4aaef7ced1d26d3d5636189e239897ecea
Reviewed-on: https://gerrit.libreoffice.org/84979
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 20:41:46 +01:00
Pedro Pinto Silva
7e1a6bdbec android: Brazilian Portuguese translations of the shell.
Change-Id: Ib71ccb7281e3e27c3184d3487b56253c61f2bc2a
Reviewed-on: https://gerrit.libreoffice.org/84978
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 20:40:03 +01:00
Eloy Crespo
7bb78ae23f android: Spanish translations of the shell.
Change-Id: I5c0d0034085f6b03f7541f259048ab0774f92081
Reviewed-on: https://gerrit.libreoffice.org/84977
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 20:39:42 +01:00
mert
651a4f546a fix Keyboard pops up when switching slides
Change-Id: I6b0953e4868867786a8c63c5ccbf132baa0d0324
Reviewed-on: https://gerrit.libreoffice.org/84935
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mert Tümer <mert.tumer@collabora.com>
2019-12-11 16:23:20 +01:00
mert
041b16202c Fix closing hyperlink dialog doesn't focus
The document should have the focus after
closing the hyperlink dialog

Change-Id: I5f4cf4f2cabe92b97e60a4d118ba67255f598c0b
Reviewed-on: https://gerrit.libreoffice.org/84933
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mert Tümer <mert.tumer@collabora.com>
2019-12-11 16:22:29 +01:00
mert
4783b71920 Remove Find&Replace button for mobile
Change-Id: Icfffee63620cca3df52dd21a011cf2b2e30a834d
Reviewed-on: https://gerrit.libreoffice.org/84884
Reviewed-by: Mert Tümer <mert.tumer@collabora.com>
Tested-by: Mert Tümer <mert.tumer@collabora.com>
2019-12-11 16:21:14 +01:00
Pedro Pinto Silva
3f325d085a Impress on desktop: Fix white glitch at the bottom of slides sidepane
Change-Id: If2fa4caab1b5d1f43fb28e4ab806e09140a54cb3
Reviewed-on: https://gerrit.libreoffice.org/84955
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-11 15:40:35 +01:00
Michael Meeks
e12de33ecf android: encode SCHEME_FILE paths as URIs not paths.
Fixes encoding problems particularly with eg.
SCHEME_FILE: getPath(): /storage/emulated/0/Android/media/com.nextcloud.client/nextcloud/user@demoserver.com%2Fnextcloud/test.docx

Change-Id: I0f2a84ff29fffd87ef059727bfb530bb54ab2ab9
Reviewed-on: https://gerrit.libreoffice.org/84936
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-12-11 13:22:49 +01:00
Andras Timar
d6e55afc4b android: add pot file for localization 2019-12-11 11:24:03 +00:00
Jan Holesovsky
0cd43ead59 android: Make the localization work for the JS pieces.
To have the menu translated.

Change-Id: I8d4d90d260aa3fcd80a8eb68515b22c58c9b3e18
Reviewed-on: https://gerrit.libreoffice.org/84931
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 11:49:37 +01:00
Jan Holesovsky
e628f26e87 android: Unregister the receiver from the right place.
Change-Id: Ifef497deb362ca23e16fb9ccd88c14b87770d963
Reviewed-on: https://gerrit.libreoffice.org/84930
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-11 11:48:47 +01:00
Szymon Kłos
85d72c4005 jsdialog: correctly parse status of changed items
Change-Id: I57384b07f6df5d2d3b0afd97ee47330644083f09
Reviewed-on: https://gerrit.libreoffice.org/84889
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2019-12-11 11:13:28 +01:00
Jan Holesovsky
0b90f8cece android: Fix crash when starting a slideshow.
Change-Id: Iff5e4feaf4d1c496713a6401f6f03a17ae326ec5
Reviewed-on: https://gerrit.libreoffice.org/84905
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-10 23:05:12 +01:00
Jan Holesovsky
437074a853 android: Iterate according to the provider names again.
After commit 3dce52c307, this is the right
thing to do again.

Change-Id: I3c34ee258677af59bfc7a55abcb09c4b7f3611a2
Reviewed-on: https://gerrit.libreoffice.org/84903
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-10 22:20:49 +01:00
Marco Cecchetti
f4dd7ef0dc fixing 2 minor console errors
Change-Id: Ie2449e33dd47511b2d8a65e1f929e69fece8a567
Reviewed-on: https://gerrit.libreoffice.org/84901
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2019-12-10 22:08:01 +01:00
Tamás Zolnai
4d5a3efb8f Mobile: long-press on a selection, should not kill the selection
Don't clear selection unconditionally. _clearSearchResults() method
is called by mouse click and we don't want to clear selection
during opening a context menu.
If there is any search term then we can clear the selection,
otherwise don't change it.

Change-Id: I8f672e4d6d30e9bb3828a39e591a64598a7a8722
Reviewed-on: https://gerrit.libreoffice.org/84885
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-12-10 18:46:30 +01:00
mert
9cc80474a8 fix Selected language in the bottom status bar
disappears, also fixed language selection
does not work at all

Change-Id: I1349e6ccc786f4c17130f14ff95e44f4ea858550
Reviewed-on: https://gerrit.libreoffice.org/84845
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2019-12-10 18:37:06 +01:00
Pranam Lashkari
c099715fec Document focus stopped when renaming sheet
while rename sheet popup is focused and same document is opened where else
popup used to lose the focus and document is focused.
So the name used to get typed in document instead of popup

Change-Id: I18aa3ba9d5485fd9f5928635aa611d7db5771495
Reviewed-on: https://gerrit.libreoffice.org/84794
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2019-12-10 18:04:05 +01:00
Jan Holesovsky
86350c62fe android: Cosmetics.
Change-Id: I9bdb97b6620dcecc5fb55a07c30309ceab6a4cc2
Reviewed-on: https://gerrit.libreoffice.org/84875
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-10 17:26:45 +01:00
Jan Holesovsky
2a1d62c6a7 android: Ultimately we want to have this working for both.
Currently it can open files both from the ownCloud and Nextcloud
storage, but so far it seems that it cannot save back to ownCloud.

Unfortunately both the libraries have the same namespace, so to have
both the ownCloud's and Nextcloud's library in the same .apk, we'll need
to use some additional tricks.

Change-Id: I7fd647a42d3bd90b6268017ae392d61f67f548c0
Reviewed-on: https://gerrit.libreoffice.org/84874
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-10 17:25:27 +01:00
Jan Holesovsky
3dce52c307 android: Completely hide the External SD and OTG.
Many reports said it was broken, so let's disable before anybody
actually tests it & fixes.

Change-Id: I179de3774c0fb4be018e59cd629936a9d565dc15
Reviewed-on: https://gerrit.libreoffice.org/84873
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-12-10 17:14:43 +01:00