JS ERROR: Error capturing screenshot: Error: Unable to construct struct type BookmarkFile since it has no default constructor and cannot be allocated directly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
- run daily-live 20230322
- right click a window title bar and select "take screenshot" or hit Alt+PrintScreen
- observe journal
The screenshot does appear on the disk but there's no notification which might be related.
```
Mar 22 16:34:21 ubuntu gnome-shell[1752]: JS ERROR: Error capturing screenshot: Error: Unable to construct struct type BookmarkFile since it has no default constructor and cannot be allocated directly
```
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: gnome-shell 44.0-2ubuntu1
ProcVersionSign
Uname: Linux 6.1.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.480
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 22 16:34:42 2023
DisplayManager: gdm3
GsettingsChanges:
b'org.gnome.shell' b'disabled-
b'org.gnome.shell' b'enabled-
b'org.gnome.shell' b'welcome-
b'org.
b'org.
LiveMediaBuild: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230322)
ProcEnviron:
LANG=C.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- JS ERROR: Error capturing screenshot + JS ERROR: Error capturing screenshot: Error: Unable to construct struct + type BookmarkFile since it has no default constructor and cannot be + allocated directly |
This is a new dependency introduced in gnome-shell 44. Why it is failing I don't know, because GBookmarkFile has existed (with a default constructor) since 2006.