-
Notifications
You must be signed in to change notification settings - Fork 78
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
Check of Modifications from Sept 2021 and open features #37
Comments
OTS=One-Touch-Start is the Termux behavior that starts with one tap on the App-Icon (startscreen) all (closed) processes for X11 and other via echo '[ -z "$1" ]&& . uu.sh . .;t=$PREFIX/tmp X=Xwayland XDG_RUNTIME_DIR=$t;alias t="bash .bashrc"
c="am start -n com.termux" z="$c/.app.TermuxActivity" y="$c.x11/.MainActivity"; typeset -i i=0
z2="$z"; [ -n "$(pgrep m.termux.window)" ]&& z="$c/.window.TermuxFloatActivity"; export DISPLAY=:0
while [ -z "$(pgrep -o $X)" -a $i -lt 2 ];do $y; i+=1;sleep 1;$X :0>$t/TX 2>&1&
$z;done;WM=fluxbox;[ "$1" = 0 ]&& $y;[ "$1" = 2 ]&& $z2;[ -z "$(pgrep -o $WM)" ]&& $WM&'>>.bashrc will OTS set up or supplemented. Since Float is a separate app, it is displayed in parallel/over Termux but only once (no Window Manager like The script ky)t=~/.termux;[ ! -e $t ]&& mkdir $t; t+=/termux.properties; d=display; k=extra-keys;p=popup
m=macro;sk="hide-soft-keyboard-on-startup=true soft-keyboard-toggle-behaviour=enable/disable"
lf="{key:LEFT,$p:BKSP}"; ed="$p:{$m:'CTRL d',$d:d}"; eh="{key:END,$p:HOME}"; o=`grep one $t`
nx="{key:ENTER,$p:{$m:'CTRL n',$d:'next'}}"; tp="{key:TAB,$p:PASTE}"; ek=$k-style=arrows-all
kd="{key:KEYBOARD,$p:DRAWER}";x="{$d:X11,$m:'t SPACE 0 ENTER',$p:{macro:'ob ENTER',display:OB}}"
mc="{$m:'mc SPACE i ENTER',$d:mc,$p:F10}" cd="{$m:CTRL,$d:'^',$ed}"; m="#"
if [ "$o" != "" ];then k+="=[[ESC,SHFT,$kd,{key:'/',$p:{$d:'\\\\\\\\',macro:BACKSLASH}},{key:\
'-',$p:'|'},UP,$nx,HOME,PGUP,$x],[ALT,$cd,$tp,{key:BKSP, $p:DEL},$lf,DOWN,RIGHT,END,PGDN,$mc]]"
else k+="=[[$cd,$tp,$lf,{key:RIGHT,$p:{macro:'o ENTER',display:off}},{key:UP,$p:PGUP},\
{key:DOWN,$p:PGDN},$eh,$nx,$kd,$mc,$x]]"; m="#one"
fi ;printf '%s\n' $m $ek shortcut.next-session=ctrl+n $sk enforce-char-based-input=true "$k">$t
termux-reload-settings; exit ;; To toggle back you could open Addendum Version to X11_02.06 without sharedUserIdThis version does not use |
Float window resize (LTP=Long-Tab+Pinch) in an Android-12 AVD emulation.For this purpose, I created a pixel-5 emulation with studio and installed Termux-0.118.0 & Float-0.15.0. So far I used Android-11 and lower and had no resize success. @agnostic-apollo meant with 12 should the problem be fixed - but it is not (shots below). First of all the log of the standalone emulation:
Then I discovered a few more differences (bugs) to 0.117:
Both are still ok with 0.117 on Android 11!. OTS expects further Apps and packages (XClients) to work with X11. I installed three apps here, which can all/patial fullscreen. LTP-resize does'nt work in all cases. Shots to AVD-checks:
The following shots are made with my Gigaset (armv7l without split feature):
|
Resize is working on Android 11 avd as well. termux-float-resize-2022-01-11_01.19.07.mp4
It was just a symlink to
Like I have told you before somewhere, termux does not create that path. Closing issue since who knows what this is about. Open a new issue and fill template for any problems. |
Thanks for the reaction. One of the Float Bugs you have already been reproduced in your own video(0:08) . As far as resize is concerned, I expected your behavior on my AVD as on all other devices. Is your log with my (above) comperable? resize.mp4Your resize Start at 0:00/0:01 (0:07) and my first attempt at 0:04 and the second at 0:07 (with shift positioning of the eccentric center). Previously (0:02), I had made a move without Ctrl and both only move -Why? Either you have already made an Resize before the video, another AVD used or otherwise specified the "Init size" (larger:"Report issues.." without clipping/line break). As can be seen in my shots above, I can only use one size as here on AVD devices. I now assume that you know these two bugs and I do not have to describe them again!
I know! but here the first time on AVD-Devices (it is my 11th device). On old devices, I could create this symlink by my self with |
Drag outer two dots left-right/up-down further from the center dot, outside of screen. If you only do it near center dot, window will just move instead of resize.
|
So? Unfortunately, AVD still only moves in this case only the entire window. I've spent many hours in front of my PC, tracted my mouse and bent my fingers. Also in this case, the moves lead to the following status:
:) Very good Idea! What is your scheduling? Except for my Gigaset (no SPLIT) I use it nowhere really and to the much better PiP (popup view above) function of Samsung, there are elaborate errors. I've edit EK-Remarks above
|
check scenarios
The Taskbar* App examination, was very sobering if I compare this with PiP on my SM-P610, in which nothing is missing and that works very stable. That's why I've never used T:Float. For comparison and to fix possibly bugs of TfT (Taskbar-floating-Termux), I've this App (self-build with last updates from @agnostic-apollo) now installed on my Gigaset and tries to understand this App.
Float Readme is not very informative. The permission query after the installation is good (would be good also at T:Widget).
First, I describe the check scenarios. The Float App is positioned on the Start Screen between Termux and Widget, so Termux can be started with all three Apps.
The normal OTS open X11 with some XClients so that XServer and
sshd
Services exist and uniquely the process environment is logged. When Float starts from the start screen again, a fixed quarity picture appears without Extra-Keys (EK) but with OS-KB. The process list is supplemented by a bash that does not appear like widget processes in the Drawer process list.DRAWER
possibility and long tap (inside - not at the top) allows move and scallation (Pinch) with appropriate instructions (good) but no clipboard. The movement beyond the screen, as with taskbar does not work.*) Taskbar on the one hand and Floating/Picture or Android Windows on the other hand are different topics. In the Taskbar App and with Android-with-PiP contained therein (11/SM-P610), both comes only together. On various App/Task Functions (Recent-Task-Key) gestures and much more, which has every phone, I do not go on details here and also the topic session/widget-lists currently has no relation to Float. Here are two more shots, from my Gigaset (above) without Split/PiP capability and the SM-P610:
t c
in Float, OS-KB turn off/on in X11 (with Extra-Keys=EK) and change to Hackers KB. Then swich Key-log on incheck
and tap onSHIFT+ALT+CTRL
(blue). Here Float-Picture is covered by OS-KB (log is hidden but Back-Key remove it) even after pinch to the smalest high of Picture and more critical with non floating gboad-KB_. X11-EK is unusable in Float!Termux is here startet from site-Taskbar (moved to PiP) and OTS open X11 here in Background. Previously the File-App** was opened in Picture and is now shrinked to the _blue Icon (also a Taskbar by tap) between 1/2 over the non-floating OS-KB. Float deprives themself to the Picture/Task Management of the OS, so it is initially unclear, what happened, if you tap on 5 of OS-KB - what are you supposed? Both EK are not usable for Float but OS-KB for all three Apps.
conclusion and possible features
It remains: Float is 100% covered by SM-OS, a reduced variant of Taskbar-Termux-Floating and without parallel Termux, barely useful. Here is Float optically hardly to distinguish from termux. Should as announced all future Android versions have behaved the SM-OS, is unnecessary the Float development. Potentials:
More checks, special effects and misconduct with TfT and Float:
Float only have the opportunity to move the picture inside the screen at the Picture-size, but it can scaled greater than this with pinch. This has the effect that the picture can not be moved or only in one direction. Then, on the right edge, the contents are cut off the content instead of wraps and in height is the prompt often under the real screen and almost always under the non-floating OS-KB. The rotation of the phones often leads to similar effects. As in old Termux versions, the penetrient popup of the OS-KB can not be prevented.
Float does not take into account the reduction of the residual surface by EK+OS-KB. However, mostly through skilful inner and outer pinch zooms, the relavant part of Termux can be brought into the visible area. The effects can most often be bypassed long Tap pinch/move. Who that seems to be complotted, should try TfT to return back to Float.
In TfT a complete Termux with nomal behavior is used but as soon as the X11 screen is touched or with Back-Key, Termux will removed fron screen and has to reopen by Taskbar*. Move of TfT is only one time after Back-Key and _reopen: possible.
The text was updated successfully, but these errors were encountered: