...missing to reduce error due to page-margins.
The error in score calculation can be made accurate if we use page
margins data into account. This is currently unavailable for
impress/draw apps.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I1a324766dddbd93b4a4f60089a81638357d242e8
Move the zoom frame painting to tile-section.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I12590809fe80b32d3630b7fdbaeeb9d8f703f041
Be sure to only do that when on mobile
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0a4f803ce50ceb950b4d9f0bbc38f5629218393b
Our permissions change callback modifies the UI so
first we have to create the UI when reconnecting.
This fixes the bug when on pdf renaming notebookbar appeared
above menubar.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I37e462e240fe7dc7eba349c9f9fbcf01679b8fe9
When on mobile we hide keyboard it was visible that
content "under the keyboard" wasn't refreshed.
So be sure we draw everything after we detected resized view
and we did all the view position setup keeping cursor on the screen.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If9dc449415b14f5d71035bae190a16d85b3118c1
Make the shape path tests more readable and debuggable by asserting the
coordinates in path commands of the shape path rather than on the whole
string. The pixel positions are not stable across the branches (eg.
co-2021 vs cp-6-4 in core) so were are doing "approximate" asserts.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I4ad0c9db32bf0397f1086b3039c7604385e7ca73
(cherry picked from commit c75b7925107664e7e74592eba5efe2dc89e8d09d)
On mobile in hamburger menu > search when we focused input field
the focus was set to document so when user started typing we
received new characters in the document instead of input field.
Also it doesn't trigger showing the keyboard when 'next' button
is clicked in search dialog.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I89ee39ad99f7f250e04e20d7f297e16fd7c75dd4
During startup we wait for extended time until
a child process is up and running. In case this
takes a long time, or indeed if forking permanently
fails, we simply don't respond to shutdown requests.
This patch makes it possible to wait for about 20
seconds at a time for a child. This way on average
we will exit the process within about 10 seconds,
assuming we are blocked waiting for a child that
will never spawn.
Change-Id: I4409cbc60aa3c7bd30970d4638c820bc581b65ba
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 6ed8b4bb1a6532d947a6bb00f936183767b54a80)
We cleanup all the relevant objects and instances
before exiting the wsd process, however some libraries
may still misbehave and deadlock during this final
cleanup stage. Notably, Poco has been observed to
deadlock during cleaning up the SSL context static
instance (used for the singleton) by waiting on
its internal mutex indefinitely.
Here we exit forcefully after cleaning up.
Change-Id: I76621c1de7f9a4ff918624b3019b9869c08787c2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit f776d87cf595bab084e53202777251a38e482147)
Currently translated at 100.0% (457 of 457 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (457 of 457 strings)
Co-authored-by: Jan Holesovsky <kendy@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/cs/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9b85bcc064738fdc70fa5ec33b2804d082600efc
Currently translated at 100.0% (457 of 457 strings)
Translated using Weblate (Swedish)
Currently translated at 74.6% (341 of 457 strings)
Translated using Weblate (Swedish)
Currently translated at 64.3% (294 of 457 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (5 of 5 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (Swedish)
Currently translated at 54.0% (247 of 457 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (395 of 395 strings)
Co-authored-by: Leif-Jöran Olsson <info@friprogramvarusyndikatet.se>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
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: I3987e574f5adb7e7256c80d2eaf308d4cd05c2cb
Currently translated at 100.0% (457 of 457 strings)
Translated using Weblate (Catalan)
Currently translated at 100.0% (395 of 395 strings)
Translated using Weblate (Catalan)
Currently translated at 99.3% (454 of 457 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: Iac55920d1fb5c986c8af88fab7f40e4b632c05b6
Currently translated at 100.0% (22 of 22 strings)
Translated using Weblate (Greek)
Currently translated at 93.2% (426 of 457 strings)
Translated using Weblate (Greek)
Currently translated at 99.4% (393 of 395 strings)
Translated using Weblate (Greek)
Currently translated at 95.4% (21 of 22 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (Greek)
Currently translated at 98.1% (108 of 110 strings)
Co-authored-by: george kitsoukakis <norhorn@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/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/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib59a0aa2d47cf0c0004703008ef46bdf9165f1e1
Currently translated at 71.9% (329 of 457 strings)
Translated using Weblate (Icelandic)
Currently translated at 70.2% (321 of 457 strings)
Translated using Weblate (Icelandic)
Currently translated at 100.0% (395 of 395 strings)
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I04f69dab7edcfe7d13b1f617ef9e2c3bd12e014d
Currently translated at 63.6% (291 of 457 strings)
Translated using Weblate (Hebrew)
Currently translated at 59.5% (272 of 457 strings)
Translated using Weblate (Hebrew)
Currently translated at 100.0% (395 of 395 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: I3086bc396e3610c151a89cb03918f14d921edd04
Using mobile device, created traces for text document, Spreadsheet and Impress files in real editing sessions
Signed-off-by: Nnamani Ezinne Martina <nnamani.ezinne@collabora.com>
Change-Id: Ie1afa80b87963999a5a3520d67fb411624b7fdc9
Created traces for text document, Spreadsheet and Impress files using real editing sessions
Signed-off-by: Nnamani Ezinne Martina <nnamani.ezinne@collabora.com>
Change-Id: I99e290b1cc9c2d14e1341a211190d7d2a64b2ea4
For instance groups field can be "" to indicate there are no groups and
ignoring this is a bug if there were some grouping in the previous
uno:sheetGeometry message. This also adds a Mocha test for this.
The issue was originally caught by the cypress group/ungroup tests.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib64009e62d510772d5f523378b713a71cf9cccc6
Adding redundant data to the spanlist does not give us any speed
advantage and they can be provided via the public interface SpanViewData
whenever requested.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ifd402f4c2d20aa69c9dd34c2f73ba619f5a5d574
All public methods of SheetGeometry class now have tests.
TODO: Add tests for component classes of SheetGeometry. For instance
SheetDimension's interface are directly used in drawing headers, so we
need tests for them.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ifab2acea51cf30e6cf1437d9983e6678b4074c38
While adding new mocha tests, it is helpful to run and debug just those
tests.
For instance to run the unit test file for SheetGeomtry, now this is possible by running:
$ make build-tests && npm run test-single -- mocha_tests/SheetGeometry.test.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I730f79409c05b5ea67fa42c5d0b58cc2f92e238a
Without further TS migrations, this is necessary to tests these using
Mocha.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia92bb0cd3e750d668790635e11935f49d8227ec6