end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.07k stars 197 forks source link

[Issue] ags crashes when launching any applications with launcher. #505

Open casglistro opened 1 month ago

casglistro commented 1 month ago

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

Click to expand ```plain 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

https://github.com/end-4/dots-hyprland/assets/95210542/bc366d0e-d740-4de5-935c-d53eba3738c2

end-4 commented 1 month ago

"Error reading events from display"

Probably a Hyprland issue. Been happening for me too (and at random, not exactly after launching an app), but idk why

xXFiEsTaDeAmOnXx commented 1 month ago

Removing exec-once = fcitx5 from the ~/.config/hypr/hyprland/execs.conf configuration file fixed the issue for me, but I was receiving a slightly different error than in the video when launching applications, which was "Error reading events from display: Broken pipe." However, please be aware that disabling fcitx5 might cause problems with input method support, particularly for non-Latin scripts and complex character input, which could affect text input functionality in some applications.