On mobile, the center of the zooming has to be according to the center
of the pinch-to-zoom, ie. the center has to be taken into account.
Change-Id: I3ba2ea90b7bac9bc1ba27f8068ea7ed6bbb4910d
This avoids display corruption when panning, whereby stale/old
canvas content would continue to be rendered in the 'holes'
where invalid tiles were not rendered.
Change-Id: Ic886c0924c5a930116b1437c8e0cf35726ab76a5
The core of the fix is in _getNewPixelOrigin() where the round() behaves
non-predictably / inconsistently with the rest of the code, causing
random off-by-one error that shows (or not) depending on the window
size.
The biggest problem of this is that this off-by-one is then multiplied
somewhere by the zoom factor, causing the canvas being completely
blurry; but eventually when the user clicked into the sheet, it
'magically' fixed itself.
The rest of the changes (in setZoom()) should actually do the same thing
as the previous code, but using existing methods, instead of computing
the shifts manually.
Change-Id: If0ecb1301b7c1e65cfe8126385ef959c584c5d16
With this, if you increase or decrease the browser zoom, the document
zoom still stays the same.
Before this, when you had eg. 100% document zoom and 150% browser zoom
and try to zoom out, it actually zooms in instead, because the browser's
zoom is added to the mix; and it displays the wrong value in the
dropdown. Even worse, to get the 100% again, you have to choose 80% so
that the correction for the browser zoom is added, resulting in the
100%.
We should keep both the document and browser zoom separately. The
questions is then whether to combine them later for the actual document
rendering; I believe we should not, but even if we should, we cannot do
it directly in the setZoom() method, but instead closer to the painting
itself.
Change-Id: Ib7f3d2ae8b4e6e6086f14e933b215c32326c6be6
All drawings to it needs to in css pixels for now, because the
mouse/touch handlers need positions in css pixels and the HeaderInfo
datastructure has everything in css pixels.
Moving the headers to the main-canvas needs more work but this change
will help in doing that.
Change-Id: I6a19e62a67b2b42975a51bb695db300ce493ba01
The application freezes with tables, beacuse of an
invalidate tiles loop. With php-proxy the lot of invalidate
tile messages blocks the execution.
Change-Id: Ife08b7cb335afc69108d970a8f0147be1ae9d90e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102892
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
For some reasion cypress image loading mechnism is not
working with php-proxy. Without cypress image insertion
works. So now I disable this test, later we can fix-up
cypress test to handle this scenario.
Change-Id: Id1b62f28b3f0cdfe9e26cc96dbafcbacbf472be8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102889
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
LibreOffice Online/loleaflet-help (Slovak)
Currently translated at 100.0% (418 of 418 strings)
Change-Id: I562044d259c009e8abd36f88049c729a0f0ec7c2
update translations
LibreOffice Online/loleaflet-help (German)
Currently translated at 100.0% (418 of 418 strings)
Change-Id: Idcc2f7847022e454d6c591650e4f5512081392ef
update translations
LibreOffice Online/loleaflet-ui (Slovak)
Currently translated at 100.0% (347 of 347 strings)
Change-Id: Idec1e51f58d79c6b0578d2fae32e80b00ba2ae07
update translations
LibreOffice Online/loleaflet-ui (German)
Currently translated at 100.0% (347 of 347 strings)
Change-Id: I78a5669bd666992476fd358ae41f286890dc1ce2
update translations
LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 100.0% (347 of 347 strings)
Change-Id: If3fcc7b2b1b20216ebae70618d07e7191bd5ffe5
update translations
LibreOffice Online/android-lib (English (United Kingdom))
Currently translated at 100.0% (13 of 13 strings)
Change-Id: I7f481f2a26ee198591c3d9c93177f81dc477919a
update translations
LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 100.0% (418 of 418 strings)
Change-Id: Id27b4a12f008df604aa7416248c55fae794688ac
update translations
LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (347 of 347 strings)
Change-Id: I66ecbdbb73c68dd92ff0add6d8afc78e01844739
update translations
LibreOffice Online/ios (Norwegian Nynorsk)
Currently translated at 100.0% (5 of 5 strings)
Change-Id: Id5fc7a3eefbeb0a4ed5dac880fcca2afe739f7e9
update translations
LibreOffice Online/loleaflet-help (Bulgarian)
Currently translated at 100.0% (418 of 418 strings)
Change-Id: I04f5b89159fa55aedf626fa85a1504677a2a63c6
update translations
LibreOffice Online/loleaflet-ui (Bulgarian)
Currently translated at 100.0% (347 of 347 strings)
Change-Id: I0673467ff62d2091cb87b05c1ad87673d25e8347
update translations
LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 100.0% (418 of 418 strings)
Change-Id: I5fe0cd68efbb9b3642864a596344081a3a118760
update translations
LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 100.0% (347 of 347 strings)
Change-Id: Ie525d58ef85e41dd7d40952980b5381411ade8a9
update translations
LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 99.7% (417 of 418 strings)
Change-Id: Ib3d0243fe57bdea6f490a2d1413eb4af7e9f97e3
update translations
LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 99.5% (416 of 418 strings)
Change-Id: Id5af3a2e7ea1bec07a78779c2888128be7e7218a
update translations
LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 99.7% (346 of 347 strings)
Change-Id: I004263b83ac38f220ef602f079c35d9345620217
update translations
LibreOffice Online/loleaflet-help (Spanish)
Currently translated at 100.0% (418 of 418 strings)
Change-Id: I220b9e85a5276d68f50ae0d949c5457ea1c311a3
update translations
LibreOffice Online/loleaflet-ui (Polish)
Currently translated at 100.0% (347 of 347 strings)
Change-Id: I39919fbb4379e7479c3d45663195b01ba0a6ae0f
update translations
LibreOffice Online/loleaflet-ui (Spanish)
Currently translated at 100.0% (347 of 347 strings)
Change-Id: I35ceafd7293b7f6589cb710ca59f45b90d526843
update translations
LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 99.4% (345 of 347 strings)
Change-Id: I9996b3fc22d4d3e6629fbd561d44f23e49744d96
update translations
LibreOffice Online/loleaflet-help (Portuguese (Brazil))
Currently translated at 100.0% (418 of 418 strings)
Change-Id: I513d7d891f525fbb53f09013e083479c30d590f2
update translations
LibreOffice Online/loleaflet-ui (Portuguese (Brazil))
Currently translated at 100.0% (347 of 347 strings)
Change-Id: I378852679848d04be6c95e466af9c08dc60bb801
update translations
LibreOffice Online/loleaflet-ui (Hungarian)
Currently translated at 100.0% (347 of 347 strings)
Change-Id: Ibfb7140f4d0121339243201f5e42e530ec209970
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Change-Id: Iccf903f630a308f860b98ad0f639d67d634b692c
Translation: LibreOffice Online/ios
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/ios/
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Change-Id: I4135888e93067fc88653d01fb153fdba8f15db23
Translation: LibreOffice Online/loleaflet-help
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-help/
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Change-Id: I7c69924e16a99b936c65330494fdd19849d59cf8
Translation: LibreOffice Online/loleaflet-ui
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/
update translations
LibreOffice Online/android-lib (Icelandic)
Currently translated at 100.0% (13 of 13 strings)
Change-Id: I85c7258825f96853ff131eab28710439c0294b27
update translations
LibreOffice Online/loleaflet-ui (Icelandic)
Currently translated at 100.0% (344 of 344 strings)
Change-Id: Ie39cf8107592b1907d7cd9acf423436989b27fe8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102374
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Simplified download process (ab162b6f9580315700a01c3bc10becd510a2ead4)
introduced a bug. Trying to download file with eg. space in the name
become impossible. This patch decodes the string to fix the issue.
Change-Id: I8e5d98010cf098b889eddcce4ba1ce65367b15d5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102874
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Header code is updated to avoid creating/deleting it every time.
Some CSS adjustments to increase maintainability. Example: There were 2 scroll bars in mobile-wizard. Scrolling was not smooth. And some other improvements.
On layout view, 2 separate slide-sorter containers were visible. One of them is hidden now.
Change-Id: Ic4201b176812f6ca00402777423feced7ee8284c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102521
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
- to be displayed after the toolbar appears
- only when it's possible to edit the name of the document
- only when not in presence of android app and hidden (display: none) by default so it does show up before input field
Change-Id: I5c78593b1229da1682832a46e6fc8f1b09b31e12
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102675
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
Instead of selecting a column. Selecting a column means
1048576 cells, which makes things slow. While selecting a
row means only 1024 cells, which won't slow down the
execution. This issue becomes more visible with php-proxy
since it's even slower.
Change-Id: I67828dcba250b2d04053cd44c6f8c83e7a466792
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102749
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
It could fail without php-proy too, but php-proxy
slows things down and makes this issue more visible.
Change-Id: I6bda9bfd195b28c797b0690e05cddf3f0ee98e12
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102750
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Currently pressing back button on edit mode closes the document,
this patch may prevent unintentional touches
Change-Id: Ic7061186fa8794203fd4614c07a11b219d3a10d9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100666
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mert Tumer <mert.tumer@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88555