Contextual Menu does not work in a PopoverContainer w/Listbox

Hello all,
I cannot get a contextual menu to work when it is used on a listbox which is in a PopoveContainer. Is this a know limitation?

Tested with 2024R4.2

Thanks,
Tim

I also tested in 2025R1.

Ideas anyone??
Tim

Create an Issue with an example.
Looks like we want popovers to do more than original designed, but @Ricardo_Cruz can check if possible to do.

I thought it would just work, since the menu is in a listbox…
Tim

I’m sorry I can’t offer anything else. I’m not sure what:

means, as I haven’t tried to do that.

I can try to guess that when you try to activate the contextual menu the popover closes, but maybe that is not what is happening. Maybe just nothing happens. That is why I can only say create an example/issue for the community/Xojo to review.

Hi Alberto
The popover does not close. The menu just never appears…

Tim

It’s not clear to me, if you’re mixing the terms contextual menu and popover, since both are completely different things. A sample project would help to see what you’re doing.

What I understand:

  • Weblistbox on a popover
  • Weblistbox with contextual menu
  • Contextual menu does not show for the Weblistbox if the Weblistbox is on a popover, it works if shown on Webpage and Webdialog (but maybe this is not the case either).

An example is always best.

Alberto
You have the scenario perfectly.

When I get a free moment, I’ll create a sample.
Tim

1 Like

Hi Tim,

Yes please, share a sample project so we can understand better what you’re trying to achieve.

Thank you.