It used to be that scrolling in dark mode would show a white color while
the tiles were loading - now shows the document background color.
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: Id4c3881e728ae18496bf276e8c565a7abc1de7b5
PDF export was avaliable only with a modal "pdf options" window.
It seems a little complicated for some users who'd like to
simply press the button and receive pdf.
Added a new menu item to download pdf directly.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Signed-off-by: luigiiucci <luigi.iucci@collabora.com>
Change-Id: Id824179adeac3b516e58c85a9e2d01838f81c892
The new label added in a13f33b777b0ecc85752f832cd475736206f241e might
be a bit confusing and not necessary if the edit button (pencil) is
already present.
Better to:
* Have only the edit button (that should already be enough to signify
that the user is currently in a read-only transient mode)
* Add Read-only label for the cases were the user is opening a
read-only file (without permission to edit and thus the edit button is
absent)
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1fc5ca821bfd9feb75f411d2c3260a43d54e16cd
a) The "RowHeader" Header._updateCanvas listens to "move" and redraws everything via CanvasSectionContainer.drawSections
b) the "ColHeader" Header._updateCanvas does the same
c) scrolling then causes a "viewrowcolumnheaders" to be emitted from _updateHeadersGridLines and CanvasTileLayer listens for that too and again redraws everything
pause/resume around scrolling
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ic2bc28df18a633544d26607d3024bdb4dc321ce2
The unit test fails by 1 pixel offset, add some tolerance
"'assert expected [ <tspan.TextPosition>, 1 more... ] to have attribute y with the value '7822', but the value was '7823'""
.
Change-Id: Ieb36eedf1a17aadd3ba4872e9c4f94a3b18d0a73
Signed-off-by: Henry Castro <hcastro@collabora.com>
The failing unit test it is due to a duplicate file
that was modified with new properties.
Change-Id: I02824cfeaf8c496e84dc4e285975e95e79edb9df
Signed-off-by: Henry Castro <hcastro@collabora.com>
The element '#copy-paste-container' according to the documentation
it is only to prevent flickering, so check only if has children.
Change-Id: I11ecdf156c6fee8657e5cd42c2c7daf9f206410b
Signed-off-by: Henry Castro <hcastro@collabora.com>
When text is unselected by clicking somewhere, selected text innside
the editable area was unselected, selected again, unselected again.
That was causing the screen reader to report such a nonsense sequence.
Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: Ib9d6628f7ac30fe2cd40ee7823ac67eb6471d1f2
when we open Writer -> Format -> Footnote field: Thickness
shows an alert about incorrect value. It's caused because
step is set to 1 but value is 0.5 as core uses step only for
increase/decrease but not for valudation. Fix this annoying
error by allowing to use 0.1 step.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I141194ebcd1f100ca9d3e7aeae086ddac2980da6
* reuse string from LibreOffice (and make it translatable)
* use an icon instead of button text, like in LibreOffice
* small amendments to text copied to clipboard
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic16d786fe467c1f8ff718b1f46364541bba8e6ab
in which case it fails, just use the Uint8ClampedArray view
to look back at previous input pixel after all.
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I1ee5d7480bf9a11145ca6514ef7efb7882c183cb
use a Uint32Array view when we want to look back at, or copy, a whole
pixel
and seems to be then marginally better to align the input/output views
to be able to use the same index into arrays
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Id3560cd1f40b5235d0115f82479b9091fcf798ad
github_android_online_co-23.05/net/HttpRequest.hpp:1391:63: error: no matching function for call to 'min'
<< Util::dumpHex(std::string(data.data(), std::min(data.size(), 256UL))));
^~~~~~~~
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I5b81096c696565b9e4eb4f3ca39c16bc1e5b9182
We now warn when we fail to use mknod
to create the random devices and have
stricter requirements to mounting
character-devices. Specifically,
we explicitly only allow mounting
the random devices.
Change-Id: Ib0dc300dedc40942ea52426af2b267f6a81fbeb8
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>