-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Cursor falls behind in SQL Lab #9253
Comments
Awww man! I agree with your assessment, but don't yet know the root cause. Investigating... |
@rusackas I think you pushed a fix for this? |
@willbarrett I sent a chat to Evan, I think this is likely caused by his first fix :( |
Oh no! 😢 |
Submitted a PR reverting that earlier fix. Seems to work in both browsers now that the new font is in. Sunk some time last night into trying to upgrade ACE editor (which also fixes this), but that started getting too hairy, so I pulled the ripcord on that. Please sanity check that PR and make sure the issue is really gone :) |
Hi all, we are running |
I just tested with the latest build with @rusackas Would you have time to take a look? Thanks! |
@geido users reported this is happening again. We fixed the editor in Explore, but im not able to reproduce in SQL lab. could you take a look? |
I am on Superset 1.3.2 and able to replicate the issue on Windows OS. |
Same here. A fix would really help! |
I can't reproduce. Pinging some more people to see if this can be reproduced on their side CC @kgabryje @zhaoyongjie @michael-s-molina |
We are also experiencing this with the latest release. The issue seems to be related to syntax highlighting. If you type "select select select ..." all the way across the screen you will see the cursor lag (select is bolded as it is a keyword). If you type a non-keyword such as "hello hello hello ..." across the window, the cursor seems to keep up fine (no bolding takes place). Just an observation. |
@geido @junlincc I had the same problem with superset 1.4.0. Details are as follows:
20220617_120648.mp4 |
same issue here, 1.4.0 in Chrome |
Issue seems to be still prominent, especially on Windows machines, on 2.0.0 ... |
For me, opening the developer tools and disabling #19094 (comment) The problem seems to be that [1] wez/wezterm#2074
superset/superset-frontend/src/SqlLab/main.less Lines 370 to 371 in ce3d38d
Lucida Console ?
Another 'fix' that I can confirm is uninstalling All related issues and PRs I could find: |
When typing in SQL Lab, the cursor slowly falls behind the characters.
Expected results
Typing to be normal
Actual results
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
Type a longish line in SQL Lab
Environment
(please complete the following information):
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
Additional context
I suspect this is related to the change that was made to fix cursor position in Safari. I then think the issue was exacerbated by the new font in SQL Lab. This seems likely as we saw a report from a user that the cursor was messed up in Chrome prior to rolling out the new fonts, but with the new font it's way more obvious and happens way more often
cc: @rusackas @nytai
The text was updated successfully, but these errors were encountered: