Closed matkudela closed 3 months ago
My initial reaction to this would be that it's unlikely that it's a case of "pop_screen() triggering randomly after hoovering buttons under heavy load" and very possibly a case of an instance of escape
being detected and processed as keyboard input.
You are right, just tested it.
Can you paste the result of textual diagnose
please.
Name | Value |
---|---|
Textual | 0.62.0 |
Rich | 13.7.0 |
Name | Value |
---|---|
Version | 3.10.12 |
Implementation | CPython |
Compiler | GCC 11.4.0 |
Executable | /home/dev/.pyenv/versions/3.10.12/envs/clive_venv/bin/python3.10 |
Name | Value |
---|---|
System | Linux |
Release | 6.5.0-15-generic |
Version | #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 |
Name | Value |
---|---|
Terminal Application | Terminator |
TERM | xterm-256color |
COLORTERM | truecolor |
FORCE_COLOR | Not set |
NO_COLOR | Not set |
Name | Value |
---|---|
size | width=105, height=56 |
legacy_windows | False |
min_width | 1 |
max_width | 105 |
is_terminal | True |
encoding | utf-8 |
max_height | 56 |
justify | None |
overflow | None |
no_wrap | False |
highlight | None |
markup | None |
height | None |
@matkudela Could you try running with TEXTUAL_DEBUG=1
to reproduce the issue, then sending us the keys.log
file that it generates.
You mean opening textual keys app? If no where I can find the logs?
run your app with TEXTUAL_DEBUG=1 python myapp.py
Reproduce the issue and exit. You should find keys.log in the working directory.
You have a slightly older version of Textual. Would you mind upgrading to the latest, and repeating the test?
I'm not certain if this will fix it, but please try 0.66.0
Didn't help.
Please try Textual 0.71.0
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
Most of the time works fine but managed to recreate this problem once in 15 minutes of testing.
I noticed strange behavior while hoovering very fast on many buttons.
pop_screen
is being triggered ramdomly only under heavy load on my computer (used stress command). Tried same thing withpush_screen
but works fine. Example used in video:Since github is accepting files under 10MB im linking video: https://drive.google.com/file/d/1qG4SCLF-0-HXDOMNLBCrGF4lFM7Lxlxj/view?usp=drivesdk