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

--- Comment #5 from Andrius Štikonas <andr...@stikonas.eu> ---
(In reply to Kevin Kofler from comment #4)
> Have you tried setting it programmatically from the code using
> QWidget::setTabOrder (https://doc.qt.io/qt-6/qwidget.html#setTabOrder)?
> 
> If that does not work, you can try to use QObject introspection to get the
> KPasswordLineEdit embedded in the KNewPasswordWidget:
> KPasswordLineEdit *passwordLineEdit =
> m_EditPassphrase->findChild<KPasswordLineEdit *>(QString(),
> Qt::FindDirectChildrenOnly);
> and then playing around with that, maybe:
> m_EditPassphrase->setFocusProxy(passwordLineEdit);
> setTabOrder(…, m_EditPassphrase); // now that it has a valid focus proxy set
> 
> I also think this needs to be reported against KNewPasswordWidget. All
> widgets ought to support setting the tab order.

Yeah, I agree. I'll open a bug against KNewPasswordWidget a bit later.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to