cinnyapp / cinny-desktop

Yet another matrix client for desktop
GNU Affero General Public License v3.0
415 stars 49 forks source link

"C.close is not a function": Window goes blank #252

Open xobs opened 11 months ago

xobs commented 11 months ago

Describe the bug

I was switching to the Matrix HQ chat, when the window suddenly went blank. I'm supposed to insert a screenshot, so here's what I get when I right-click and say "Web capture":

image

If I right-click I can open the Inspector, and it says "C.close is not a function":

index-eaa22fd4.js:57071  Uncaught (in promise) TypeError: C.close is not a function
    at index-eaa22fd4.js:57071:23881
    at Array.forEach (<anonymous>)
    at RrA._deletePopupRoomNotis (index-eaa22fd4.js:57071:23829)
    at index-eaa22fd4.js:57071:25894
    at Array.forEach (<anonymous>)
    at index-eaa22fd4.js:57071:25776
    at Array.forEach (<anonymous>)
    at uA.<anonymous> (index-eaa22fd4.js:57071:25743)
    at uI.emit (index-eaa22fd4.js:45:101631)
    at uA.emit (index-eaa22fd4.js:57:23430)

...followed by "Maximum call stack size exceeded":


index-eaa22fd4.js:39  RangeError: Maximum call stack size exceeded
    at qk (index-eaa22fd4.js:57147:153758)
    at qk (index-eaa22fd4.js:57147:153812)
    at qk (index-eaa22fd4.js:57147:153812)
    at qk (index-eaa22fd4.js:57147:153812)
    at qk (index-eaa22fd4.js:57147:153812)
    at qk (index-eaa22fd4.js:57147:153812)
    at qk (index-eaa22fd4.js:57147:153812)
    at qk (index-eaa22fd4.js:57147:153812)
    at qk (index-eaa22fd4.js:57147:153812)
    at qk (index-eaa22fd4.js:57147:153812)
CG @ index-eaa22fd4.js:39

Reproduction

  1. Switch to the "Matrix HQ" chat room

This is how I first encountered the issue. I cannot reproduce the issue now, however this is what triggered it.

Expected behavior

The window shouldn't suddenly go blank.

Platform and versions

1. OS: Windows 11
2. Cinny version: 3.2.0
3. Matrix homeserver: matrix.org
4. Downloaded from: Github

Additional context

Here's the log from the console: tauri.localhost-1702274717763.log

After quitting and restarting Cinny it came back to life, so I'm reporting "C.close is not a function" here as best I can.