Tested on mobile device and desktop. Event combinations are added.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I97087921c7cc4de292e8919bcc8a99fd86d27806
Only a few events / functions trigger a redraw. Sections can trigger it when needed.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I49c1b2f52ffd2af9e2201cb500bd5ae06b49d6d4
CanvasSectionContainer clears drawing area.
Related code is moved inside _onTilesSectionDraw for offscreen canvases.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I7854992d35258624fbf07d0a51021acb67700348
Also calc grid drawing is moved into a section.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: If62528118d2abeea7d84a4d72b9aec5dda37c4ea
There is no functional changes on tile rendering up to this commit.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I06fb9f9eeea2093df62ffbc5315524055b9f99c9
Also, we draw things without scale, no image manipulation is needed.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I11b914a995d305377dc5ec0aad9b2bae255127cc
We will have mapsize = canvassize with this commit. Maybe we can use this information for our advantage. Like for droping latlng conversions.
Also, CanvasSectionContainer needs true right and bottom bounds for placing sections.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I0700524fb5cfb574659be88b14c894981d632a79
When the "Macro Security Warning" send clicks events,
the is no instance of Model/View/Controller yet.
So adjust to send to global events.
Change-Id: Idc395cfb86548481bbadc22874293d7d6238db89
Signed-off-by: Henry Castro <hcastro@collabora.com>
Retook the English screenshots at Help -> Online help from share.collabora.com. Then replaced them with the previously existing screenshots that were outdated
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: Ibce2d958b8df881cdca3bbd59367dcd7d2348633
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
It's a bug in the application. Let's workaround it,
until it is fixed.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I213a75816b5ba71e526d7b3fc616a454b7968e27
In some cases we cannot do a fast bind-mount of the files we want
in our jail since we don't have cap_sys_admin for loolmount inside
eg. docker.
Thus we need to fallback to hard-linking, however various security
systems namespace parts of our tree, such that link() fails with
EXDEV even across the (apparently) same file-system.
As such we need to assemble a copy of what we want to hard-link
close to our jails. However, this needs to be owned by root / the
system to avoid having writable files shared between jails. Hence
we need cap_chown in addition to cap_fowner, to get ownership right
and then hard-link.
Change-Id: Iba0ef46ddbc1c03f3dc7177bc1ec1755624135db
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
'bytes' can be smaller than the size of the buffer, so go with that size
instead.
Change-Id: I025b56379ee449fe33710b660d845fa2dd0865ee
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Before loading the document and if it has an embedded
macros, it will show the "Macro Security Warning"
message dialog.
If the input process is not enabled, the result will be
a virtual deadlock, so it should filter some messages at least.
Change-Id: I565569a0227ac0e7ce2feae2cf3ccdf21ce4b1d4
Signed-off-by: Henry Castro <hcastro@collabora.com>
When the "Macro Security Warning" message is received,
there are no instances of the document layer yet,
because the server does not have an instance for Model/View/Conroller.
Change-Id: I1ac36fb1553d8bd3ed48b86e75bf32d1b12d1d86
Signed-off-by: Henry Castro <hcastro@collabora.com>
...which is rounded to the allowed set of zooms hence reduce the view
jump after map's zoom is set. There is still a jump depending on the
position of the pinch center on the screen. This is because on setting
the zoom in Map, it repositions the center such that pinch center is now
the center of the screen.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2a79240373f333b96574b7fe5c2b18de7dec612e
so that zoom animation works for writer and impress as well. In case of
impress/writer the core-pixel coordinates can be negative, so make
"extendedPane" be 3 tiles biggger in all directions in such a case.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iab836ea963c117ec26a7648e5ff37c0b625b3b4d
The incorrect offset is present since
db887df4aba500062827bad484ba3aacfe262339
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I3089a00cf297762b5280e841680590f65d2c73a4
This also fixes slowness in Calc's swipe/pan animation because of
oversized main canvas and offscreen canvases.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If451f49fd99fb11207a2f4862daa37d9f3f02477
Currently translated at 95.0% (346 of 364 strings)
Co-authored-by: george k <norhorn@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I20b604f8781f1491ad255bcf6f5f3e54a62d4895