Commit graph

17662 commits

Author SHA1 Message Date
andreas kainz
dcda645ccd Mobile checkbox and radio button use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I143bbff321917aad2a55085e7618653a83b385c2
2022-03-08 08:33:48 +01:00
andreas kainz
a188f4940a Mobile Treeview use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ia095548197210cf5165466a86f17b95e83139199
2022-03-08 08:33:48 +01:00
andreas kainz
b856cf9a45 Mobile Spreadsheet Tabs use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I14776bca3619e670b347717b0af5494ac5ff008a
2022-03-08 08:33:48 +01:00
andreas kainz
4c12f8e878 Mobile Sidebar checkbox use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I7c34ae58822a53898c6c5c04edca92baa117cac9
2022-03-08 08:33:48 +01:00
andreas kainz
194f497fad Mobile toolbar-down checked use var color
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iea1b5b5489861d1dff26beac3b279662de983119
2022-03-08 08:33:48 +01:00
andreas kainz
b1f9764969 Mobile Sidebar unobutton.selected use var color
use the same var colors than for the desktop

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ib95728312d00d1244859ccebbd635b8e9b5833d6
2022-03-08 08:33:48 +01:00
andreas kainz
4fcb0f6ef9 Mobile Spinfield use var colors
Spinfield use var color same as for the desktop

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ib9bc804f3bb31ff7d036979eb74db881dd8748dd
2022-03-08 08:33:48 +01:00
andreas kainz
8d350b2845 Mobile Search use var colors and is vertical aligned
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I1e68d1d874b1d23820665abc1cadc76403092cad
2022-03-08 08:33:48 +01:00
andreas kainz
beda432906 Mobile comment and buttons use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I7174352ecb32d09331c2ad24c124941c337248a7
2022-03-08 08:33:48 +01:00
andreas kainz
360a9f7559 Mobile color-container use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ie244e5e9ff482978d54a8d0aad2053c55cf0d451
2022-03-08 08:33:48 +01:00
andreas kainz
9bf7d6d3a7 Mobile combobox-text selected use var color
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I44c8a38d38f4ec20f6531fdb22072972135274f8
2022-03-08 08:33:48 +01:00
andreas kainz
76b737210d Mobile combobox-text use var color
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ife66fc66872565eb5ca86a6986c96abc42ea3454
2022-03-08 08:33:48 +01:00
andreas kainz
aa4de2260a Mobile Sidebar Commands use var colors for popup sidebar
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ia2322cbac5650b9ed36b6966b0d0037340e44032
2022-03-08 08:33:48 +01:00
andreas kainz
601d0d82ea Mobile wizard-content use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ic5179d325b404fa2d8cb70e0ec53b3893a3ca3d6
2022-03-08 08:33:48 +01:00
andreas kainz
bce99709ec Mobile use --color-primary instead of #0b87e7
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I95a4ddadd56b7aee97e2fbb8ba349aaca1bd4ed2
2022-03-08 08:33:48 +01:00
andreas kainz
8bf7f59cc2 Mobile toolbar-hamburger-menuwizard-opened correct height
correct height for mobile toolbar hamburger menuwizard-opened

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iba219cafa297f9a903cecc0afb235c72e7b7656f
2022-03-08 08:33:48 +01:00
andreas kainz
ac50c3c88c Toolbar down use correct border color and no border-radius
toolbar-down didn't need a border-radius
border color is --color-border

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iecc4ba85c33d1a535a43d0619097cd31cbea63bb
2022-03-08 08:33:48 +01:00
andreas kainz
e15683366a Mobile Sidebar update
primary colors use color from colibre icon theme

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iaf8eddbe4b66aebd00c7c0d1598bad8cdc4db988
2022-03-08 08:33:48 +01:00
Pedro Pinto Silva
0de538cbeb Fix insert comment dialog's avatar size
Avatar images was not aligned to its parent element and looked like it
was out of that parent "circle". A box size property was getting inherit
from generic vex style sheet
	-Make sure the box size of the parent avatar image:
	.cool-annotation-img is calculated with the width of any border or
	padding added to the final rendered width, making the element wider
	than 32px.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia32c06fd6dea23feb431c2afbe9cdb591063a732
2022-03-07 14:20:24 +01:00
Szymon Kłos
774ace82e8 Check if needed anchor exist before use
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib0b92889c422da7d766b0270a6618b5fde7299ca
2022-03-07 09:26:54 +01:00
andreas kainz
587317ac96 Sidebar Chart layout
if Sidebar last-child is first-child flex-end was not the rule

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I9e7a744cf9b4d703bec33e39a30f4ab31d2160f9
2022-03-06 01:12:00 +01:00
andreas kainz
37c73d0c44 Sidebar Shadow Section fix width
define the width of the shadow sidebar section
to make the widgets right aligned.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ifd371e15f78fb62434a71367943d554c8a10a92c
2022-03-06 01:12:00 +01:00
andreas kainz
d2dbca7ec1 Sidebar Calc Number Format align widgets reduce hardcoded stuff
Align widgets to the right
add some left positioning for some widgets
and done

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I64936c644ed1bcba47c0a12f9a2df45b56abce6e
2022-03-06 01:12:00 +01:00
andreas kainz
1f9a1cb59b Sidebar Table Paragraph vertical align commands one row
with additional 2px .sidebar.jsdialog.cell width
the vertical alignment cell and paragraph commands
can stay within one row and no new table-row is needed

result no jumping UI

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ibd543d0c35778485ff07b013af52e2c6aa401457
2022-03-06 01:12:00 +01:00
andreas kainz
33b38a3b2a Sidebar Table css Fixes
Sidebar Writer Table
- first column width was defined to fix vertical alignment
- Row height / Column width widget was moved to be vertical aligned
  with indent paragraph widgets
- buttons moved up to have a similar layout than in paragraph
  spacing / indent

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I6f41b25c79650781087821473d15edac253a47ab
2022-03-06 01:12:00 +01:00
andreas kainz
c0f09ea369 Sidebar css Fixes
Paragraph Section
- add justify-content: space-between;
- remove hardcoded position: relative
- remote hardcoded margin-top

perfect horizontal and vertical alignment
for spacing and indent

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If6182bf5a4d46f9936dc260707e9ae12988fc8da
2022-03-06 01:12:00 +01:00
andreas kainz
0e5f7b531d Contextmenu add Dialog commands
the following commands will popup an dialog:
- CompressGraphic
- GraphicDialog
- InsertCaptionDialog
- FontDialog
- FontDialogForParagraph
- TableDialog

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I824e883f2ea8979edf7a752e267acf76c0e29d4b
2022-03-04 16:57:36 +01:00
Andras Timar
fd7726b6eb fix -Werror=unused-parameter
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I38ec47a4011c27674a527f69242ebf0c333db503
2022-03-04 13:07:37 +01:00
Szymon Kłos
c49d0d594f autofilter: dont scale header width
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9abe2f4711b3369e04c4dca3092ede6667cd9f16
2022-03-04 12:29:55 +01:00
Szymon Kłos
682683a14a autofilter: fix RTL spreadsheet case (lating lang)
in this case we have headers on the right so no need
to offset horizontally from left

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8beeef2e1e67804c90277046ef19a453318d2d92
2022-03-04 12:29:55 +01:00
Szymon Kłos
d5f9e622a9 autofilter: use gridwindow instead of screen offset
core is adjusted to send offset for autofilter popup
related to gridwindow (spreadsheet area) instead of
absolute screen coordinates - what helps to simplify
code.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If011451513c80902fc436116528e2e21a929b42c
2022-03-04 12:29:55 +01:00
Michael Meeks
6548759fde replay: re-connect after a timeout for various errors.
Change-Id: I06cb01a0ab826b5723e634bb03e1bca6d99c4db2
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-04 10:06:33 +00:00
Michael Meeks
42f565faf7 add $ make stress
Change-Id: I7da764b711f1a143ee67ef7a2f48fc34e3d17487
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-04 10:06:33 +00:00
Rash419
3fab3a1b52 wsd: remote-config: handle null pointer exception when JSON format is not proper
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ia3a8aa6340fde13b5d73c69b187b3333b6df88e0
2022-03-04 15:02:41 +05:30
andreas kainz
8ab19d63dc Sidebar Left Text Alignment
Header Text and Section Text are left aligned
so each String start with the same space from the left
sidebar border

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I99841388f23bdb7f7493611c96689f3455999a5a
2022-03-04 07:16:16 +01:00
andreas kainz
9e14d06443 Sidebar Global Layout update
Sidebar section header use
- header-font-size
- header-height

Sidebar section labels use
- default-font-size
- default-height

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I6011b686a5d72159b87db0f70c99d14001d73356
2022-03-04 07:16:16 +01:00
Yunusemre Şentürk
774324c2e4 android: fix typescript files dont make it to apk
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ic9788141c398600cc2fd6d69e49d557019d8cbd6
2022-03-03 16:54:26 +03:00
Michael Meeks
f91e0349d8 Admin: shutdown cleanly to avoid races during close.
Suspect cause for SEGV in:

    std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<DocumentBroker> >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<DocumentBroker> > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<DocumentBroker> > > >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    COOLWSD::closeDocument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    Admin::triggerMemoryCleanup(unsigned long)
    Admin::pollingThread()

Change-Id: Id09e4db4b21cb7a11dddb867758aded4b28ff3ec
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-03 09:04:06 +00:00
Michael Meeks
019913666d Replay: log which client a message is from / for; and improve errors.
Change-Id: Id9e7d9680a0c33d79c8f691222829406754eaf94
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-03 09:04:06 +00:00
Pedro Pinto Silva
273d29c42c AccessibilityCheckBox: Fix paragraph style
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1aabb241ca986bd8e8f81405819aa270b45dac6d
2022-03-03 09:40:19 +01:00
Michael Meeks
8c6720cb5a Unit test for &lang=es-419 style code, disliked by boost gettext.
Change-Id: I2f1c39d03d61ef2074fe6e946a79fc2f07ffd27b
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-02 16:26:36 +00:00
Pedro Pinto Silva
faeb5530ee NB: Increase text contrast for selected tab label
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8468f6deb8f4e02f38d3cfad3b0d6a72b247ffdc
2022-03-02 16:59:56 +01:00
Andras Timar
7e724aa5ab Bump package version to 21.11.2.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2726ea5155c08eabeeddde4f68b6c4a200210985
2022-03-01 22:49:00 +01:00
Szymon Kłos
bf47bf4b60 jsdialog: Accessibility check dialog fixes for Firefox
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Icd169d74dca37e7e3b04bc7283f50d27cf9d4252
2022-03-01 20:32:15 +01:00
Szymon Kłos
57d997955b jsdialog: Accessibility check dialog fixes
- update pos on invalidate
- implement scrollwindow

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic1b133a8657abce1957a31e7c80c29ca7bf40976
2022-03-01 20:32:15 +01:00
Andras Timar
c71a845cd2 Updated UNO command translations (added Accessibility Check)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0e1cf8fe0539fc3ff60d9b635eb2eafbaa0fb9dd
2022-03-01 12:54:58 +01:00
Mert Tumer
e93e476503 fix copy annotations on shared-view doc causes uncaught exception
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I281fcb3a613166bc9be4b3bc09dbe0b28fdca6bc
2022-03-01 14:34:52 +03:00
Bayram Çiçek
24da346a53 update cypress_test/README
Signed-off-by: Bayram Çiçek <bayram.cicek@libreoffice.org>
Change-Id: I2c03535d5f27cffeffc75a0f101d0280cc6e50ae
2022-03-01 10:32:49 +01:00
Pedro Pinto Silva
29264b8561 NB: stylesview: fix hover bg and shadows
Make sure gray background or any bg for that matter is used on hover
 - It shouldn't be used because each style is an image with white bg

Decrease hover status prominence so it's still visible which style is
selected

Also do not add hover status for the selected style, as clicking on it
would not change the selected style

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie66abada24a7c6491987d9052dc94bba920d5a7f
2022-03-01 10:32:35 +01:00
Dennis Francis
fdaf0fec7e calc: misaligned selection if sheet geometry changed while idle
Steps to reproduce the issue:

1. Set per_document / idle_timeout_secs to something small, like 30,
2. Open a spreadsheet with various row heights,
3. Wait until you idle out of the session,
4. Open the same file from another browser tab/window, add an empty row near the top, then close it,
5. Wait a little bit (let's say ~5s), and click into the original session, then select various cells.

-> Note how the selection is misaligned.

Root cause:

When a session becomes idle (at least for the current use-case) the
corresponding lok-view is terminated and when the js-view is resumed a
new lok view is created! In this case there is no one to one
correspondence between a js-view and lok-view. So there is no
remembering of events or replaying of events.

Fix:
Ask for sheetgeometry whenever the cool-client resumes.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If445cf28f8add46ce478e3a87e2ad8ada6cf2eb0
2022-03-01 11:00:18 +03:00