wavebox / waveboxapp

Wavebox, the revolutionary and feature-rich Chromium browser that's built for productive working across Google Workspaces, Microsoft Teams, ClickUp, Monday, Atlassian, Asana, AirTable, Slack, and every other web app you use to get work done.
https://wavebox.io
1.31k stars 135 forks source link

Whatsapp web account slows down wavebox considerably #920

Closed arjovanramshorst closed 5 years ago

arjovanramshorst commented 5 years ago

Expected & actual behavior Since I did a clean install of my operating system and reinstalled Wavebox, Wavebox suddenly becomes very laggy when the web whatsapp account is opened. Any other account (e.g. slack, gmail) doesn't have any issues, and the lag immediately stops when selecting another account. The lag is not only in the whatsapp window, but if it's opened and I go to the wavebox settings or even the file/edit/view menu it's very noticeably slow.

Steps to reproduce Install wavebox using snap, add a whatsapp web account, on a 4K display scroll through messages or type anything.

Is the bug persistent or intermittent? Since today it is persistent (didn't have the issue before reinstalling OS), however I do use wavebox fullscreen on a 4K monitor (no hidpi config), and the lagging problem is a little bit reduced when resizing the window to 1080P, 4k shouldn't necessarily be the issue though, because running whatsapp web fullscreen in chrome has no issues at all. (and before reinstalling my OS it didn't run this slow either)

Screenshots Screenshots often help us narrow down a bug more easily. image Task manager when on the inbox account

image Task manager when scrolling in a whatsapp chat

Additional information PC has an i7 8550U cpu, uhd620 graphics and 16GB ram

Thomas101 commented 5 years ago

Hey, thanks for reporting and thanks for the task monitor screenshots, those are really helpful.

As to what the problem is, we've not seen something like this before, even with a 4K monitor setup. A couple of bits that would be handy to know...

  1. If you restart the app and launch WhatsApp does it exhibit this right away, or is it something that happens after a while?
  2. Does switching between any of the WhatsApp conversations make any difference to cpu consumption?
  3. Do you have any extensions installed in Wavebox under Settings > Extensions?

Would you be able to try the following in turn to see if it changes the behaviour at all?

  1. Remove the WhatsApp account and then add it again
  2. Go to Settings > Advanced, disabled Hardware Acceleration and restart the app.
arjovanramshorst commented 5 years ago
  1. If you restart the app and launch WhatsApp does it exhibit this right away, or is it something that happens after a while? Yes, also after a reboot, when Wavebox is the only app running it immediately starts lagging and using cpu when selecting the whatsapp account, and immediately stops when selecting a different account (slack/inbox)
  2. Does switching between any of the WhatsApp conversations make any difference to cpu consumption? No, even selecting and scrolling through a chat with only a couple of messages has the same effect
  3. Do you have any extensions installed in Wavebox under Settings > Extensions? No extensions installed

Would you be able to try the following in turn to see if it changes the behaviour at all?

  1. Remove the WhatsApp account and then add it again Did not have any effect, however, I noticed that the 'add new account' screen also appeared to respond slowly (similar to how whatsapp responds laggy) while re adding whatsapp, not sure if that can have something to do with it?
  2. Go to Settings > Advanced, disabled Hardware Acceleration and restart the app. Disabling hardware acceleration doesn't seem to have any noticeable effect on both lagginess and cpu usage
arjovanramshorst commented 5 years ago

Followup: I've started to notice some things regarding the performance of Snaps, so I've tried reinstalling wavebox using apt, and while the CPU usage is still high (comparable to the screenshots of the task monitor I've posted, the lagginess is completely gone. I've noticed a similar performance impact in the snap vs apt version of Spotify,

Thomas101 commented 5 years ago

Thanks for the update! It's good to know that it's working better without snap. I'll see if I can reproduce it here. We're also working on a Chromium upgrade which we think might help with this issue

Thomas101 commented 5 years ago

@arjovanramshorst we've just released a new version (4.7.11) of Wavebox to beta channel with an updated version of Chromium. We're hoping this will fix the issue you've been seeing. It would be great if you could give this a try and see if it's fixed for you. Thanks :)

Thomas101 commented 5 years ago

Hi, version 4.8.0 has just been released which we think should fix this. If you're still seeing the problem on the latest version, feel free to re-comment and we'll take another look. Thanks for reporting!