Comments (6)
Looks like this is a bug in the diagnostics for WebRTC (thanks @fippo): https://bugs.chromium.org/p/chromium/issues/detail?id=866200#c45
But I have a hunch that it won't be fixed quickly. 🙂
from threema-web.
Thank you for your report!
Unfortunately, we're not able to reproduce this on our test machines.
Which version of Threema for Windows are you using? Please post the full version number, including the number in the brackets.
Does the same issue happen if there is no active session in Threema for Windows and only the reconnect button is shown?
from threema-web.
I was able to replicate this consistently, as long as there is an active, connected session.
On Windows I'm using 2.4.4 (1.2.21).
I was also able to replicate this on Arch Linux using version 2.4.4 in chromium.
I assume WebRTC has some setting to prevent sleep when there are active connections. Checking powercfg /requests
on Windows while Threema is open & connected returns
[PROCESS] \Device\HarddiskVolume2\..\threema-web.exe
WebRTC has active PeerConnections
from threema-web.
Thanks! This makes sense in general because WebRTC is usually used for audio/video which, if played out, should prevent standby and/or display auto-locking (although it is questionable why the <video>
element can't take care of it). But we only use WebRTC for data transmission. It is likely that this is an oversight in the WebRTC implementation (wouldn't be the first one) used by Chromium/Electron and that we have no influence over it.
Edit: Did some digging and it is indeed something we cannot influence without shipping a custom Electron build.
from threema-web.
Is this something that might be addressed in a future new threema web?
I assume that is also one of the reasons why apps like Discord for example ship custom electron builds then...
from threema-web.
It will be a non-issue for Threema Web based on Threema Desktop 2.0 since that will no longer use WebRTC for data transmission.
(I don't think Discord is affected because they do not have a persistent WebRTC connection unless you're in a voice chat.)
from threema-web.
Related Issues (20)
- "Uncaught ReferenceError: WebAssembly is not defined" in Microsoft Edge HOT 2
- Chats scrolls down when trying to scroll up and older content loads in HOT 3
- Chrome: Password filling doesn't work anymore
- User Interface: Could not switch to "Minimal" user interface HOT 3
- CI feature: integrate pull request preview environments HOT 1
- Image quality is bad HOT 1
- App does not start/install anymore (on W7) - says instead "GetpackageFamilyName()" in "KERNEL32.dll" couldn't be found HOT 1
- Big files won't upload HOT 3
- Editing of posts HOT 1
- Agree/disagree feature HOT 1
- Replace cryptography with something better
- Please document the required node version HOT 2
- Version 2.5.3's marking of read messages is incompatible with non-current Firefox versions HOT 3
- Strange linkification for path to python script
- Compose area with multiple lines cannot be scrolled fully to the top
- Missing placeholder text in compose area when deleting multiple lines HOT 1
- Latest update not released, getting annoyed by update pop-up HOT 9
- Mentions of unknown contacts are not parsed at all
- Allow to delete many message items at once
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from threema-web.