it seems focusOutEvent comes too early to QQuickItem. by that time
activefocus is not updated, so it still holds earlier value.

Once activeFocus  of QQuickItem is changed we get
ItemChanged(http://doc.qt.io/qt-5/qquickitem.html#ItemChange-enum).

I tested it OxideQQuickWebView::itemChange has correct value of activeFocus.
Inside:
itemChangeItemChange : 6 Value : 0  // 6 represent 
QQuickItem::ItemActiveFocusHasChanged
ActiveFocusItem : 0


So I was wondering if we should move focus handling inside 
OxideQQuickWebView::itemChange  OR
tweak HasFocus()

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1599771

Title:
  Webview appears to think it's in focus when typing in the addressbar

Status in Oxide:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Invalid

Bug description:
  See the screenshot - when keyboard focus is on the addressbar, the
  webview thinks it is still in focus (indicated by the presence of the
  caret in the search field).

  Not sure if this is Oxide or webbrowser-app

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1599771/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to