- first turn on fullscreen (has to be on user interaction)
- then start presentation when presentationinfo and content arrives
- share some code, remove unused code
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7a3f7daad31c590e653e62cfd12bef112064abe2
SlideshowPresenter is a class for presenting individual slide
bitmaps and transitioning between the slide bitmaps.
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: Ie4a23574deeb1207ce63ccd152fe7be1d9ca84a1
SlideshowPresenter is a class for presenting individual slide
bitmaps and transitioning between the slide bitmaps.
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: Ie4a23574deeb1207ce63ccd152fe7be1d9ca84a1
a) In the linux namespace mount case an additional MS_NOATIME, etc. will result in
EPERM on remounting something hosted in a toplevel [rel]atime mount. man 2 mount
has 'An attempt was made to modify (MS_REMOUNT) the MS_RDONLY, MS_NOSUID, or
MS_NOEXEC flag, or one of the "atime" flags (MS_NOATIME, MS_NODIRATIME, MS_RELATIME)
of an existing mount, but the mount is locked'.
b) lxc has default apparmor rules of
https://github.com/lxc/lxc/blob/main/config/apparmor/abstractions/container-base
where the closest match is: "mount options=(ro,remount,bind,nodev,nosuid)"
so additional 'MS_SILENT' or 'MS_REC' flags similarly also cause the remount to
be denied
So if we use a more recognized set of options we work out of the box in
the default lxc configuration.
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I5f8de2de998ae1a85fefc1c9537b79b2b3bdefec
this can be reproduced by inserting a table in writer, and then clicking
and dragging one of the "marker" indicators above the columns
wsd-308187-308314 2024-07-17 06:59:38.909586 +0000 [ websrv_poll ] ERR jserror {
"userAgent": "mozilla/5.0 (x11; linux x86_64; rv:109.0) gecko/20100101 firefox/115.0",
"vendor": "",
"message": "TypeError: this._marker.closePopup is not a function",
"source": "https://.../browser/.../bundle.js",
"line": 21863,
"column": 88
}
this._marker.closePopup is not a function
_onDragStart@https://.../browser/.../bundle.js:21863:88
possibly since:
commit 9932ad7516
AuthorDate: Tue Jul 9 18:41:52 2024 +0300
Remove unused files, variables and functions.
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I34b21713b980beba0e1123a9738c870334c10354
For Namespaces the parent uses e.g.
jails/195178-46f603be/tmp/cool-82ChWNp1XiISVSpV/
to pass files to what is normally the child's (hidden) bind mount of that as
jails/195178-46f603be/82ChWNp1XiISVSpV/tmp
If BindMounting fails and we fallback to linking, then symlink
jails/195178-46f603be/tmp/cool-82ChWNp1XiISVSpV/ to the fallback
jails/195178-46f603be/82ChWNp1XiISVSpV/tmp so the parent can still
use the path expected for Namespaces.
So we can still get the goodness of namespaces wrt capabilities even
if we have the ills of bind-mounting fail.
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I9a6f9e8db8f6edced18fe20367afc4d599a29ed2
can be used for quick check if post message api is
correctly initialized in the current session
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3b64ce738362cd1be936fe3e26a9ad381e01fdb2
in a failed BindMount the wait period to restart a failed coolforkit
is the default CHILD_TIMEOUT_MS * 4 which is 20s, while the test
default timeout is 10s
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I527aaadd802d7f8cd752ae1c4a6ed6597608f09e
- cancel "_showTimeout" before it triggers show() - if beginHide() is called
Signed-off-by: Bayram Çiçek <bayram.cicek@collabora.com>
Change-Id: I70e87ab573cf347759aa565bf24ab962efbd483f
- add 8 different position for tooltips
- bottom-right, bottom-left, top-right, top-left and their left/right aligned versions
- pick one of them which is visible and is not overflow from the window
- tooltips at the bottom and left/right aligned ones take precedence
Signed-off-by: Bayram Çiçek <bayram.cicek@collabora.com>
Change-Id: I0bdcb0980d228050962f6c77f12b64c89466257a
Send encoded JSON string instead of decoded.
This way it will not have special characters, and it will
reach the core side even with a \n or \r inside ot it.
This way we can set multi-line text to a contentControl.
Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I8b32aeef522faf7f4597405bec9bbb37b99d53cf
so we don't have multiple threads, which is problematic for
linux namespace creation.
The make check unittests use multiple threads even if the
normal coolwsd usage doesn't.
Given that, then restore the Poco log archive thread seeing as disabling
it in coolwsd isn't needed anymore.
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ife8f579076a7d76a6ec7a18ca6629c8988c700cc
Fox example font color item on the notebookbar didn't have
tooltip with the name of a button.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If3bac724f040d24fe69e97b47596a3c9f00b2241