CabrilloRoboticsClub / cabrillo_rov_2023

Cabrillo College Robotics Club repo for the MATE ROV 2023 competition
GNU Affero General Public License v3.0
10 stars 5 forks source link

Dash loses focus of keyboard on pilot tab after using the debug terminal #220

Closed steph1111 closed 6 months ago

steph1111 commented 6 months ago

What happened

After using the integrated terminal on the debug tab of the dashboard, the pilot tab no longer recognizes keystrokes. This issue is isolated to the pilot tab, other tabs are still able to receive and handle keyboard input without any problem.

Conditions

Condition At time of issue
Branch main
Laptop Steph's Thinkpad
Terminal or VS Code VS Code
Controller Beat up
What was running ROV and deck
steph1111 commented 6 months ago

This bug occurs when we utilize the text input on the terminal. This activates a mode in which it interprets our keystrokes as input to the textbox, rather than general keystrokes. Tapping elsewhere on the screen seems to remove focus from the terminal input, allowing normal keyboard operation. However, when we switch to the pilot tab, there is another textbox--the timer inputs. The cursor is redirected there, preventing the keys from being recognized.