Comments (4)
I am planning to work on this. Here is the behavior I am thinking about:
- Enabled by default on supported devices
- On
onUserLeaveHint
, if connected, enter PiP mode - Set PiP window's aspect ratio to match with framebuffer
- After entering
- Set zoom level to fill the entire
VncCanvas
- Hide controls
- Set zoom level to fill the entire
- After exiting
- Set zoom to 100% or remember the old zoom?
- Show controls
- Auto-close PiP if disconnected?
- If we enter PiP mode and user starts a new connection by going back to app
- We can start a new
VncCanvasActivity
, leaving the PiP activity as is, or - We declare
VncCanvasActivity
assingleTask
. We will then receiveonNewIntent
call where we can start a new fullscreenVncCanvasActivity
and close the one in PiP mode.
- We can start a new
from multivnc.
Super nice @gujjwal00! You probably already know https://github.com/bk138/multivnc/tree/feat-android-pip where some work has started already. Beforehand, it's probably good to reason about the actual benefits of this. I started working on this as some sort of "fancy" feature but then realised it's of not much use at least for me. Maybe some kinda sysadmin use case? I'm pretty sure that if that feature comes, it should be configurable.
from multivnc.
Yes I was planning to pickup from https://github.com/bk138/multivnc/tree/feat-android-pip .
I personally don't have much use either (just once in a while).
So probably defer it until concrete use cases arise?
from multivnc.
Yes I was planning to pickup from https://github.com/bk138/multivnc/tree/feat-android-pip .
I personally don't have much use either (just once in a while).
So probably defer it until concrete use cases arise?
OK with me, it's rather a nice-to-have. Maybe someone chimes in here and expresses dire need, than it can be elevated :-)
from multivnc.
Related Issues (20)
- Crash on Connect. Older tablet running Android 6.0.1: KatKiss HOT 4
- edge connector north position does not show up under X11 GNOME
- Add scale-to-fit view mode HOT 5
- Adding port number for ssh tunnel. HOT 2
- Allow translations to be added via Hosted Weblate HOT 2
- Create 0.8 MacOS release HOT 2
- Add wxSecretStore use for credentials without user name
- Error dialog sometimes not shown
- Use libvncclient's connect w/ timeout functions
- Move auth methods from VncCanvas to containing activity HOT 1
- Prepare for API level 33 HOT 2
- ForegroundServiceDidNotStartInTimeException sometimes on Android 13 HOT 1
- Release v0.7.0
- Windows build cannot run due to `wxmsw32ud_core_vc_custom.dll` is missing from your computer HOT 4
- Error messages not shown
- Send mouse scroll / scrolling input HOT 1
- Predefined zoom level, toggle off zoom in/out buttons | Android Version
- Audio support? HOT 1
- Please maximize usable screen space
- Language error with physical bluetooth keyboard HOT 5
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 multivnc.