Skip to content

LineEdit with select_all_on_focus not working correctly for web export with virtual keyboard #106536

Closed
@roughbits01

Description

@roughbits01

Tested versions

  • Reproducible in master and latest official builds too.

System information

Chrome, Firefox and Safari (Tested on a pixel 6a, iPhone 15 pro, and iPad Air)

Issue description

A LineEdit with select_all_on_focus enabled will select all on focus as expected. However when you start typing, the text will not get replaced and instead the new text gets appended. This happen only in web export on devices with a virtual keyboard.

Steps to reproduce

  • Create a LineEdit with select_all_on_focus checked
  • Type some text
  • Lose focus
  • Regain focus
  • Type some text
ScreenRecording_05-17-2025.16-13-06_1.mov

Minimal reproduction project (MRP)

select_all_on_focus_2025-05-17_21-15-16.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions