This was affecting spreadsheet, presentation and drawing doc type
Make sure the alignment container does not contain too many
elements in one row.
- 1st normal alignment properties; 2nd left-to-right/left icons
- and then ensure the last parent goes into a new row
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iaa9f1fa12f577d5ae9dddb0597f060dd7f4019ae
This will speed up docker build if only something in start-collabora-online.sh has changed.
Signed-off-by: Erik Habicht <erik.habicht@gmail.com>
Change-Id: Iaa9566f6793b47877901522f1f0e7cb2acc530b6
If the last session is readonly on a document that
is already locked by a edit the file stays locked.
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ia48e73fffd7962da2e18acfa0f1259d237c72fa8
The status for unsaved documents was lacking contrast and was solely
relying on color which can be a problem for some people (deuteranopia).
Improve this by:
- Increasing color contrast
- Adjusting hue rotation and make sure it only affects img elements
- Adding visual element (red dot) as an extra visual difference between
saved/unsaved status
- Use shadow to increase legibility between one and the other
- Instead of adding .savemodified class to img add it to its parent
(#save.unotoolbutton)
- So we can style more stuff (including the new ::after element)
without extra work
- So we can simplify all the rules for the 3 apps (unsaved status) to
one simple one
- Bonus: we are then sure everything is consistent on that front
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I557a8cd9a5207d44ed3d380f96644f4ec1e99f6f
When issuing tile render requests proactively (upon
getting invalidatetile event), if the registered
request has no subscriber, TileCache::saveTileAndNotify
simply drops the tiles!
New call sequence:
ClientSession::handleTileInvalidation
docBroker->handleTileCombinedRequest
tileCache().subscribeToTileRendering //< fix
The end result was that we rendered tiles only
to discard them, potentially leaving the clients with
stale tiles (unless they requested new tiles themselves).
If they do request them, we still benefit from the cached
copies of the internal requests we had issued (and dropped).
The issue is that we are wasting an opportunity for efficiency
and relying on the client to request tiles when we normally
push on invalidation, adding latency and being inconsistent.
Change-Id: I4d3aa3739c5324ffca15c80b20dce29ac03eef73
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* remove old, unused code
* String.locale respects the language requested by the integration
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I799856bdd721427e7d58be0a8fcddba866b726ea
On webkit based browsers spinfield controls (up an down) are hidden by
default and only appear on hover on top of that they look a bit wonky
(too small and not well positioned)
This improves that by sill using the same web native control while
styling those pseudo (vendor) classes. Extras:
- Mouse cursor change
- Different opacity values (so we retaining that visual difference
between hover and normal state)
- Increase size of those arrows
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I07aacfc387cbf42efec1d302094bbfdfae4da4ed
- setup standard responses for buttons in mobile-wizard
- by default hide close or cancel buttons in mobile-wizard
because it can be closed using 'v' button or by tap on document
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I38cfbbec1cba0c76d1adfd98c43e8d0c572d3735
Otherwise, the Integrator will not receive the document
disconnection on client side.
Change-Id: I2280d90df7b915838462f119e962b0420b5cf41f
Signed-off-by: Henry Castro <hcastro@collabora.com>
The title of the selected tab is not crisp.
- Do not use colorful text shadows since it does not help with contrast
and in turn makes it blurry
- Instead use gray just as a way to
increase contrast and visually make it look like it's semi-bold (since
that font doesn't have anything in the middle between normal and 700)
- Also help user understand which tab is selected by increase the
contrast between the selected tab (rectangle) and the background via
box shadow
Resolves issue #3609
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4140a789df6418fed3484d96625bbbe3a99ab98f
- Allow for dynamic resizing (flex box)
- Set sub elements with id so we can use less background images
in the main parent element and use it directly in its own element
- Also make integrator logo optional and easy to switch on/off via
flex-grow: 1 | 0 respectively
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I837b26d77e0bfa722c6ff3d4a247a36ef8944797
if comment is a bubble with opened preview and we zoom out
so bubbles will become full comments - we need to hide old popup
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I14ce5a6a816ed28c81b855fd2e39d745a10eedb4
This means that we will no longer read loleaflet_html from old config files, which is
a good thing in 99.9% of the cases, because it contains a wrong default: loleaflet.html
For those integrators, who used this setting, we will offer an alternative slution later.
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia82f812a5d3e522a9d33e7fcafcaa45130312d60
Rename loleaflet->cool did not make sense here. In ancient times
we had separate loolwsd and loleaflet packages. But maybe now we
can get rid of this, because probably nobody would upgrade from
COOL 1.0 to COOL 21.11.
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I48a566e8bcb47a00147d436d055617f412978cf5