It was a mobile only helper method originally
and I forgot to update the name when moved in
into a bigger scope.
Change-Id: I818cbebadba4152afb8e0261015734a232b0e211
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Calc helper methods were improved in the
meantime.
Change-Id: I9c464cd9d23ce4a70fa63d376619458f38cc1389
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This patch will apply for Chromebook cases and also
other keyboard connected android devices as well.
Change-Id: I4d88a65ec49935640be6513498b87718b50977f5
Signed-off-by: mert <mert.tumer@collabora.com>
This will enable notebookbar for tables
smaller devices will continue on classic mode
Change-Id: Ib74b8a0ad161d83300d807fff1fd8b3ffba11399
Signed-off-by: mert <mert.tumer@collabora.com>
There's no built in detection for tablets and
the suggested way to to it by adding resource values
for large screen and checking it.
Change-Id: Ic4a949033e04d244dbb6d441df516203639d5c48
Signed-off-by: mert <mert.tumer@collabora.com>
Change-Id: I387d19a33c5682eef890cc9a9fb0283238ecbde9
Signed-off-by: mert <mert.tumer@collabora.com>
(cherry picked from commit 1bda946b1c48608026ed07848a05ced664cc61e8)
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I2447d2662c4c092ae938794c3bbfff134df02710
Signed-off-by: mert <mert.tumer@collabora.com>
(cherry picked from commit cc163ee0ce252459ed7244c6b27b28d4cea259f1)
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Normally when waited enough before pressing the blue edit button
it will be removed but tapping on the button early before the
notebookbar initialization it stays visible.
Change-Id: If3536702319f029232ebd53315796f1618f56241
Signed-off-by: mert <mert.tumer@collabora.com>
(cherry picked from commit 1fc42dc390cada852bcafb74c9aab7cf7763f69e)
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Currently translated at 100.0% (356 of 356 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (356 of 356 strings)
Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1feeb18916d0486c746bbd306f50f17eeb8007cb
1) FAB button size has been increased to 70dp (56dp default)
2) Given 24dp margin from bottom
3) Its now placed in the bottom-center of the screen
This way it is now visible clearly with auto-hiding shelf
and ChromeOS notifications
Change-Id: Ia53c6621f2758366d04a79fe19f5cb89aaa80de5
Signed-off-by: mert <mert.tumer@collabora.com>
This is a regression started after:
b5bd8e1e0ef0d6f8b7c32b106e7eb611977a291d
!isChromebook() control added here accidentally
Change-Id: I0d774fdeadb30960413aa1b975145ed78ec7b20d
Signed-off-by: mert <mert.tumer@collabora.com>
Without this, this scenario:
* in the browser's input line, tap, and use the "copy" icon
* open Collabora Office, long-tap, "paste"
lead to paste like ??#h#t#t#p#:#/#/#t#h#e#.#u#r#l
The actual fix is the usage of UTF-8; but at the time it is safer to
iterate over the mime types, so do that when I'm touching this code.
Change-Id: I62b7958f7fbc07acac4245465bc489fc86f202c3
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
This fixes various of focus problems related to
writing. We have a hack for mobile devices for
hiding onscreen keyboard and to do that, we blur the
TextInput. But it is not relevant for Chromebooks despite
being a mobile app.
Also fixes calc text input problem, now theres no need to
double tap on a cell to write.
Change-Id: I674a3d553e130c34211c04ad0ebcb6401b462412
Signed-off-by: mert <mert.tumer@collabora.com>
We don't need to broadcast for all users since
when there is a change, invalidation is sent for update
to each user. This causes a re-render for all the users
unnecessarily.
Change-Id: I071573bf0c85d16b36aeb94398cc6a5c2fcbd8ca
Signed-off-by: mert <mert.tumer@collabora.com>
Otherwise, there is no way to know which connection
a given log belongs to, when websrv_poll handles
multiple simultaneous connections.
Also removed a duplicate log entry.
Change-Id: Id74e6e7b66062daf15a716b9fea8e7995fd75af0
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
For some reason, assertions do not work properly
in afterEach hook after a test failure. So in case
of test failure we don't check the admin page,
whether the test file was actually closed, but we
just wait a constant time.
Change-Id: If2eb927b0383816639689ec67eef7e3cd1142366
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
To reuse as much code as we can. We can use the same
method on mobile and on desktop.
Change-Id: I15b1038313145db6cb6ea07489c0d30a0fc2ce64
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>