notes: Bug related to reported Wifi spikes - Make sure not to ship the bearer plugin on Windows

Someone emailed us today about a bug related to Wifi Spikes. This might be an upstream problem. Here’s the email:

Hi guys!

First of, thanks for the Notes. Really cool app which I've been using for years. However a very interesting bug-case recently happened.

I bought a new HP laptop, installed Windows 10 64-bit (1909), Drivers etc. and then Notes of course. After some time I noticed that my WiFi was lagging. It became annoying, so I started to dig into issue, spent a couple of days and finally found this -- a consistent (regular) WiFi spikes from low to huge. Interesting that if Notes are completely off, then no spikes. If Notes are open then I see this:

Ответ от 192.168.0.1: число байт=32 время=3мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=1807мс TTL=63   <--------------
Ответ от 192.168.0.1: число байт=32 время=5мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=5мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=4мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=3мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=5мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=4мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=6мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=18мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=1934мс TTL=63   <--------------
Ответ от 192.168.0.1: число байт=32 время=4мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=5мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=4мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=5мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=5мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=4мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=5мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=11мс TTL=63
Ответ от 192.168.0.1: число байт=32 время=1887мс TTL=63  <--------------
.....


I am 100% sure that it was related to Notes because I checked every other app separately. I was so desperate that even started searching for another app. Then I checked the 'Notes 1.0.0\bearer' folder and found a file called "qnativewifibearer.dll"

I deleted the file and it WORKED!!! No more WiFi spikes. Just writing you this because it might occur in the next versions of Notes and may hugely distract users.

WLAN Device is: Realtek RTL8821CE 802.11ac PCIe Adapter (PCI\VEN_10EC&DEV_C821&SUBSYS_831A103C&REV_00)

Believe me or not, but it's not about drivers. I did tried everything, except for the Windows reinstall. But when I deleted the file it worked!

Hope it will help you somehow!

Cheers!
....

Tagging you guys here @theshadowx, @bjorn if you have an idea.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Is it possible for InnoSetup to delete older version files?

Hmm… I’m not sure it can, but I also don’t see why it couldn’t. 😄

We can probably tell Inno to invoke the uninstaller of the previous version before installing the new version, or something like that.

We just have to figure out where Notes was installed (we can probably check using a registry key or something).

I think we only download the installer, and it installs everything on top of previous versions

That’s a good question, and I haven’t actually tried doing that. I’ll see what can be done.

QNetworkAccessManager does not need the bearer plugin to access the WiFi. The bearer management in Qt is about querying and controlling whether the internet is on and such things and was mostly needed for mobile devices. Apparently it’s also deprecated now and scheduled for removal in Qt 6.0.

We should just make sure not to ship this plugin.