Chatterino / chatterino-browser-ext

26 stars 16 forks source link

Crash when attaching to browser and same chat is not in main window #48

Open c0ldplasma opened 3 years ago

c0ldplasma commented 3 years ago

Describe the bug When trying to attach a chat to browser which is not open in the main window chatterino crashes. When opening it first in the main window it works.

To reproduce Try attaching to browser on a channel which is not open in the main chatterino window.

Screenshots https://user-images.githubusercontent.com/14879514/102714504-3af91d00-42cf-11eb-9651-6eb522057009.mp4

Chatterino version Chatterino Nightly 2.2.3-beta2 (commit cfa9e59, )

Operating system Windows 10 20H2

c0ldplasma commented 3 years ago

I tried to debug the issue but it seems when building and running chatterino in Qt Creator it does not attach to the browser, only standalone builds do.

Any idea how to debug this?

ALazyMeme commented 3 years ago

If I understand this issue correctly, it only occurs when there's no channels open?

c0ldplasma commented 3 years ago

It occurs when the exact channel I try to open in browser is not already open in the main chatterino window. Regardless of whether there are other channels open or not.