You are not logged in.

#1 2026-11-17 11:40:39

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 143

OpenBoard can't access widget files

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" openboard

It seems to an ugly hack for me, so I'd like to solve the problem a beauty way. What could I do?

Offline

#2 2026-11-18 10:40:53

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,581

Re: OpenBoard can't access widget files

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

#3 2026-11-19 07:43:10

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 143

Re: OpenBoard can't access widget files

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

#4 2026-11-19 09:49:48

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,581

Re: OpenBoard can't access widget files

Looks like something is wrong with the user files for openboard .

Please post the output of

$ /usr/bin/ls -lR ~/.local/share/OpenBoard/document

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

#5 2026-11-19 11:53:16

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 143

Re: OpenBoard can't access widget files

Oh, really want it? I use the prog since about 2017 or so, so I have around 48k lines.

Offline

#6 2026-11-19 12:50:00

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,581

Re: OpenBoard can't access widget files

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

#7 2026-11-20 11:31:48

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 143

Re: OpenBoard can't access widget files

$ 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

#8 2026-11-20 15:30:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,006

Re: OpenBoard can't access widget files

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" openboard

look like?

Offline

#9 Yesterday 16:03:46

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 143

Re: OpenBoard can't access widget files

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

#10 Yesterday 16:23:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,006

Re: OpenBoard can't access widget files

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 function

After 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

#11 Yesterday 20:48:07

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 143

Re: OpenBoard can't access widget files

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

#12 Yesterday 21:16:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,006

Re: OpenBoard can't access widget files

No, it's still the same issue.

seth wrote:

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

Board footer

Powered by FluxBB