Public bug reported: 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 saveRecentFile@resource:///org/gnome/shell/ui/screenshot.js:2079:27 _storeScreenshot@resource:///org/gnome/shell/ui/screenshot.js:2139:23 captureScreenshot@resource:///org/gnome/shell/ui/screenshot.js:2231:21 async*_buildMenu/item<@resource:///org/gnome/shell/ui/windowMenu.js:35:34 addAction/<@resource:///org/gnome/shell/ui/popupMenu.js:559:21 activate@resource:///org/gnome/shell/ui/popupMenu.js:197:14 vfunc_button_release_event@resource:///org/gnome/shell/ui/popupMenu.js:141:14 ``` ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: gnome-shell 44.0-2ubuntu1 ProcVersionSignature: Ubuntu 6.1.0-16.16-generic 6.1.6 Uname: Linux 6.1.0-16-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.26.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass CasperVersion: 1.480 CurrentDesktop: ubuntu:GNOME Date: Wed Mar 22 16:34:42 2023 DisplayManager: gdm3 GsettingsChanges: b'org.gnome.shell' b'disabled-extensions' b'@as []' b'org.gnome.shell' b'enabled-extensions' b"['d...@rastersoft.com']" b'org.gnome.shell' b'welcome-dialog-last-shown-version' b"'44.0'" b'org.gnome.desktop.app-folders' b'folder-children' b"['Utilities', 'YaST']" b'org.gnome.desktop.input-sources' b'sources' b"[('xkb', 'us')]" LiveMediaBuild: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230322) ProcEnviron: LANG=C.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> RelatedPackageVersions: mutter-common 44.0-1ubuntu1 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gnome-shell (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug lunar ** Description changed: Steps to reproduce: - run daily-live 20230322 - right click a window title bar and select "take screenshot" or hit Alt+PrintScreen - - notice missing notification - 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 - saveRecentFile@resource:///org/gnome/shell/ui/screenshot.js:2079:27 - _storeScreenshot@resource:///org/gnome/shell/ui/screenshot.js:2139:23 - captureScreenshot@resource:///org/gnome/shell/ui/screenshot.js:2231:21 - async*_buildMenu/item<@resource:///org/gnome/shell/ui/windowMenu.js:35:34 - addAction/<@resource:///org/gnome/shell/ui/popupMenu.js:559:21 - activate@resource:///org/gnome/shell/ui/popupMenu.js:197:14 - vfunc_button_release_event@resource:///org/gnome/shell/ui/popupMenu.js:141:14 + saveRecentFile@resource:///org/gnome/shell/ui/screenshot.js:2079:27 + _storeScreenshot@resource:///org/gnome/shell/ui/screenshot.js:2139:23 + captureScreenshot@resource:///org/gnome/shell/ui/screenshot.js:2231:21 + async*_buildMenu/item<@resource:///org/gnome/shell/ui/windowMenu.js:35:34 + addAction/<@resource:///org/gnome/shell/ui/popupMenu.js:559:21 + activate@resource:///org/gnome/shell/ui/popupMenu.js:197:14 + vfunc_button_release_event@resource:///org/gnome/shell/ui/popupMenu.js:141:14 ``` ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: gnome-shell 44.0-2ubuntu1 ProcVersionSignature: Ubuntu 6.1.0-16.16-generic 6.1.6 Uname: Linux 6.1.0-16-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.26.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass CasperVersion: 1.480 CurrentDesktop: ubuntu:GNOME Date: Wed Mar 22 16:34:42 2023 DisplayManager: gdm3 GsettingsChanges: - b'org.gnome.shell' b'disabled-extensions' b'@as []' - b'org.gnome.shell' b'enabled-extensions' b"['d...@rastersoft.com']" - b'org.gnome.shell' b'welcome-dialog-last-shown-version' b"'44.0'" - b'org.gnome.desktop.app-folders' b'folder-children' b"['Utilities', 'YaST']" - b'org.gnome.desktop.input-sources' b'sources' b"[('xkb', 'us')]" + b'org.gnome.shell' b'disabled-extensions' b'@as []' + b'org.gnome.shell' b'enabled-extensions' b"['d...@rastersoft.com']" + b'org.gnome.shell' b'welcome-dialog-last-shown-version' b"'44.0'" + b'org.gnome.desktop.app-folders' b'folder-children' b"['Utilities', 'YaST']" + b'org.gnome.desktop.input-sources' b'sources' b"[('xkb', 'us')]" LiveMediaBuild: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230322) ProcEnviron: - LANG=C.UTF-8 - PATH=(custom, no user) - SHELL=/bin/bash - TERM=xterm-256color - XDG_RUNTIME_DIR=<set> + LANG=C.UTF-8 + PATH=(custom, no user) + SHELL=/bin/bash + TERM=xterm-256color + XDG_RUNTIME_DIR=<set> RelatedPackageVersions: mutter-common 44.0-1ubuntu1 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2012534 Title: JS ERROR: Error capturing screenshot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2012534/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs