Transient parent for QtWidgets popup menus

Elvis Angelaccio elvis.angelaccio at kde.org
Wed Jun 7 20:36:17 UTC 2017


On mercoledì 7 giugno 2017 19:56:59 CEST, Elvis Angelaccio wrote:
> On domenica 28 maggio 2017 10:37:40 CEST, Marco Martin wrote:
>> On Sunday 28 May 2017 10:12:53 Elvis Angelaccio wrote: ...
>
> Any idea about drop menus? (i.e. QMenus usually created in some 
> dropEvent() function). Even if they have a parent, they are 
> positioned in the place the drag started, rather than the place 
> where the drop happened. It seems that QCursor::pos() (passed to 
> QMenu::exec()) is broken if called inside dropEvent(), almost 
> like if the app does not realize that the mouse cursor moved?
>

Possible fix: https://phabricator.kde.org/D6142


More information about the Plasma-devel mailing list