Commit graph

17598 commits

Author SHA1 Message Date
Alexandru Vlăduţu
dc0b02da4c browser: add option for grouping the download as icons
Signed-off-by: Alexandru Vlăduţu <alexandru.vladutu@1and1.ro>
Change-Id: I3c8c1964879bec8c4e31a85baefb7b442ceae29f
2022-02-24 15:22:22 +01:00
Ashod Nakashian
8b0f6b30e6 wsd: test: improve test logging
Change-Id: I96adcfa091ee599bcf8fdc305801b698374e1c25
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Ashod Nakashian
6c28ddb07c wsd: exit the kit when we fail to connect to wsd
This prevents the kit from becoming a zombie
when it has an early failure to connect to WSD.

Change-Id: I4e8203b2cc3d80822308236e5b47be0c0c96e9ae
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Ashod Nakashian
15e600ed9d wsd: exit forkit when WSD dies
This may happen due to various reasons and
is most commonly observed during heavy testing.

We now detect when our parent has exited and
we exit forkit as well, since otherwise it
would be a zombie consuming resources.

Change-Id: I71de0315fe7bee419a9e7d0b564630ff75ae15eb
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Ashod Nakashian
9b9b8202f7 wsd: test: minor cleanup COOL test socket helpers
Change-Id: Ib9f297963bf319e01c603c7c64f632a5e5278328
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Ashod Nakashian
73c5bdf04e wsd: test: minor cleanup in UnitWOPILock
Change-Id: I945716d314b98af4dbb6dd123e1406e2e6f94db8
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Ashod Nakashian
b1d23473a8 gitignore: ignore fuzzer, gdb.txt and remove some duplicates
Change-Id: If7f2a9a6a4f03b2a15cc5790af3d09d89d69dbc0
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Ashod Nakashian
c9f8edc08a wsd: const correctness and minor cleanups
Change-Id: Ic3dd918e371f74ac59684f09f0b4f5bc0a7b9b0a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Ashod Nakashian
b53d353779 wsd: reduce debug and generally redundant logs
In 'debug' log-level we expect a detailed, but
still readable output. Having one area with
disproportionately large number of logs reduces
the overall utility of the log output.

This patch reduces a number of redundant log
entries, including errors that are already
logged. It also reduces the level of some
others from 'information' to 'debug' and
from 'debug' to 'trace'.

The goal is to make 'debug' level as useful as
possible to read the progress and be able to
understand what was going on, such that one is
able to decide which area to dig deeper into.
Then, trace level could be used to get more
insight into that area, if necessary. For
example, when investigating a test failure,
one first enables 'debug' logs and reads through.
Once a section between two debug entries is
identified as being of interest, enabling 'trace'
level logs becomes more productive as it's
now possible to easily reach the first DBG
entry and read through until the second one.

It's unfortunate that we don't have per-area
control for enabling/disabling logs, so it
is common to see more and more 'debug' log
entries added all around, making logs
less and less readable.

It is also a limitation of the levels we have
that we really only have 3 usable levels:
one, two, many. That is, 'information' for
the most important events, 'debug' for
technical details needed to investigate issues,
and 'trace' for everything else. ('warning'
and 'error' aren't really 'levels'; they have
semantics that makes them special-cases.)
So we have to avoid degrading one into the
other, or have differences without distinction.

If any of these entries are needed to be
displayed more frequently, changing them
back to 'debug' or even 'information' should
be done. Though for me they seem special
cases that don't benefit most log readings.

Change-Id: Id2c6a9dc027483b81a066b0b4b50a298c5eff449
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Ashod Nakashian
bef9c3ff65 wsd: dump all the state managers in DocBroker
This adds dumpState to DocumentState, SaveManager,
and StorageManager classes, and dumps all the
missing members.

Also, normalize the format and make it symmetric
and consistent.

Change-Id: Ie0cc8e07d13de60c33d64cd621abf4e815a4ef94
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Ashod Nakashian
6c1766d156 wsd: test: extend the timeout of the conflict tests
Change-Id: I4171ec923a29ee22abc4e40267949829d40fc776
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-24 07:38:13 -05:00
Pedro Pinto Silva
5ffd97b2c4 Writer: Check doc accessibility: Add missing icon
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I246df2ef7e7eac86362f9870f848692c1e81fa54
2022-02-24 12:23:51 +03:00
NickWingate
cece1ca299 Add .uno:AccessibilityCheck to appropriate locations
Signed-off-by: NickWingate <nick.wingate@collabora.com>
Change-Id: Ibc3cbe189bc2bb3efaca7f96638df649c7df1c84
2022-02-24 12:23:51 +03:00
Alexandru Vlăduţu
71056bbea7 browser: enhance postMessage for UI_Save
closes #4230

Signed-off-by: Alexandru Vlăduţu <alexandru.vladutu@1and1.ro>
Change-Id: Ibcc0a3c8bb17dc78775362bc4fd61601d186e822
2022-02-24 09:52:57 +01:00
Mert Tumer
32af31cae7 fix wrongly sized shape selection overlay
we need to add preserveAspectRatio none attribute
for shape/image selection previews

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I8611d9ac79caa86a39f9773f5e44e53fdc8a8c00
2022-02-24 11:33:22 +03:00
andreas kainz
becba924c9 font-size var instead of hardcoded numbers
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ib3879450d1114b92270f2b8c6a682b0472583c1b
2022-02-24 09:19:58 +01:00
andreas kainz
54184548de Use default-font-size var
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I30138478dc16671e7f3a1012c5e57a42642c83b5
2022-02-24 09:19:58 +01:00
andreas kainz
413e39157b Use header-height at css files
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I05821788eac3cec2a5640d14fa0391559aa24a87
2022-02-24 09:19:58 +01:00
andreas kainz
ecefec46b5 Color-Palette Vars added
the following vars were added
- header-height
- default-font-size
- color-box-shadow

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I05a081d5b27f6e9d8102002805c9194062f8ea0f
2022-02-24 09:19:58 +01:00
andreas kainz
f16767e892 Use Var Colors
Inserttable-grid var update

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Idd2ac12161d79b7cf6b440477ac692537d6e7d4e
2022-02-23 20:13:54 +01:00
andreas kainz
6805084b01 Sidebar Impress widget right align as everywhere else
In all apps the sidebar widgets are justified: flex-end
only in impress the rule wasn't selected. But than the
alignment didn't work in impress.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I5f44496bb570f64a0b21d14fb4493665dbd31d07
2022-02-23 18:31:06 +01:00
andreas kainz
d658d77eea Sidebar: hide separator and margin for frame-label
separators are nice, but didn't bring that much  for visual separation.
it's more visual noise than help for separation

compare to separators margins are a good idea for separation
so the frame-label get an margin which make also the label
layout better.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I402591327e6cdd5328bd95e5e2c342a56b66471d
2022-02-23 15:12:03 +01:00
Rash419
820d135329 cypress: fix: mobile/writer/shape_properties_spec.js failure
changed defaultStartPoint

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I5a6947d233b7fb95052722a921becbd162c6a6ae
2022-02-23 16:46:03 +05:30
andreas kainz
6bbda3ebb3 spinfield and dropdown widget use the same width
spinfield and dropdown widget have the same width
(when possible) so there is no jumping widget alignment

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I0148295285a4174464de5ccea6bfa11a387de9a6
2022-02-23 09:29:22 +01:00
andreas kainz
0351f3a28f Sidebar Edit Chart button use default height, colors and size
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iec419c0c6721077d1207b54fd0133e37bac2be88
2022-02-23 08:21:58 +01:00
andreas kainz
5c5300c9a5 color-palette UI elements update
- color-main-background LibO document background was used
- color-main-backgroud was used for all elements
- only select, hover and toolbar's use other background colors
- color-background-lighter is the color for toolbars
- better contrast for select stuff

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I1e8be68aa1f6e73fb03994dac0ad634725e2aef0
2022-02-22 23:12:37 +01:00
Andras Timar
a6013a2df4 fix file locations in case of 'slow proxy'
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I260ba258186aaaa9b2eead7f3b5a1bedb748a8c7
2022-02-22 22:17:20 +01:00
andreas kainz
307b202450 Sidebar add var's to sidebar widgets
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ia6efac56feb869af0dd40619d2983585a64ca4f7
2022-02-22 21:53:46 +01:00
Pedro Pinto Silva
388b721460 Document header: remove unnecessary margin
Now that both classic and notebookbar mode have the document header
without background color and effects, we can safely remove the initial
margin that is not needed anymore

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id3f653c42d6099753bc852ac75f454698b6ffdc2
2022-02-22 16:39:02 +01:00
Marco Cecchetti
a217a6fbaa cypress test for fullscreen presentation white spaces
Google chrome doesn't render white spaces correctly

This is a set of tests for the core fix

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I7edb0490f1b56ac2c5ab2d60fa5cf25ab7946745
2022-02-22 16:25:09 +01:00
Julius Härtl
89b65d6490 Avoid fixed statusbar height
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I23d52aff0e2d66c293857f1166276fe71680867f
2022-02-22 15:03:24 +01:00
Julius Härtl
3b4e1ee698 Notebookbar: Remove ellipsis from generated uno button labels
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I987882dca70dbbb34827734e43781a33b5829fe5
2022-02-22 12:23:00 +01:00
Andras Timar
0a978edd87 docker: from-source: cool user has id 498 in latest opensuse/leap
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie730b609e3bcccfa3ff6ddb2f949353846f7eec9
2022-02-22 10:57:21 +01:00
Andras Timar
01903149b0 docker: from-source: use the new distro/collabora/co-22.05 core branch
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I72c2d51e6d3984e822b0e050f4d78513d792065f
2022-02-22 10:57:21 +01:00
Andras Timar
96e3c161c3 docker: from-source: use latest POCO 1.11.1 release
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I492b6231e4e290523638e60549447fb9877a2bba
2022-02-22 10:57:21 +01:00
Henry Castro
6e75c87f49 feedback: add the lokit hash parameter
Change-Id: I3fde226c5f970715c26a46ba91c5fe72ed1a0aa6
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-02-22 12:49:31 +03:00
Thomas Citharel
f241a1c7da Fix app.sectionContainer being null
Similar to 4764937

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Change-Id: Ie63a999b07c33a89982f0fa107fe0bf8e8291037
2022-02-22 10:27:12 +01:00
Julius Härtl
9db07c5746 Add ui mode to body for easier styling rules
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I831d4cfadaa97d06c0f922d8d761e7d308962d6f
2022-02-22 10:16:56 +01:00
andreas kainz
2163252163 CSS Var: sidebar-unotoolbutton.select use --color-border-dark
same than for the classic toolbar
hover use the correct border color and no outline needed

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I11859150009603afa93876496509d40f6d88b117
2022-02-22 09:58:45 +01:00
andreas kainz
d3fb7b34b9 Toolbar padding similar to menubar padding
menubar padding: 3px 3px 3px 0;
so toolbar padding: 3px 0; similar to what menubar use
harmonize padding. Fit's also well when menubar was shrinked.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iaced9d5a647267139eca26daa4793e83732f969e
2022-02-22 09:58:45 +01:00
andreas kainz
3184c18d38 CSS Var: macro dialog update
Fix padding
Fix text-height
Fix colors for select and hover

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I42a991dd6c00a222151d7bae16da7682743cdc76
2022-02-22 09:58:26 +01:00
andreas kainz
51f89bb36b CSS Var: Spinfield use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ibdefe023609285060ec055453186613e97a93dd6
2022-02-22 09:58:00 +01:00
andreas kainz
7ba6f8275e CSS Var: Search field background
search-input use --color-background-lighter color

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I4dfaabb9771ac4a128e5bab0ffeed5d99c9b0087
2022-02-22 09:58:00 +01:00
Pedro Pinto Silva
48cfdbb46c NB: Smartmenus: disable parent menu specific styles
Make sure we do not add additional uncesseray styles for those
smartmenus that are converted into unobutton (NB dropdowns),
example LanguageMenu.

Do not inherit from styles from SmartMenus (for the first top anchor)
- hover styles (already have those from nb styles)
- borders
- Font size or font family
- line-height (that would also result in misalignments)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7bb3a7cf588c60677fd7a6899c74fbdab8000779
2022-02-22 09:41:32 +01:00
Pedro Pinto Silva
5783a47f32 NB: Smartmenus: Do not set z-index
Make sure the default position (relative) and z-index (9999) are not set
for new Language dropdown (unotoolbutton), otherwise it will always be
on top of everything

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1ea3ba4d521a5caffb499473554fc4e5cfd336b8
2022-02-22 09:41:32 +01:00
Szymon Kłos
1a3d723383 NB LanguageMenu fix overflow problem
it fixes not visible submenu

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I35d70e4d9a82540d6d6b8a91b9f27726a6058fe3
2022-02-22 09:41:32 +01:00
Szymon Kłos
36e54bf6b4 Remove leftovers after LanguageMenu
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I2bc96308024717eea8154735b5cab5a0d2b1f17f
2022-02-22 09:41:32 +01:00
Szymon Kłos
7d18d185a0 NB fill LanguageMenu list
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I97f06a9cb6e2b5a7f4302fb1b35fb84005ddeed2
2022-02-22 09:41:32 +01:00
andreas kainz
5f2d72a300 NB add LanguageMenu to Review Tab
The LanguageMenu from the Hamburger Menu was
now added also the Review Tab.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I927ec425c0e63ca4fe420369439eb96c80b41bb8
2022-02-22 09:41:32 +01:00
andreas kainz
12ecdd5016 NB Shortcuts-bar vertical center align
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ie98cbdcb643a8cbbd95e3ffa3f9512849dd83be1
2022-02-22 07:13:47 +01:00