-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
The screen flickers and in unreadable. #2127
Comments
Please provide following:
Thanks |
Immediately before the start of the video, I've used the installed v113 without flickers. After the v114 update, the flickering starts at second 10 and ends at second 22. Here, the AVD emulator is Pixel-C uses with Android 11. Identical results I get with Pixel 2/4 (you @agnostic-apollo use) and also Android 10 and on my real device. flicker.mp4 |
I also have the same issue where i needed to split-screen to termux app then it flickers to reproduce it, Termux app should enter to split screen mode |
I have confirmed this at least for split screen, middle of something else, so will look into fixing it after that. |
Yes... this has been a problem since the cursor styles commit had been added.... |
We received a video on the mailing list as well: https://groups.io/g/termux/message/604, with samsung dex |
@Grimler91 Thanks for posting. But I can't know what's going on internally without logs. If this is triggered by a different reason than that of split screen, then it may not get fixed. Might add |
I posted the video on the mailing list link above. I have since discovered that when I maximize the window in Samsung DeX, it no longer flickers. I ran logcat log, as suggested in one of the earlier posts in this thread, and am attaching it. |
I see, similar to split screen then.
Did you set log level to There are currently no termux verbose entries in the log you attached. I mainly need ones from And thanks for the attempt. |
Here is another attempt at logs. It still may not be what you need. I found the two settings you mentioned and there are Termux:TermuxActivityRootView items in it now. Thanks! |
I can confirm screen flickering in Samsung Dex when the cursor reaches the bottom of the window. It does not occur when termux window is maximized. It occurred for me in dex on windows, dex via miracast, or through scrcpy. I'm running termux .114 and this didn't happen with prior versions that I recall. Thanks. |
Same issue using the app in non-fullscreen mode in Motorola Ready For (similar to Dex). |
Margin adjustment was causing screen flickering due to invalid values being calculated in landscape and split screen mode. Attempts to fix issue #2127
So I have attempted to fix the flickering in e5a9b99 and hopefully it should work but can't say for sure since dimensions are crazy on phones. I have tested on android 7 device and android 10 and 11 avd in landscape/potrait/split screen, also tested on android 7 with freeform mode with Taskbar app and don't seem to able to initiate the flickering anymore. I don't have access to dex so can't test that. If some of you are using debug builds, it would be better to test this out before release. However, if it does flicker, adding Also it would be better for guys reporting the issue to check logs even on the next release in case infinite loop of log entries are being logged without flickering, it could happen. |
Btw @hmcanady thanks for the logs, they were helpful. |
I have only checked on Huawei (Android 8). AVD you already have already done and have here No more flickering. My other concerns in this issue are not solved. I did not quite understand the value in |
Thanks for testing.
Issue is only about flickering. If with e5a9b99 no flickering -> issue solved. If
Is this related to flickering? |
Did you exit and restart termux after updating value? |
Yes of course! Actions: e.g. Search in the File App (Split) but only in Landacape mode (Shot above) Termux is finished in Portrait mode. Unfortunately, the workaround must be repeated after some actions. The clipboard line replaces the numbers line (no additional) My |
I have tested on both android 7 device and android 11 avd and likely android 10 previosuly. The
Also ensure Gboard number key row is enabled in its settings.
This will happen if Gboard number key row is disabled in its settings and overlap will not happen, even if termux does not do any margin adjustment. Check TermuxActivityRootView javadocs for details as mentioned in the e7dd0ee commit message. Commit messages are meant to be read by testers (not general users) and I can't and won't retype everything. |
If
Apologies for the wrong assumption. Will consider you a general user from now on and you can check Changelog on releases for any details and report issues after releases. |
I added the disable-terminal.... line to termux.properties, but it still flickers. The latest version on F-droid is 0.114, which is what I'm using. |
Wait for |
Margin adjustment was causing screen flickering due to invalid values being calculated in landscape and split screen mode. Attempts to fix issue termux#2127
The user can add `disable-terminal-margin-adjustment=true` entry to `termux.properties` file to disable terminal view margin adjustment that is done to prevent soft keyboard from covering bottom part of terminal view on some devices. Margin adjustment may cause screen flickering on some devices and so should be disabled. The default value is `false`. So adding the entry `disable-terminal-margin-adjustment=true` to `termux.properties` file will disable margin adjustment. Exit termux and restart for changes to take affect after updating value. In case e5a9b99 did not fix screen flickering issues for termux#2127, then this can be used to disable it. Closes termux#2127.
Margin adjustment was causing screen flickering due to invalid values being calculated in landscape and split screen mode. Attempts to fix issue termux#2127
The user can add `disable-terminal-margin-adjustment=true` entry to `termux.properties` file to disable terminal view margin adjustment that is done to prevent soft keyboard from covering bottom part of terminal view on some devices. Margin adjustment may cause screen flickering on some devices and so should be disabled. The default value is `false`. So adding the entry `disable-terminal-margin-adjustment=true` to `termux.properties` file will disable margin adjustment. Exit termux and restart for changes to take affect after updating value. In case e5a9b99 did not fix screen flickering issues for termux#2127, then this can be used to disable it. Closes termux#2127.
Problem description
The screen flickers and is unreadable.
Steps to reproduce
Run htop or any other app that refrehes screen while in tablet mode in android.
Expected behavior
screen doesnt flicker
Transcript
Termux App Info
APP_NAME:
Termux
PACKAGE_NAME:
com.termux
VERSION_NAME:
0.114
VERSION_CODE:
114
TARGET_SDK:
28
IS_DEBUG_BUILD:
false
APK_RELEASE:
F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST:
228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42
Device Info
Software
OS_VERSION:
5.4.61-qgki-21556280-abG991USQU3AUDB
SDK_INT:
30
RELEASE:
11
ID:
RP1A.200720.012
DISPLAY:
RP1A.200720.012.G991USQU3AUDB
INCREMENTAL:
G991USQU3AUDB
SECURITY_PATCH:
2021-05-01
IS_DEBUGGABLE:
0
IS_TREBLE_ENABLED:
true
TYPE:
user
TAGS:
release-keys
Hardware
MANUFACTURER:
samsung
BRAND:
samsung
MODEL:
SM-G991U
PRODUCT:
o1qsqw
BOARD:
lahaina
HARDWARE:
qcom
DEVICE:
o1q
SUPPORTED_ABIS:
arm64-v8a, armeabi-v7a, armeabi
Termux APT Info
Subscribed Repositories
sources.list
deb https://packages.termux.org/apt/termux-main/ stable main
game-repo (sources.list.d/game.list)
deb https://packages.termux.org/apt/termux-games games stable
science-repo (sources.list.d/science.list)
deb https://packages.termux.org/apt/termux-science science stable
Updatable Packages
All packages up to date
The text was updated successfully, but these errors were encountered: