Closed hansm629 closed 1 year ago
It looks like Android performs some event coordinates transformation which is not applied to captured events. It is some device-specific bug.
It looks like Android performs some event coordinates transformation which is not applied to captured events. It is some device-specific bug.
Is it possible to improve?
I am not sure.
I think I can help you if you need a separate test.
You can install this apk and start termux-x11 with TERMUX_X11_DEBUG=1
. I have a theory.
I need the log
Any updates?
Any updates?
I'm sorry for the late reply. I just checked because I finished work late.
Downloaded and installed. How do I pull the log file?
Log information.
Ok. Another try. app-arm64-v8a-debug.zip
In this build coordinates should be fine or inverted (180°). Tell me what exactly happens.
In this build coordinates should be fine or inverted (180°). Tell me what exactly happens.
The same symptoms. T_T
The exact symptom is that with the X server called, the axis does not reverse and works well Symptoms of an inverted axis when the touchpad on the keyboard cover is clicked
The exact symptom is that with the X server called, the axis does not reverse and works well Symptoms of an inverted axis when the touchpad on the keyboard cover is clicked
When Activity starts cursor is not yet captured. That is some Android security feature. You must click with mouse or touchpad to start capturing.
The exact symptom is that with the X server called, the axis does not reverse and works well Symptoms of an inverted axis when the touchpad on the keyboard cover is clicked
When Activity starts cursor is not yet captured. That is some Android security feature. You must click with mouse or touchpad to start capturing.
Oh! Gestures on the keyboard cover touchpad work in this version of APK!
However, there are still symptoms of an inverted axis.
And the symptoms of letterbox at the bottom of the screen were also confirmed.
I need you to post logs and video again. Wdym letterbox?
I need you to post logs and video again. Wdym letterbox?
I'm at work right now, so I'll post a log and video after work :)
Ok.
Ok.
Additional tests are the results.
There is a 'letterbox' at the bottom of the APK you built the latest.
https://github.com/termux/termux-x11/assets/101167173/c874d3b0-f6ec-4a30-852b-c85f68934c4e
The resolution setting is custom 1920X1200 Originally, shouldn't have a 'letterbox'.
Touchpad axis inversion test. I checked again and found that the X-axis works well without reversal.
but, the Y-axis is inverted to operate. In addition, only two touchpad gestures are working: one tap and drag.
https://github.com/termux/termux-x11/assets/101167173/457e1be9-bc53-4f11-91e7-01ab6e74c178
And the touchpad sensitivity is very sensitive compared to Android, so even if you move a little, the mouse pointer moves quickly and the drag works.
[Issue list] **1. 'Letterbox' at the bottom of the Termux-x11 screen
Log file. Please check. Thank you :)
Next try. app-arm64-v8a-debug.zip I did not find any MotionEvent mentioning in the log. Did you collect the log while trying to use captured events?
About sensivity. You can manage it in DE's settings. It looks this like for XFCE. But I have no idea what DE you are using.
About the letterbox. Curently I have no idea what causes it's appearing and how to fix it.
Is your tablet Dex enabled? I mean do you use Dex UI on tablet itself?
Is your tablet Dex enabled? I mean do you use Dex UI on tablet itself?
Used in a non-DeX mode.
First of all, I will test it again with the APK you delivered recently and give you feedback.
Is your tablet Dex enabled? I mean do you use Dex UI on tablet itself?
Symptoms are the same. I am sending you the log part again.
Letterbox is There are no symptoms in the apk under formal deployment. T_T
The symptoms are starting from the APK that you build today
Next try. app-arm64-v8a-debug.zip
Next try. app-arm64-v8a-debug.zip
That's great! In this version of APK, there is no touchpad axis warping!! This seems to have been fixed!
But
**1. One tap is too sensitive (dregs occur even if you move the touchpad slightly)
Does double tap recognition adjust in the mouse and touchpad settings of XFCE4 Improved, but still a slight movement of the touchpad will activate the drag.
This was the same when XFCE4 set sensitivity and acceleration. log3.txt
Next try. app-arm64-v8a-debug.zip
https://github.com/termux/termux-x11/assets/101167173/277ec214-88ba-4dbc-8c0c-97728e9dc27c
Letterbox symptom. I captured it on screen.
Both normal mode and DeX mode are the same.
When the Stretch to fit display toggle switch is turned off It looks like this
- One tap is too sensitive (dregs occur even if you move the touchpad slightly)
- When the touchpad is released during drag, mouse pointer position pop up
- When you click the touchpad while the mouse pointer is moving, the mouse pointer position pop up
For some reason touchpad in capture mode is recognised as touchscreen so it uses the same algorythms. For some reason both this (your) and Dex mode touchpads behaviour is weird and device-specific. I can not fix it.
- Letterbox Symptoms Occurred
I found the root of the problem and will fix it in the next build.
Good job!
- One tap is too sensitive (dregs occur even if you move the touchpad slightly)
That should be fixed by b7937aed16b0e64fa7d4b54fd28c8bd81b99be9c .
Sorry for bumping this, but I'm having the same issue, the latest APK you shared is fixing the issue but when I click or touch (for clicking) cursor stucks in there (it's clicking tho) then I need to press ESC to be able to move it again. (I can click while cursor is stucked) Galaxy Tab S8+ - Galaxy Book Cover
Are you using "simulated touchscreen" mode?
@rssvxoxo
So sorry, forgot to response. It seems the issue is related with Box64droid, after installing linux; the issue has been solved, but the first issue is (sensitive trackpad) kinda annoying. Mind possible we get the fixed version?
A bit later. I am working on touchpad compatibility.
Hi team! I understand this is in progress, just wanted to report that I have the same issue (Galaxy Tab S8 Ultra and Book cover). Tried the debug apk and it works but two finger actions still had their axes reversed. And in general felt very sensitive. It also seemed to "lock" the trackpad to the app, could not use it when switched to other apps. It was released after locking the screen only.
@twaik
I'm using Samsung Galaxy Tab S8+ bookcover keyboard, the same model. The issue still occurs in the latest nightly build (https://github.com/termux/termux-x11/commit/84901c2f1c3761b49477d798efd051daf92be3b8).
I can provide more information if you need.
Unfortunately I can not fix it until I have one device for tests.
Guys, I can assure you there will always be a problem if you want to run it as linux device or alternative to writing codes. I realised nothing would provide a laptop-wise experience while using Galaxy Tab S8. Sold it, and switched to Macbook Air M2. The only issue I'm having is screen 60hz, but it's not a big deal. I recommend you to switch Macbook instead of wasting time to Galaxy Tab S8. I know, Tab S8 is the perfect device but with the worst OS, yet OS matters a lot, so lower your expectation and switch to Macbook.
I am having the same problem with my Lenovo Tab P12 and it's keyboard cover... It is usable, but it feels like 4 times too fast for me. I am using the version based on f71baf2. My "Touchscreen input mode" setting is set to "Simulated touchscreen". Everything else works (except I cannot copy text from my androids clipboard to an opened window, but the other way around works). I already tried setting the minimum speed in xfce and disabling every other mouse device in the settings, but it doesn't change anything.
I'm getting the reversed axis problem on my Galaxy Tab 7 FE. All of the gestures seem to work, the only problem is the movement direction. Is there a way around this? (Using capture mouse mode).
I found a generic solution online that uses xinput, but I don't know how to install this in termux.
All of the gestures seem to work, the only problem is the movement direction. Is there a way around this?
It is usable, but it feels like 4 times too fast for me.
Check the build 594. It has preferences "Transform captured pointer movements" and "Captured pointer speed factor" so you can adjust this.
If you set the "Capture external mouse when possible" toggle switch to on
There is an issue where the touchpad direction of the Galaxy Tab S8+ keyboard cover is reversed.
This is a symptom reference video.
https://github.com/termux/termux-x11/assets/101167173/bb11d636-6507-4baa-885d-75f08ae1c5cb
Additionally, the gesture on the touchpad doesn't work on Termux-x11, so I was wondering if there was a way to make it work.