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.1k stars 201 forks source link

[Issue] random critical ags error #523

Closed l4v3nx closed 1 month ago

l4v3nx commented 1 month ago

reproducible by hitting Escape when cheatsheet window is opened

(com.github.Aylur.ags:175212): Gjs-Console-CRITICAL **: 18:56:17.764: Error: There is no window named click2close0
getWindow@resource:///com/github/Aylur/ags/app.js:140:27
closeWindow@resource:///com/github/Aylur/ags/app.js:125:24
globalThis.closeEverything@file:///home/old4ever/.config/ags/variables.js:50:13
default/setup/<@file:///home/old4ever/.config/ags/modules/.widgethacks/popupwindow.js:21:46
keybind/<@resource:///com/github/Aylur/ags/widgets/widget.js:81:24
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

Originally posted by @l4v3nx in https://github.com/end-4/dots-hyprland/issues/519#issuecomment-2120757533

end-4 commented 1 month ago

update the config i've already removed every instance of click2close

l4v3nx commented 1 month ago

update the config i've already removed every instance of click2close

I did clean install (removing ags files from .cache, .config and .local/state and reinstalling with install.sh script) several times. maybe I'm too dumb, I'll try again later

l4v3nx commented 1 month ago

error does reference here https://github.com/end-4/dots-hyprland/blob/5337260a462470376c54cca54b92ae9910b0476e/.config/ags/variables.js#L50

i've already removed every instance of click2close

I think this error is somehow related to c5b159d, because you didn't remove this function from variables

end-4 commented 1 month ago

aaaaaaaaaaaaaaaaaaaaaaaaaaaaa

me when uncommited changes