caprine icon indicating copy to clipboard operation
caprine copied to clipboard

Window freezes after message received

Open TheRolf opened this issue 2 years ago • 43 comments

It is possible to send/receive messages for a while, then the whole window (excluding the menu bar) freezes, and it is not possible to click on anything. Pressing F5 also does not help.

TheRolf avatar Aug 18 '22 09:08 TheRolf

Which version are you using and on what OS?

lefterisgar avatar Aug 18 '22 09:08 lefterisgar

Experiencing this as well since upgrading to upstream 2.56. Fresh install and configs, on both appimage and COPR packages.

rivenirvana avatar Aug 18 '22 09:08 rivenirvana

It's very weird because we have tested Caprine on all major OSs and this issue didn't show up.

lefterisgar avatar Aug 18 '22 09:08 lefterisgar

Does it freeze after resizing?

lefterisgar avatar Aug 18 '22 09:08 lefterisgar

Sorry: Windows 10 Enterprise, and I updated to the latest (2.56.0), and that is doing it. Except the "Relaunch" and "Work chat" options, nothing in the menu does anythinghas any effect when clicked. When resizing: the inside stays the same, and the window just "crops" it when resizing, nothing else happens.

TheRolf avatar Aug 18 '22 09:08 TheRolf

Sounds like an Electron issue. Does everything work fine if you don't resize the window?

lefterisgar avatar Aug 18 '22 09:08 lefterisgar

I start Caprine, then I do not alter the size, yet this happens. Or do you mean keeping the original size after installation?

TheRolf avatar Aug 18 '22 09:08 TheRolf

I meant the first. Resizing it after starting the app.

lefterisgar avatar Aug 18 '22 09:08 lefterisgar

Really weird though.

@dusansimic Any idea?

lefterisgar avatar Aug 18 '22 09:08 lefterisgar

It also does not seem to need a trigger, if I keep the window idle, it happens; as well as sometimes during typing.

TheRolf avatar Aug 18 '22 09:08 TheRolf

I'm not really sure but something has probably happened at Facebook's end (a UI change) that has broken most of the features. It can't be explained otherwise. Even my dev setup has issues including a black rectangular box on top of the UI.

lefterisgar avatar Aug 18 '22 09:08 lefterisgar

On my machine the following don't work:

  • Most dark theme icons
  • Hide names and avatars
  • Show message buttons
  • Show Active Contacts
  • Show Message Requests
  • Show Hidden Threads
  • All conversation related options

lefterisgar avatar Aug 18 '22 10:08 lefterisgar

Can confirm those features are not working. Also:

  • Blocking indicators settings missing/broken
  • File -> Messenger Settings (ctrl+comma) not working

rivenirvana avatar Aug 18 '22 10:08 rivenirvana

Yeah, and much more probably. It's not related to the new release though. Tested with the previous one too. It's Meta to blame!

At this point just wait for a new release.

lefterisgar avatar Aug 18 '22 10:08 lefterisgar

Can confirm all of these. Weird minor thing: after freezing, the GIFs are still playing :) @lefterisgar so they broke things the same time the new release came out?

TheRolf avatar Aug 18 '22 10:08 TheRolf

@lefterisgar so they broke things the same time the new release came out?

I'm wondering about the same. Does the old one work for you? It doesn't for me. Also, I was daily driving a "beta" version of what came to be this release and didn't have those issues. After all, it might be a coincidence!

lefterisgar avatar Aug 18 '22 10:08 lefterisgar

Yes, same behaviour with 2.55.6!

TheRolf avatar Aug 18 '22 10:08 TheRolf

What a coincidence! Besides that, expect a release, probably tomorrow if all goes well.

lefterisgar avatar Aug 18 '22 10:08 lefterisgar

On Ubuntu 22 at first no access to menus, (*after resize) then a freeze, then cannot access the 5th or so Friend and then freeze again then window opens to: oops something went wrong and now Logout not working but all the rest is OK again these issues were not present on 2.55.7-1

rosoau avatar Aug 18 '22 14:08 rosoau

Confirming that the same thing started happening to me today on Windows. I was on a version of 2.55 and decided to update, but that didn't change anything. Dev console is spitting up a "Minified React error #418" error, and a bunch of warnings about source maps not being valid JSON (although I wouldn't be surprised if those are related to something else). There's also a weird black bar between the main content of the app and the menu bar (screenshot below)

The usual location.reload() trick isn't working out, unfortunately. Must be a change/problem on Messenger's side.

image

godspede avatar Aug 18 '22 18:08 godspede

On Ubuntu 22 at first no access to menus, (*after resize) then a freeze, then cannot access the 5th or so Friend and then freeze again then window opens to: oops something went wrong and now Logout not working but all the rest is OK again these issues were not present on 2.55.7-1

I can only say about the resizing issue which is well known (#1871) and is caused by a newer Electron version, not by us. 2.55.7-1 used Electron 13 and we have since updated to 20!

The rest, as @godspede says are caused by Messenger and it happened that they rolled out a new design the day after we pushed a release!

lefterisgar avatar Aug 18 '22 20:08 lefterisgar

The rest, as @godspede says are caused by Messenger and it happened that they rolled out a new design the day after we pushed a release!

hide the pain harold

godspede avatar Aug 18 '22 20:08 godspede

  • Blocking indicators settings missing/broken

All broken features were intentionally disabled in this release to avoid confusion and bug reports until they are fixed.

lefterisgar avatar Aug 18 '22 20:08 lefterisgar

Same here, freezes by itself and has to be terminated through task manager. 2.55.5 and Windows 10.

TheKrakenator avatar Aug 19 '22 12:08 TheKrakenator

I experience the same, but the CPU load goes to 100% on a single core. On Debian Linux.

leventelist avatar Aug 20 '22 08:08 leventelist

Fedora 36, Caprine 2.55.7, flatpak version. Freezes if message is recieved when the app window is out of focus. No freeze when message is recieved in focus.

marko19914 avatar Aug 20 '22 09:08 marko19914

I experience the same, but the CPU load goes to 100% on a single core. On Debian Linux.

This is really weird. No such issue on (K)Ubuntu 22.04. Keep in mind, however, that Caprine is essentially a whole Chromium instance (browser) running in the background. There might be a problem in the underlying framework we use (Electron) but that's up to them to fix.

lefterisgar avatar Aug 20 '22 15:08 lefterisgar

Sorry for a late reply. I haven't experienced these kinds of issues (I use Arch, Fedora and test dev version by just running npm start).

Could it be something Electron related? Some older issues on Electron repo suggest that it might be related to the Linux kernel but it seems to happen on Windows too.

dusansimic avatar Aug 21 '22 12:08 dusansimic

Same here, 2.56.0 on Windows 10. Hangs and becomes completely unresponsive every time a message is received and has to be restarted. Very annoying.

54ac avatar Aug 21 '22 14:08 54ac

Fedora 36, Caprine 2.55.7, flatpak version. Freezes if message is recieved when the app window is out of focus. No freeze when message is recieved in focus.

There was an update to the flatpak (to 2.56.0). Seems to be fixed in that version.

marko19914 avatar Aug 21 '22 21:08 marko19914