Subtle bug in Folder View?
Aaron J. Seigo
aseigo at kde.org
Mon Aug 8 16:12:53 UTC 2011
On Monday, August 8, 2011 18:53:30 Ben Cooksley wrote:
> Anyone got any ideas on how to solve this properly?
to fix it in folderview, i might do something like this:
there is a signal in KTextEdit called aboutToShowContextMenu(QMenu *).
ItemEditor could use that to record the menu that is being shown.
then, in the FocusOut event, that point could be compared with the value
returned by QApplication::activePopupWidget(). if they match, then don't hide
the editor :)
it also may make sense in KTextEditor to connect the QMenu's aboutToHide
signal to its deleteLater() slot so that the "delete popup;" on line 621
becomes unecessary.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20110808/9e70358c/attachment.sig>
More information about the Plasma-devel
mailing list