[drkonqi] [Bug 398275] Incorrect tab index on Login into the KDE Bug Tracking System page

Harald Sitter bugzilla_noreply at kde.org
Mon Jun 24 11:11:11 BST 2019


https://bugs.kde.org/show_bug.cgi?id=398275

Harald Sitter <sitter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |dgetsaddons/1772904c2980ec4
                   |                            |9a4d3839db9c38a370b88d60a
             Status|CONFIRMED                   |RESOLVED

--- Comment #3 from Harald Sitter <sitter at kde.org> ---
Git commit 1772904c2980ec49a4d3839db9c38a370b88d60a by Harald Sitter.
Committed on 24/06/2019 at 10:11.
Pushed by sitter into branch 'master'.

set the focusPolicy of kpasswordlineedit to the policy of its proxy

Summary:
this is entirely the same kind of change as done in
c695aa5a21a731ab72c8405141b43feccad2b56a

a proxy does not automatically adopt the same focus policy as the widget
it proxies. instead it has its own policy which is simply the qwidget
default.
this prevents keyboard focus from working in (e.g.) buddy scenarios as well
as when hitting Tab to move through the intractable widgets with a
keyboard.
seeing as kpasswordlineedit is essentially a lineedit and being able to
"tab" from a username edit to a password edit seems a crucial behavioral
expectation.
CHANGELOG: KPasswordLineEdit now correctly inherits its QLineEdit's focusPolicy

Test Plan: designer reports StrongFocus as default now. when using the KPLE
without changing its policy it will correctly receive focus through keyboard
tabbing

Reviewers: cfeck

Reviewed By: cfeck

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D21894

M  +1    -0    src/kpasswordlineedit.cpp

https://commits.kde.org/kwidgetsaddons/1772904c2980ec49a4d3839db9c38a370b88d60a

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list