Another horror caused by some unexpected vex change, now we listen
for afterClose to be sure that when the dialog is gone we started to
try to re-connect.
Change-Id: Ic053df665d188f25f6ddf3b081433bbd6dd37820
This behavior was added in:
dd9aefd5d8
It was added to avoid zoom change when the mobile keyboard
comes up. We keep this behavior for Writer, but in case of
Impress we do a relayout when the keyboard is displayed, to
keep the slide centered.
Change-Id: I0d0f23824ff04afd0fd5f8919ccfaea7911551d2
Reviewed-on: https://gerrit.libreoffice.org/85132
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
We don't want any of the stuff in loleaflet/src/map/Clipboard.js to be
involved at all. On iOS we have an interface to the system clipboard
in core. Just use that. No need to keep any local cached clipboard in
the Javascript. No "download" involved. Just let .uno:Cut etc do their
job. Keep the _clip attribute property of the L.Map object undefined
on iOS, and check if before trying to use it.
As such I couldn't exactly reproduce the problem in the bug report,
but hopefully this works.
Change-Id: I2623221b87e729bb60e34f40ed42d5f499c4c25f
Reviewed-on: https://gerrit.libreoffice.org/85124
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
67, 88, 99, and 120 are simply the code points of the 'C', 'X', 'c',
and 'x' letters in decimal.
Change-Id: I3428bb44a3d41b3ff774ac963ea85c3a2e11a4b6
Reviewed-on: https://gerrit.libreoffice.org/85123
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I23ff1c44a2a110d84a0899b982b1cee566011ad3
Reviewed-on: https://gerrit.libreoffice.org/85126
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
The old code cannot work on newer Android.
Partially based on work by Kaishu Sahu, thank you!
Change-Id: I15e3f583572285642bc47595c21f4469f5a544a1
Reviewed-on: https://gerrit.libreoffice.org/85121
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 6e8ebc5f87e62a391cfca0429c6c4bea7f6ccbfb)
Reviewed-on: https://gerrit.libreoffice.org/85122
(See c6f36965cfc1bd68fdb88b01d493163b5d176bcc.)
Avoid a mysterious and extremely misleading pop-up in the iOS app
saying "The server encountered a unknown error while parsing the SAVE
command".
Change-Id: Ia9047f7dfa038864f3994002b42979062f0174d4
Reviewed-on: https://gerrit.libreoffice.org/85105
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>