D26484: Popup menu again to reposition it

Elvis Angelaccio noreply at phabricator.kde.org
Sat Jan 11 12:40:12 GMT 2020


elvisangelaccio added inline comments.

INLINE COMMENTS

> dropjob.cpp:415
> +        // popup again to update position. BUG: 415917
> +        menu->popup(window ? window->mapToGlobal(m_relativePos) : QCursor::pos());
>      }

`QCursor::pos()` should be avoided as it's not reliable on wayland.

The whole "popup() again" here looks like a workaround to me. Can't this be fixed on the plasma side?

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D26484

To: trmdi, #frameworks, davidedmundson, elvisangelaccio, mart, dfaure
Cc: ngraham, broulik, anthonyfieroni, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200111/9ee8a8ff/attachment.html>


More information about the Kde-frameworks-devel mailing list