brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.92k stars 2.35k forks source link

Typing too fast in address bar causes "blinking text" and carot "weirdness" (Linux - Wayland) #39802

Open Brave-Matt opened 4 months ago

Brave-Matt commented 4 months ago

Description

User reporting Wayland issue related to typing into address bar:

When using Wayland, typing in the address bar is slow and “blinks” often, and when you type faster than a certain speed, it starts to backspace and come back. I saw similar problems with Discord when using xwayland in the past, but Brave is set to “Wayland preferred”.

Say you type https://community.brave.com/, by the time I get to comm, I will see the cursor warp back to c, then go back to m. It is super confusing, especially when you do need to correct an error and you hit the backspace quickly, it’s warping twice.

Additionally, this user is also still encountering the drag & drop issue with tabs (and likely other elements) that was reportedly resolved already, but I do see other users still reporting this behavior here: https://github.com/brave/brave-browser/issues/37777

Note that changing the PreferredOzone platform flag value does not resolve this issue.

Steps to reproduce

  1. Typing too quickly in address bar for issue 1
  2. Dragging/dropping tabs in browser window for issue 2

Actual result

Weird typing behavior in address bar. Browser crashes when dragging/dropping tabs

Expected result

Normal typing in address bar, no crash when dragging/dropping tabs

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Version 1.67.123

Channel information

Reproducibility

Miscellaneous information

User reports: https://community.brave.com/t/crash-when-pulling-out-tabs-with-wayland/558152 https://community.brave.com/t/slow-typing-and-backspacing-in-address-bar-under-wayland/558337

awarebayes commented 1 month ago

Same

hicder commented 2 weeks ago

I have the same problem