D24879: [ComboBox] Follow focusPolicy
Kai Uwe Broulik
noreply at phabricator.kde.org
Wed Oct 23 14:01:42 BST 2019
broulik added a comment.
In D24879#552657 <https://phabricator.kde.org/D24879#552657>, @apol wrote:
> Wouldn't it make more sense to not accept the event then?
Not sure. The main reason for the `MouseArea` (apart from wheel handling) seems to be opening the `ComboBox` on *press*. The default implementation opens on click, so we do need to accept the event to keep the original implementation from interfering with that.
I just tried `mouse.accepted = false` at the end but that causes some strange side-effects, like not being able to open the combo box a second time, so I wouldn't want to risk it.
REPOSITORY
R858 Qt Quick Controls 2: Desktop Style
REVISION DETAIL
https://phabricator.kde.org/D24879
To: broulik, #plasma
Cc: apol, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191023/f7f5b14b/attachment.html>
More information about the Plasma-devel
mailing list