Repository: end-4/dots-hyprland

Issue #505: [Issue] ags crashes when launching any applications with launcher.
Created: 2024-05-17T07:00:07Z
I have read the Usage and the Troubleshooting pages of the wiki
I have made sure that both my config and system packages are up to date
Linux distro:


LSB Version:	n/a
Distributor ID:	Arch
Description:	Arch Linux
Release:	rolling
Codename:	n/a


The issue




ags crashes when launching any applications with launcher but not from the command line.
launch waterfox and logs from ags -r:

Click to expand
TypeError: screenCoords is undefined
Gjs-Console-Message: 14:23:25.616: [LOG] Styles loaded

(com.github.Aylur.ags:23094): Gjs-Console-WARNING **: 14:23:25.864: Error: can't assign "chromium-browser" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
ElementTile@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:26:32
default/mainBoard<.children</<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:58
default/mainBoard<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:27
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:60:33
SheetContent/sheetContents[id]<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:48
SheetContent@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:31
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:103:21
forMonitors@file:///home/cagliostro/.config/ags/config.js:29:24
Windows@file:///home/cagliostro/.config/ags/config.js:53:5
@file:///home/cagliostro/.config/ags/config.js:80:14
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

(com.github.Aylur.ags:23094): Gjs-Console-WARNING **: 14:23:26.071: Error: can't assign "chromium-browser" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
ElementTile@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:26:32
default/mainBoard<.children</<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:58
default/mainBoard<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:27
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:60:33
SheetContent/sheetContents[id]<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:48
SheetContent@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:31
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:103:21
forMonitors@file:///home/cagliostro/.config/ags/config.js:29:24
Windows@file:///home/cagliostro/.config/ags/config.js:53:5
@file:///home/cagliostro/.config/ags/config.js:80:14
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

(com.github.Aylur.ags:23094): Gjs-Console-WARNING **: 14:23:26.156: Error: can't assign "chromium-browser" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
ElementTile@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:26:32
default/mainBoard<.children</<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:58
default/mainBoard<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:27
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:60:33
SheetContent/sheetContents[id]<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:48
SheetContent@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:31
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:103:21
forMonitors@file:///home/cagliostro/.config/ags/config.js:29:24
Windows@file:///home/cagliostro/.config/ags/config.js:53:5
@file:///home/cagliostro/.config/ags/config.js:80:14
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

(com.github.Aylur.ags:23094): Gtk-WARNING **: 14:23:26.780: Attempting to add a widget with type Ags_Revealer to a container of type Ags_Box, but the widget is already inside a container of type Ags_Box, please remove the widget from its existing container first.

(com.github.Aylur.ags:23094): Gtk-WARNING **: 14:23:26.790: Attempting to add a widget with type Ags_Revealer to a container of type Ags_Box, but the widget is already inside a container of type Ags_Box, please remove the widget from its existing container first.

Gdk-Message: 14:23:49.200: Error reading events from display: broken pipe.



  
    
    

    5-17-14.mp4

Duplicate issue #526: [Issue]ags crash when launching some speciefic apps from overview
Created: 2024-05-21T15:22:39Z
I have read the Usage and the Troubleshooting pages of the wiki
I have made sure that both my config and system packages are up to date
Linux distro: nixos



The issue





Click to expand
when I use the launcher in overview to launch some app. eg. Xournalpp, Rnote. ags will crash.
If I just run from tty, ags won't crash.
xopp-Message: 17:18:40.214: TEXTDOMAINDIR = (null), Platform-specific locale dir = /nix/store/m394x0srslvwjx4kgqblkddc3dm6cq7c-xournalpp-1.2.2/share/xournalpp/../locale, chosen directory = /nix/store/m394x0srslvwjx4kgqblkddc3dm6cq7c-xournalpp-1.2.2/share/xournalpp/../locale
ALSA lib pcm.c:2737:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2737:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2737:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
xopp-Message: 17:18:40.526: Plugin "MigrateFontSizes" UI initialized
Gdk-Message: 17:18:40.734: Error reading events from display: Connection reset by peer

Closing comment (2024-05-22T10:54:30Z): dupe of #505