Commit graph

14333 commits

Author SHA1 Message Date
Szymon Kłos
b50f5fae25 notebookbar: show hamburger menu on tablets
when notebookbar is created on tablets the app is
in the readonly mode. In that case only menus which
are marked as allowed are created, so we need to add
hamburger menu to the list

Change-Id: Ib6d5160408913a660d3fc903b0bad18c829d0818
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-16 10:41:36 +01:00
Szymon Kłos
5945b2d396 Hide Macro Selector dialgo from menu if disabled
Change-Id: I35d521341032ca23a13e8d6795d168ac32c9ec43
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-16 10:41:36 +01:00
Szymon Kłos
8554aa8ece Show macro dialog in all mobile apps
and use standard uno: label not custom action

Change-Id: Icc06a9f2fc90aae62f256042616f505e0b46593d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-16 10:41:36 +01:00
Tamás Zolnai
2e47fa2e1e cypress: extract resetZoomLevel() helper method.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I3eed9e51460d39c4e12bf838077239488724e337
2021-03-15 19:34:51 +01:00
Gökay Şatır
56d14d1c49 Calc: Improve "cell cursor jump"-Online part.
Cell cursor shouldn't jump to end when whole row or column selected.
"undo delete row" and "undo delete column"  actions shouldn't cause cell cursor to jump to the end.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I51f077c5b3fdd5c7a610631f1e0259775278ab53
2021-03-15 18:32:22 +03:00
Michael Meeks
479447637b Optimize for overlayfs by forcing an initial copy to linkable/
built-in hard-link support performs extremely badly otherwise.

Change-Id: I26d5080590538cb6342d64e2e0a4023bbc84c427
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-03-15 15:47:34 +02:00
Pedro Pinto Silva
7986780d96 Mobile: Edit btn: show only if no initial dialog is present
in sequence of PR #1660

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I542c9092f88196c9e59d675ff71a7f44dfb8f67a
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
5227e91c15 Mobile: Calc: Hamburger Menu: Add Run Macro
- Add Entry
- Add icon

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If7de2b95fa5a2cd00e8b0873d00ff2eb73fcba1a
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
8dde3daf02 loleaflet: Mobile: AlertDialog: Ensure normal font-weight
- to avoid having the link in bold on smartphones

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If2363f36af43ed1e19daad35c13ba395f4b55e92
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
608326b61e MacroSelectorDialog: Style Description
- Align description group with the Macro name group
  as it's related to that
- Ensure paragraph is set with the right capitalization

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I25d4a1f811225f6efd46bfa0733635fa4544281f
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
e61a2bf7bd loleaflet: iPad: insert comment: Fix textarea static Width
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I440d113e54376ceed17a929e850763d9ae2e38be
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
81986c2c46 loleaflet: jsdialogs: decrease macrowarn dialog's size
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic1ec28da67b53c180f767427807bebf3baac41e0
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
255029e449 loleaflet: jsdialogs: Fix button-box-right
- apply to all

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ife68044107b5918ec169baf3861e3a6ff75aaa35
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
af3dcdadf0 Jsdialog: textarea: add max width
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If54e91eadb54193e2d938ae1ffae9a43dd2b3d28
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
6bec466c0e loleaflet: AlertDialog: Style link
- wrap it in element
- reduce size (it's not a title)
- add URL icon/tag at the beginning so to avoiding scaring user when opening long links

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5c4bbec29d05ed49d034c4f11f740b5327c05d26
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
41d8f2d6a6 MacroSelectorDialog: Categories should expand from the top
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I27d73b56d7f62f7e93fe4d365219276ea710b477
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
d381de457f Macros dialogs: do not capitalize text
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iff98f6f0fb2214d4ad764850e89f6f753fde161c
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
ce9e910eae MacroSelectorDialog: treeview-entry hover: ...
- avoid too long background
- add effect on hover with triangle

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I267427e77ab964ece22670b8a5db22ee190c6691
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
c1c5e04e1f Jsdialogs: unifying expanders
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia155566f9c297fc8c6c400e7d94d4a472def53c6
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
37e49b1dc9 MacroSelectorDialog: initial layout and style...
- avoid changing width of each frame every time the selection changes
- fix spacing and padding
- Categories: selection will never be full width so
  - do not pretend it is a selection and instead
  - make it look like a side navigation to the final content (on the right)
- More fixes
  - Do not open dialog with minuscule height force static size on the content side (right)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id799ea9cddf8c3b3c61f5cd9167cb44983f6ba0f
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
bdba3ee157 loleaflet: refactor jsdialogs.css add macro section
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I57fb8864968a06e3e769bfd62df774673aa53ac2
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
6598a9c8ae Make table markers clickable on desktop
- Currently the markers are not touchable on ipad (both via web and app) so
- Revert back listener change introduce in ebaca16c4f

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia2ff20ed4ddf810c50b11c49600709489f07785f
2021-03-15 13:56:00 +01:00
Pedro Pinto Silva
01c0fbd573 Sidebar: panelContainer is being set without height #1322
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2c6421b34cd6c2345981008dd1bbee494bc13ca2
2021-03-15 13:56:00 +01:00
Szymon Kłos
f7c79a13df notebookbar: clean tabs in wirter
Change-Id: I3a2c31524852f4dbfed715932c0f1237956942dc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
4773549dfc notebookbar: clean tabs in calc
Change-Id: Ic4a2ba7cfd84a612b027937f0f47d19a26efbffd
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
7a5d8b7441 notebookbar: clean tabs in impress
Change-Id: I53e3f82923381257e540b0f23e744d97bb5d9115
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
f34dac6b70 notebookbar: add missing items in impress
Change-Id: I72bac1a01fef85d99edd2970bfc8d3394a850578
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
37a8f5fb5d notebookbar: clean format tab in impress
Change-Id: I7e3d93aa39171607f01aa45158c706237a9cd82e
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
10df7e45a6 notebookbar: add missing items in data tab
Change-Id: Ia527b75bdcc91f637fd72aa3c29250ae2698cda7
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
a64d650702 notebookbar: clean data tab
Change-Id: I77cdf89f16657c1bbb8039985184562319ecd6c3
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
463c15c63c notebookbar: add missing format tab in calc
Change-Id: Iecdf243486756f8e831805076714f9653c9bcb92
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
f40d531bf8 notebookbar: add missing items in format tab
Change-Id: I2c14a530818acfd17916499ce62527587298f5c4
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
c9a6016153 notebookbar: clean insert tab
Change-Id: I2962b3be55145c19dad678271f07f28c3de3a165
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
082240a107 notebookbar: clean format tab
Change-Id: I0eeab88ed0fc0518c18522c33e00ff8750c50949
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
2d99853d7c notebookbar: add .uno:ShowResolvedAnnotations
and fix it's state not in sync after inserting comment

Change-Id: I6cb63e55a1bea569fc043cbe20b5221d6e510fff
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
62ff9daf41 notebookbar: clean Review tab
Change-Id: I8f8605af3a976636fa74d3933021a3f0dba87d22
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 11:24:02 +01:00
Szymon Kłos
041163e917 mobilewizard: show frame contant directly if 1 child
Useful for macro selector dialog where we had to open
many menus while working with dialog.

Change-Id: I7dd710196d79617ff2441cc975f8d83b8dea5835
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 09:19:27 +01:00
Szymon Kłos
168871e579 mobilewizard: hide cancel and help buttons
Change-Id: I6d9d42f5f31f19b6a0cd00803cc350fcac32d505
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 09:19:27 +01:00
Szymon Kłos
c9c7e90e33 mobilewizard: show all elements from previous level
When going back to the root level show not only headers.

Change-Id: I86d91f03b6f9aaa1ce14fb9ccbb567a62fb4fb15
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 09:19:27 +01:00
Szymon Kłos
34aed8e94c notebookbar: don't switch if context is the same
avoid unwanted switch to home tab

Change-Id: Ie58ac122233a638d3b7743f4e4de433d960b7e1d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 09:19:27 +01:00
Szymon Kłos
2a8e4e5f99 notebookbar: alignment fixes
Change-Id: If7f775806720af6e3221f4b90d32b4386c58beb2
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 09:19:27 +01:00
Szymon Kłos
d81758206d notebookbar: keep insert annotation in insert tab
Change-Id: I03415aaafabc626204583ffd5cddd76998a41ef4
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 09:19:27 +01:00
Szymon Kłos
5c6481d86d styles preview: use flex layout
with inline-block with many styles there were
empty spaces

Change-Id: I5752b26694b630e871b26a1fd7044db58808ccfe
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-15 09:19:27 +01:00
Andras Timar
dd9d93de49 typo fix
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7c6f869be1de3b584b89999b9dc5f6085594b7f4
2021-03-14 17:54:16 +01:00
Ashod Nakashian
293d1c0a2a wsd: detect misuse of SocketPoll::startThread
There are scenarios where startThread is
called either when the thread is already
running or when it has long since finished.

Logs are added to catch them, and better
document the expected behavior in those
cases (they shouldn't happen).

Change-Id: I219a59b92c943445ec4520667a8ed6d9bd1c328d
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-13 19:34:02 -05:00
Ashod Nakashian
1d09484eb8 wsd: check before doing unnecessary work
Change-Id: I4afb812346e3cef4fe9d7d6c39ee72817df067aa
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-13 19:34:02 -05:00
Ashod Nakashian
0e73346d5e wsd: read -> wrote
Change-Id: I1a02b42931a1ab2202233918d542be7c2ccb9225
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-13 19:34:02 -05:00
Ashod Nakashian
9ce552b5a5 wsd: better logging
Change-Id: I9c6bfcc22b1d80a27a4b4fa7229766d95fc62f9a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-13 19:34:02 -05:00
Ashod Nakashian
e6fe7c0bd0 wsd: improved thread ownership management and logging
Change-Id: I00a7dc303a873cc249ec56db0611d104557bbf45
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-13 19:34:02 -05:00
Ashod Nakashian
8fd593c076 wsd: do more outside mutex and std::move
Change-Id: I994cc62ffee41b9d8d86748b25e27a473b124599
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-13 19:34:02 -05:00