[Lazarus] New menu designer

Juha Manninen juha.manninen62 at gmail.com
Wed Dec 23 17:48:29 CET 2015


On Wed, Dec 23, 2015 at 3:43 PM, Ondrej Pokorny <lazarus at kluug.net> wrote:
> Yes, this is correct. Please test r51008 (also you, Juha).

PopupParent and PopupMode seem to work only with LCL-Win bindings.
With GTK2 and QT it behaves like any modeless IDE window.
But yes, this is the right solution. On Windows it behaves perfectly,
also with AnchorDocking. Support for other widgetsets can be added
later. Zeljko, do you have any idea how to do it?
This solution should be used for ActionList editor and CollectionItem
editor and maybe others, too.

BTW, I tested with Wine which apparently mimics Windows behavior
accurately in this case. Amazing how far that project has got. Ten
years ago it looked like a desperate project. (Almost as desperate as
Lazarus. :)

The other modal dialog + PopupMode=pmAuto that we discussed earlier
turned out to be a problem in my Xubuntu's XFCE window manager. It
behaves odd also in other situations, for example loosing focus from
source editor after a search etc.
I tested with OpenSuse Leap 42 + KDE and it worked well. However this
is not very important because I want to get rid of that particular
modal window.

Juha




More information about the Lazarus mailing list