Bug 393637 - Blinking cursor suggests focus on input field
Summary: Blinking cursor suggests focus on input field
Status: RESOLVED FIXED
Alias: None
Product: Falkon
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-29 11:27 UTC by Christoph Roick
Modified: 2018-04-29 22:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Roick 2018-04-29 11:27:17 UTC
When loading a website with input fields (such as a search engine) by entering the site's address in the address field, the input cursor jumps to the input field.
In some cases (more often than not) the actual focus remains in the address field however. Input from the keyboard consequently ends up in the browser's address field instead of the input field of the website. This is disturbing, especially when the actual input field is for passwords (which then is visible in the address field).

The cursor should only appear if the input element is actually focussed.
Comment 1 David Rosca 2018-04-29 11:29:35 UTC
Please provide url of some site where I can reproduce the issue.
Comment 2 Christoph Roick 2018-04-29 13:23:58 UTC
https://duckduckgo.com/ for instance. The URL has to be typed manually (not just following the link) and should not already be loaded.
Comment 3 Christoph Roick 2018-04-29 13:28:44 UTC
It actually always works, when a new tab is added.
Comment 4 David Rosca 2018-04-29 13:29:18 UTC
Can't reproduce with QtWebEngine 5.10.1 with ArchLinux packages.
Comment 5 Christoph Roick 2018-04-29 15:09:12 UTC
I also use QtWebEngine 5.10.1 and experienced this on two independent Arch Linux systems.

Apparently the address must be part of the selection list of already visited pages. Steps to reproduce:

1. open a new tab
2. type d u c k ... until the address is auto-completed to duckduckgo.com
3. press enter
4. now the cursor in the search field is blinking, but also the address is highlighted
5. type something; it replaces the address instead of appearing in the search field

This does not seem to depend on the default start page (works with falkon:speeddial, as well as some actual url).
Comment 6 Anmol Gautam 2018-04-29 18:43:31 UTC
If you are using precompiled binaries then the issue you are reporting may be QTBUG-67043 (https://bugreports.qt.io/browse/QTBUG-67043) and fixed in https://cgit.kde.org/falkon.git/commit/?id=674a0e78f69fb49c5512ddf03fe32597dc7ca209. 

Else can't reproduce it either :(
Comment 7 Christoph Roick 2018-04-29 22:32:09 UTC
Ah, thank you. I gave it a try and indeed, the current version seems to be fixed.