[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Subtle bug in Folder View?
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2011-08-08 16:12:53
Message-ID: 1870278.gEM6brtzzn () freedom
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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
["signature.asc" (application/pgp-signature)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic