Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection error after the second screen is turned off for a while #70

Closed
3 tasks
marozsas opened this issue Jan 28, 2021 · 1 comment
Closed
3 tasks
Labels
bug Something isn't working

Comments

@marozsas
Copy link

marozsas commented Jan 28, 2021

Prerequisites

Expected Behavior

I expect the connection stays even when the tablet's screen is off for a while.
The tablet's screen goes off automatically after 2 minutes to save battery.

If the tablet's screen stays off for a while (>5 minutes) when I turned the tablet screen on again it returns:
Deskreen Error Dialog
Something wrong happened :(

Closing the browser and opening it again did not work.
On Deskreen "Connected Devices" windows shows none devices connected.

If I get the tablet on again in a short period (<5 minutes) it resumes the connection, and updates the remote screen properly.

Current Behavior

The connection is lost after the tablet's screen get off for a while (more than 5 minutes or so)

Steps to Reproduce

Connect a tablet in Deskreen
Let it turn off automatically and let if off for more than 5 minutes or so.
Turn the tablet on again and you see there is no active connection to deskreen anymore.

Possible Solution (Not obligatory)

Context

Your Environment

I am using an Android Tablet Lenovo TB-8703X running Android 8.1.0 as a connected device and google chrome as primary browser.

Running Deskreen 1.0.2 on desktop:

Operating System: openSUSE Tumbleweed 20210114
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.7-1-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 14.6 GiB of RAM
Graphics Processor: GeForce GTX 970/PCIe/SSE2

  • Node version :
  • Deskreen version or branch : 1.0.2
  • Operating System and version : see above
  • Link to your project :
@marozsas marozsas added the bug Something isn't working label Jan 28, 2021
@pavlobu
Copy link
Owner

pavlobu commented Jan 28, 2021

hi, it is not a bug, it is a missing feature. it was requested for many times already and it is in my todo list. for now just be patient and it will come in new releases, or you can submit a pr with this feature.

in short we need to add a mechanism for trusted devices so they reconnect if connection dropped for short period of time.

Cheers,
Paul

@pavlobu pavlobu closed this as completed Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants