<table><tr><td style="">kossebau retitled this revision from "Fix KEditListWidget losing the focus on click of Add button" to "Fix KEditListWidget losing the focus on click of buttons".<br />kossebau updated the summary for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-fj463vh75qod5if/" rel="noreferrer">(Show Details)</a><br />kossebau updated the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ed62nlgjuv3dgpw/" rel="noreferrer">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4392" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">When</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">E.g. when</span> the user triggers the Add button by keyboard focus or mouse,<div style="padding: 8px 0;">...</div>in the tab focus order(?) <span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">which </span>can get focus. Inside KEditListWidget<br />
these are <span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">only </span>the other buttons, which are usually disabled when an<div style="padding: 8px 0;">...</div>on the list, until explicitly leaving the scene.<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);"><br />
Same for Remove button, which on removing the last item before also<br />
dropped the focus to the outside.<br />
There is some flawed logic in updateButtonState() WRT up/down button<br />
enabling compared to enableMoveButtons(), but to fix/improve this<br />
is left to another patch/person.</span></div></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>clicking "Add"<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);"> or when removing the last item by the  "Remove" button</span>.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R236 KWidgetsAddons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4392" rel="noreferrer">https://phabricator.kde.org/D4392</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>kossebau, Frameworks<br /></div>