Add experimental overlay mode for Termux:X11#1023
Conversation
|
@hansm629 @robertkirkman it is kinda buggy and I am aware about the bug with reparenting to main activity after "closing" and that it does not remember its position and size but I kinda need some review. |
|
it does not check for overlay permission yet, you should give it manually. |
Move activity content into TYPE_APPLICATION_OVERLAY window with movable/resizable overlay decorations and icon minimize support. Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com>
10a7802 to
587add4
Compare
|
Few bugs fixed, maybe few more added. |
|
@RalfWerner I am not sure if this would completely be useful to you, but this would allow another kind of what you call "pop view", would you want to try it? |
|
@twaik Just then, my Galaxy S26 Ultra was updated to the I will test it in that environment. |
|
@twaik We confirmed that when running in overlay mode, all CPU cores are utilized under heavy workloads. However, there are a few issues. 1. Overlay Full-Screen ModeIs there currently no way to operate the overlay in full-screen mode? In DeX mode, unfortunately, I was unable to increase the window size beyond the size shown in the screenshot attached above. 2. Overlay Window Display Only When X Server Is RunningCurrently, the overlay window is displayed indiscriminately, and it remains even after using the command to close the X Server and the Termux-X11 app. Is it possible to implement a system where the overlay window is displayed only when the X Server execution command is used, and closes when the command to close the X Server and the Termux-X11 app is entered? 3. Keyboard Initiation in Device On-Screen ModeWhen using the device on-screen mode, the software keyboard is not being invoked via the Android back key. Is it possible to improve this aspect? |
I neglected to mention this here yet, but there is a global solution to this problem for all failures of Android keyboard to open all in all apps Termux or non-Termux alike. It is the "global notification" setting of the org.pocketworkstation.pckeyboard app. https://f-droid.org/en/packages/org.pocketworkstation.pckeyboard/
|


Move activity content into TYPE_APPLICATION_OVERLAY window with movable/resizable overlay decorations and icon minimize support.
Mitigates #1022
Fixes #442