1. add css class for selected and hover unocommands
Signed-off-by: Andreas-Kainz <kainz.a@gmail.com>
Change-Id: Id89467355e029c7ff5c2f05d1c70fe064b166422
Clobbering a copied-in config un-necessarily is impolite.
Change-Id: I9eec5711d12def987f2ae08f9e6bd77f1636780e
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Conflicts:
loleaflet/src/layer/tile/TileLayer.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2493c2b9a336dd531ef50031c723670e2a432fc6
(cherry picked from commit a4fa99047fc1a9dde312396de15bb18954e2efb0)
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I833f705077008e4231052f5edb34db39a81445bc
(cherry picked from commit 92322f83dc89a0d1eefcf6dd3dff697aaa7cd303)
Due to the necessity of long running render pause during document load,
we need to introduce a drawingEnabled state variable in
section-container class that works correctly with the exisiting
pause-resume functionality but with a higher priority.
It is possible to implement this functionality using the existing
drawingPaused counter using some Infinity magic, but it seemed to make
the code rather complex.
Conflicts:
loleaflet/src/layer/tile/CanvasSectionContainer.ts
loleaflet/src/layer/tile/TileLayer.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I1aec49df93f24eb9239956071f1fc751b076f27d
(cherry picked from commit 09e7cee0b4355c0980ad41f3f74ff86b09334abf)
we get the cell cursor position from core which determines the final
view area. If we do on document load the default view starting at A1 is
displayed for a short time and after getting the cursor position, new
tiles are requested for the new view area and are displayed. This is
also perceived as a flicker on load.
Also request the cell cursor position early during the addition of
CalcTileLayer to map.
Conflicts:
loleaflet/src/layer/tile/TileLayer.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I0996b75ed120a59a242cb50991d90afd228d3582
(cherry picked from commit 55328b64225e7878f1e5c89edd8e7cbabf236633)
cypress: updated the test with respect to changes
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I31c5d93260551986d43722ab606c4b9eee1de913
These are intended for when we are scrolling fast and we have
no tiles to display on upcoming pages. Anyway while zoom is changing
the for some reason page border drawn is wrong (has an offset).
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I6101423012c25c955de64c4061b31c29416a6f9d
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ic6c1a30bd5c43a4a4782d25f48f5080dca5866df
(cherry picked from commit fe4b0fe1c0ae47feb8fdf64f15f8b7facd819fb9)
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ifd61a368ca93e7d3b84498748b70335312f797b0
(cherry picked from commit 2623967f37db5089867a7166d334f299120d1e8a)
Conflicts:
loleaflet/src/layer/tile/TilesSection.ts
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I260a5bf08751087edad9abfeaa2a68c4c7ac914e
(cherry picked from commit bae749a85a3b22c8cdc3da052aeb2298e6fc37ec)
to avoid tile remnants as we clear tile section as we have the tiles for
the new zoom in batched mode (due to msg-slurping).
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I6f6e5b5f121f7dce060e6e3ac2ed9d0d586efbfa
(cherry picked from commit 040bb40fdd5396be6d93d86ad405f62985720022)
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I55d583c58346a8af705cc507e7bc7ced717dc052
(cherry picked from commit ec384e74ed7c1f2530bbf4f0385543d433d4f5eb)
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If2f771b964d9960108b5eccb235a4c9849ab24ec
(cherry picked from commit a916313bccc6e3d772571d748621d65f967f39eb)
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iea995082ad8eef8f712eee774d2631ddef193fb3
(cherry picked from commit 5d897931762183632a98ec3bb6867f69d11d618b)
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I0eca354850b5efe975283a44dca64f8f1fb40e12
(cherry picked from commit 34058ec34e9afba0f8f01d0baf358a91ccc9ce8b)
Non calc apps have page margins which should also be included while
calculating the current frame's bounds. Otherwise we draw the marginless
document to the tiles section from the offscreen canvas.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I0fc1975920b6abb6c0253dd7a04b800a8ae89867
(cherry picked from commit 96f6e9433463491e84a36cf23227bf2106de9b4d)
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2ebee4c53ab60e8c6cf61e392f5e0685110abb8b
(cherry picked from commit 199af73b6ddb78f6ea3ce12c4e8dc4bb42b6ee37)
Reuse the pinch-zoom for mobile implementation for this.
Conflicts:
loleaflet/src/layer/tile/CanvasTileLayer.js
loleaflet/src/map/Map.js
loleaflet/src/map/handler/Map.TouchGesture.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ic7c50708a3071f4661c996dd2aae7083feed64da
(cherry picked from commit 202fd1a3bfef22549e3402dcb7b6d9fad9b4f07d)
Conflicts:
loleaflet/src/layer/tile/TileLayer.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Idb4685257ea03b09d4e77c9bf04d3009f8d60e2a
(cherry picked from commit bbd8955a4eb6234c520233d619a361f2937b09b2)
Conflicts:
loleaflet/src/layer/tile/TileLayer.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia51699f8b5619c4169a45312ee0c3b826fac9d0e
(cherry picked from commit 1eaa46b1e93247652778293e5594bc109769364b)
We now have a very specific design for cell-area selections which
involves many paths. However we don't need the same styling for text
selections. Use a simple CPolygon based drawing for text-selections till
we come up with a better styling for them.
Conflicts:
loleaflet/src/layer/tile/GridLayer.js
loleaflet/src/layer/tile/TileLayer.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ieed0ff688e1333aa8d7c8ddd923933d49855c130
(cherry picked from commit a929a2a5d34a3f6438466e105a9cbff5e426272e)
* Autofillmaker should follow the grid (not go overboard as it is now)
* Add one white border to the selection (but very discreet, 1 pixel)
* The autofillmarker, selected outline and cell cursor should share the
same color. That color should come from css var (so it fits better
with surrounding elements, cell headers etc).
Caveats:
* Autofill-marker in mobile devices was positioned and sized
differently. With this change, they stay the same except for the color
and the contrast border. Styling this needs more thought.
Conflicts:
loleaflet/css/loleaflet.css
loleaflet/src/layer/tile/TileLayer.js
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I64c2baa43a6f13ecd29266a5fd96eb3f53d00215
(cherry picked from commit e1a16d56681935758369c3b86a11a549de87de34)
console.logException is used only for debugging
purposes
Change-Id: I7d761d0cd7b55c820b7b7dea4079dae0f6d09043
Signed-off-by: Henry Castro <hcastro@collabora.com>
- Do not bother user with multiple dialog at the loading time
- Add additional timer after the welcome dialog is closed before
calling feedback again
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib432e13205b1b3bef4dfa7ed8752a6561a4f0466
Increase timer value which avoids
user being prompted immediately after opening the app
to do---------
Nevertheless an additional commit should be implemented: If in presence
of a shouldWelcome() instance do not show
feedback dialog until user closes it
- Upon closing it Feedback dialog should not be shown instantly
, instead it should start a new timer and then show it.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I47f980fc4e86a480f70337c685cc639d78be4509
In order to not conflict with other
registered listeners.
Change-Id: I2fa15f4d5a04f0365ae4e940afa847dcb6e375cd
Signed-off-by: Henry Castro <hcastro@collabora.com>
To ensure that feedback dialog is not shown for builds where
it's not supposed to appear. This is just a cautionary measure since
Map.Feedback.js is included only when feedback is enabled
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I378361d644dd76666ae3339a3d4f697a0a032e5f
Define the "feedbackLocation" variable only if it is enabled
Change-Id: I75ab9eec9f2f074eefe8551e876bb7dc07a30b4c
Signed-off-by: Henry Castro <hcastro@collabora.com>
- Desktop: Do not rely on margin to position dialog instead,
use percentage to find the center of the screen and account
for dialog width in that.
- Mobile:
- Add layout, styles, fonts etc
- Fix containers and wrapper dimensions
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7e2bf9d7ed015ea7ec96c3c36213802276e7f778
- Following the same style as the other dialogs
- Pass cssvar via url
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7ef0b9e0249939028163b6bf93f7083636f1dd1e
Does not need to be a badge in this particular case since it's above
a physical primary button; also make it completely white to be consistent
with the button's theme.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8c85fbe33d1b3897f0fddd44dd7a5d0517f92e93