On Sunday 24 May 2009, Emdek wrote: > On 24-05-2009 16:22:48 Marco Martin <notm...@gmail.com> wrote: > > On 5/20/09, L Pierre <pierre...@yahoo.com> wrote: > >> Hi, > >> > >> The context menus was as result of a right mouse click on the middle > >> box in > >> the picture (see attach). I used a class as subclass of > >> Plasma::TextEdit - > >> "PlasmaTextEdit : public Plasma::TextEdit" > >> > >> Is there something I can do to prevent this? (see attach) > >> > >> Does anyone have an idea why this is happening? > > > > unfortunately yes. > > the context menu is embedded into scene as well as the parent widget > > and is something we can't do much about it (until there will be some > > kind of support in qt to not embed children or -certain- children) > > what you can do is to set a pretty high zvalue of the widget that has > > the context menu > > I don't know, but maybe flag that I've found could help (if set for KMenu): > https://bugs.kde.org/show_bug.cgi?id=179541#c8
yeah, indeed, but the prolem is that with standard qwidgets you would have to dig in their structure, i.e accessing somehow the popup menu of a combobox or a text area and set the flag on that, you can iterate trough children of a qobject qut well, not sooo pretty :p > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel