Currently, the header entry initialization does not correctly set the
backgroundColor or hoverColor and fails silently. Fix that by grabbing a known
CSS property.
The on onMouseMove callback also incorrectly sets the previous entry to
the resulting entry before using it within a comparison. This causes the
branch to never be taken.
Fixes#10
Change-Id: I801fd3e6b6759b0ab66a99d68cd0ef80f1f3737e
Signed-off-by: Mazin Alhaddad <mazin@getstate.dev>
This new button is located at the "File" tab and it's only visible if
the enable wasm node is set to true in the coolwsd.xml
- Add missing svg
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id9f16f50f589272848519e8a4578e965e4371035
- add bg-color for active sheet tab in Calc
- this will differentiate selcted tab with the not selcted
- add hover effect on active tab
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I1e1b4dfa868c30bbf7b3abdd6dafad88777ce19a
This allows to select several columns (or individual cells) at once,
and then double-click on the respective "border" area to resize them
automatically to their content (.uno:SetOptimalColumnWidthDirect).
Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: I8b19ecb00a6285fec90d73ca09731b4393be6981
This fixes regression introduced in
commit 86e8491707
For .eslintrc change, see: https://github.com/typescript-eslint/typescript-eslint/issues/1824
Where per_view.idle_timeout_secs and out_of_focus_timeout_secs
settings didn't have any effect.
<out_of_focus_timeout_secs desc="The maximum number of seconds before dimming and stopping updates when the browser tab is no longer in focus. Defaults to 120 seconds." type="uint" default="120">120</out_of_focus_timeout_secs>
<idle_timeout_secs desc="The maximum number of seconds before dimming and stopping updates when the user is no longer active (even if the browser is in focus). Defaults to 15 minutes." type="uint" default="900">900</idle_timeout_secs>
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iff3b1c26ec07c67fd9be0fb7264468b0be479978
As described in the comment there was problem with
userinactive command. This is now solved due to:
commit fa006fc3af
Don't make view inactive when dialog is opened
Comment was from commit 6550e713c4
annotation: calc scroll vertical to make selected comment visible
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ica947cc743292ce3610f52011396ec5f9a73593c
Steps to reproduce:
1. open empty spreadsheet
2. see error in the browser console:
Uncaught TypeError: Cannot read properties of undefined (reading 'getSectionWithName')
at Comment.isAnyEdit (CommentSection.ts:991:42)
at IdleHandler._activate (Control.IdleHandler.ts:57:89)
at NewClass._onSocketOpen (Socket.js:256:19)
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3584c63ae42e6e64b730907bbd33a7b0876da01a
In readonly mode, mouse events are sent from the browser side. I had changed it.
It may cause unexpected behaviour when it is activated for Calc. So i am taking it back.
Now readonly mode is sending one more event (readonlyclick) on click.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I8af51afe0e07164d065ad0fbbc1452b364bc2dee
Not only quotes must be escaped; JSON.stringify does it correctly.
Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: Idd7deca3cb9154eaece48ef3b197eb75d975f252
- in case we will remember in localStorage old name which is no longer
present
- also add support dor DocumentColors when it will arrive
from core
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9d4b5d91f424c8295da072836331e459d79c96d1
It will be possible to use "theme colors" then.
It requires core part: https://gerrit.libreoffice.org/c/core/+/161771
sc: announce theme colors with lok callback
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I74552027f57086910358e589ff3130655a236c53
The JS code does the same at
browser/src/layer/tile/CanvasTileLayer.js:3074.
In preparation of picking core.git
51d8a2ef54751403fa707816e27ddb4e7faa8231 (cool#7492 sfx2 lok: fix bad
view id / statusbar string on async binding update, 2024-01-08) to
core.git co-23.05: this online.git commit should go in first to avoid
breakage.
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I652e5c738b7e137970a820de2d71f9c03ba6df7e
Once core emits JSON format for the LOK_CALLBACK_STATE_CHANGED callback
for the .uno:RowColSelCount uno command, select 2 cells in Calc ->
status bar is updated correctly, now select a single cell again in Calc
-> status bar is not updated. We want to emit JSON format for more uno
commands in the future, for example that is meant to allow testing the
fix for the statusbar part of
<https://github.com/CollaboraOnline/online/issues/7492>.
CanvasTileLayer's _onStateChangedMsg handles a mix of plain text and
json payloads, and the plain text case already allows an empty payload,
while the JSON one does not.
Fix the problem by assuming the intention in commit
403fe10c9d (jsdialog: handle graphic items
updates, 2019-11-28) was to make sure the json key is not missing, not
to block empty string values for the 'state' key.
Once this is in, core.git can emit JSON for .uno:RowColSelCount, can say
which locale was used to generate the payload and we can assert the
correct language in a test.
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I145a552e88fdc869a151a0bd07e8b42474ffd6b8
Also better explain that we dump sessions twice.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Iec3ad5b9f78f0572d43cfba1191bcec3584c0092
These tend to be sent at small increments of time, so have some
hysteresis to aggregate drops. Stalled JS such as in a debugger
or a client not responding can cause this for quite some tiles.
Change-Id: Ia807d4ba0ac26a95cad435cba9ed191f22706041
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Download does not mean much in mobile app context.
It's an offline tool. We can save (or export) the
document in a different file format.
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7b5cd8cd49258803c21bd21ff087008fe715c613
Currently translated at 100.0% (467 of 467 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (554 of 554 strings)
Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I19dd29ea5c45d9658d9bd9775b1b64706d94f1f4
Currently translated at 100.0% (467 of 467 strings)
Translated using Weblate (Slovenian)
Currently translated at 100.0% (554 of 554 strings)
Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0d687f46e979aa49ebf7fc0ccf8b50f97305e5c4
Currently translated at 99.1% (463 of 467 strings)
Translated using Weblate (German)
Currently translated at 99.2% (550 of 554 strings)
Translated using Weblate (German)
Currently translated at 98.5% (460 of 467 strings)
Translated using Weblate (German)
Currently translated at 98.0% (458 of 467 strings)
Translated using Weblate (German)
Currently translated at 97.8% (457 of 467 strings)
Translated using Weblate (German)
Currently translated at 93.3% (436 of 467 strings)
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I828e5ef8e9ac572c696970c42eec333c16a87092
Currently translated at 100.0% (467 of 467 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (467 of 467 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (554 of 554 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (110 of 110 strings)
Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4caa22b84638934e6f8474cbdad5ecd9e5ffc51e
Currently translated at 100.0% (467 of 467 strings)
Translated using Weblate (Polish)
Currently translated at 81.1% (379 of 467 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (554 of 554 strings)
Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic5af4a7980c51e36c6b5b5af9e1eaf173f23d09d
- when migrating document from one server to another using indirection
server tiles were not getting updated
- _resetClientVisArea should be called even if there are no changes to
the client because the server needs new data even if the client is
unmodified.
- changing wireId and invalidFrom values to 0, 0 to force a keyframe
b1f0834ac4/browser/src/layer/tile/CanvasTileLayer.js (L7266)
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I9aa0b34c3b1f157f3e4494568802588e00376d7e
If user opened any dialog and we got blur event on
map - it was doing the view inactive by sending
userinactive message to the server and ignoring any
meesages we tried to send. Because of that it was
impossible to test in cypress dropdown dismiss by
click outside popup (due to losing focus from map).
This is regression from rework:
commit 86e8491707
For .eslintrc change, see: https://github.com/typescript-eslint/typescript-eslint/issues/1824
where we changed:
- if (!this._active || isAnyVexDialogActive()) {
+ if (!this._active || isAnyVexDialogActive() || this.map.jsdialog.hasDialogOpened()) {
Make more precise condition so we check if the dialog is a dim one.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic200bd3f0327e4c43d80fb8cf7c2fbd176485b82