You are not logged in.
After the 11/13 sysupgrade Openboard stopped working well. After some search I found that QtWebWEngine fails to access some files, only works when I exactly order it to turn off security check:
QTWEBENGINE_CHROMIUM_FLAGS="--allow-file-access-from-files --disable-web-security" openboardIt seems to an ugly hack for me, so I'd like to solve the problem a beauty way. What could I do?
Offline
Is this with openboard 1.7.7-8 , released on november 16 ?
If yes, which files does openboard/qt webengine have trouble accessing ?
Please start openboard from terminal and post the output.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
the output:
$ openboard
Gtk-Message: 08:40:23.503: Failed to load module "colorreload-gtk-module"
Gtk-Message: 08:40:23.503: Failed to load module "window-decorations-gtk-module"
QtWebEngine translations in "hu" are not available or could not be loaded
Failed to create Vulkan instance: -9
Failed to create platform Vulkan instance
Persisting document metadata; path is "/home/tombenko/.local/share/OpenBoard/document/OpenBoard Document 2026-11-19 08-40-24.630/metadata.rdf"
Invalid path data; path truncated.
Skipping a nested svg element, because SVG Document must not contain nested svg elements in Svg Tiny 1.2
Skipping a nested svg element, because SVG Document must not contain nested svg elements in Svg Tiny 1.2
Invalid path data; path truncated.
Invalid path data; path truncated.
Invalid path data; path truncated.
Invalid path data; path truncated.
Uncaught TypeError: MathJax.tex2svg is not a function
Uncaught ReferenceError: $ is not defined
crbug/1173575, non-JS module files deprecated.
Uncaught ReferenceError: StationClock is not defined
Uncaught ReferenceError: $ is not defined
Uncaught ReferenceError: languages is not defined
Fontconfig error: Cannot load default config file: File not found
Uncaught SecurityError: Failed to read a named property 'document' from 'Window': Blocked a frame with origin "null" from accessing a frame with origin "null". The frame requesting access has a protocol of "file", the frame being accessed has a protocol of "chrome-error". Protocols must match.
Uncaught TypeError: widget.init is not a function
Uncaught TypeError: widget.resize is not a function
Uncaught TypeError: widget.resize is not a function
Persisting document metadata; path is "/home/tombenko/.local/share/OpenBoard/document/OpenBoard Document 2026-11-19 08-40-24.630/metadata.rdf"
Release of profile requested but WebEnginePage still not deleted. Expect troubles !
Release of profile requested but WebEnginePage still not deleted. Expect troubles !Offline
Looks like something is wrong with the user files for openboard .
Please post the output of
$ /usr/bin/ls -lR ~/.local/share/OpenBoard/documentDisliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Oh, really want it? I use the prog since about 2017 or so, so I have around 48k lines.
Offline
Ok, let's look more targeted :
$ stat "~/.local/share/OpenBoard/document/OpenBoard Document 2026-11-19 08-40-24.630/metadata.rdf"
$ file "~/.local/share/OpenBoard/document/OpenBoard Document 2026-11-19 08-40-24.630/metadata.rdf"Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
$ LC_ALL=C stat ~/.local/share/OpenBoard/document/OpenBoard\ Document\ 2026-11-19\ 13-02-28.342/metadata.rdf
File: '/home/tombenko/.local/share/OpenBoard/document/OpenBoard Document 2026-11-19 13-02-28.342/metadata.rdf'
Size: 796 Blocks: 8 IO Block: 4096 regular file
Device: 0,43 Inode: 7533360 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/tombenko) Gid: ( 1000/tombenko)
Access: 2026-11-20 10:51:05.828539494 +0100
Modify: 2026-11-19 13:33:27.237805247 +0100
Change: 2026-11-19 13:33:27.237805247 +0100
Birth: 2026-11-19 13:02:28.344295397 +0100
$ LC_ALL=C file ~/.local/share/OpenBoard/document/OpenBoard\ Document\ 2026-11-19\ 13-02-28.342/metadata.rdf
/home/tombenko/.local/share/OpenBoard/document/OpenBoard Document 2026-11-19 13-02-28.342/metadata.rdf: XML 1.0 document, Unicode text, UTF-8 text
Offline
Please use [code][/code] tags.
First things first, the output in #3 is w/o "--allow-file-access-from-files --disable-web-security"?
Does it actually help to move away
1. that file
2. ~/.local/share/OpenBoard/document/OpenBoard\ Document\ 2026-11-19\ 13-02-28.342
3. ~/.local/share/OpenBoard/
to start openboard w/o running into errors?
The path looks dynamically generated (includes the current date) so I assume "no" for 1+2?
What does the output of
QTWEBENGINE_CHROMIUM_FLAGS="--allow-file-access-from-files --disable-web-security" openboardlook like?
Offline
Sorry, I forgot that... shit happens
1+2+3: neither helped, the issue remains the same
the output for the flagged command:
$ QTWEBENGINE_CHROMIUM_FLAGS="--allow-file-access-from-files --disable-web-security" openboard
Gtk-Message: 16:58:36.611: Failed to load module "colorreload-gtk-module"
Gtk-Message: 16:58:36.611: Failed to load module "window-decorations-gtk-module"
QtWebEngine translations in "hu" are not available or could not be loaded
Failed to create Vulkan instance: -9
Failed to create platform Vulkan instance
Persisting document metadata; path is "/home/tombenko/.local/share/OpenBoard/document/OpenBoard Document 2026-11-22 16-58-37.643/metadata.rdf"
Invalid path data; path truncated.
Skipping a nested svg element, because SVG Document must not contain nested svg elements in Svg Tiny 1.2
Skipping a nested svg element, because SVG Document must not contain nested svg elements in Svg Tiny 1.2
Invalid path data; path truncated.
Invalid path data; path truncated.
Invalid path data; path truncated.
Invalid path data; path truncated.
Persisting document metadata; path is "/home/tombenko/.local/share/OpenBoard/document/OpenBoard Document 2026-11-22 16-58-37.643/metadata.rdf"Offline
So the actual problem is
Uncaught TypeError: MathJax.tex2svg is not a function
Uncaught ReferenceError: $ is not defined
crbug/1173575, non-JS module files deprecated.
Uncaught ReferenceError: StationClock is not defined
Uncaught ReferenceError: $ is not defined
Uncaught ReferenceError: languages is not defined
Fontconfig error: Cannot load default config file: File not found
Uncaught SecurityError: Failed to read a named property 'document' from 'Window': Blocked a frame with origin "null" from accessing a frame with origin "null". The frame requesting access has a protocol of "file", the frame being accessed has a protocol of "chrome-error". Protocols must match.
Uncaught TypeError: widget.init is not a function
Uncaught TypeError: widget.resize is not a function
Uncaught TypeError: widget.resize is not a functionAfter the 11/13 sysupgrade
Probably saw openboard and qt6-webengine both updated?
If you roll back to 2026-11-11 (ie. latest openboard but older webengine) the problem is gone?
Do you strictly need "--disable-web-security" here?
Offline
Yes, the qt6-webengine rollback solved actually. So the problem is with the qt6-webengine package. Shall I open a new topic for this?
Offline
No, it's still the same issue.
Do you strictly need "--disable-web-security" here?
or is "--allow-file-access-from-files" alone enough?
https://github.com/OpenBoard-org/OpenBoard/issues/976 seems to fail at https://github.com/OpenBoard-org/OpenBo … x.html#L19 because file:// is no (longer) allowed to source another file://
I suspect openboard will have to fix this, though https://doc-snapshots.qt.io/qtwebengine … ibute-enum says QWebEngineSettings::LocalContentCanAccessFileUrls is enabled by default?
Maybe this has silently changed w/ the 140 update
Offline