canonical / workshops

Workshops
GNU General Public License v3.0
51 stars 11 forks source link

Multiple context menus #282

Open jpnurmi opened 1 year ago

jpnurmi commented 1 year ago

Occasionally, two context menus open on top of each other at the same time.

image

jpnurmi commented 1 year ago

When you right-click anywhere in the background, it's supposed to show a context menu without instance-specific items.

image

When you right-click a specific instance row, it's supposed to show a context menu with the respective instance-specific items.

image

jpnurmi commented 1 year ago

There are two overlapping gesture detectors. Sometimes, both menus are shown at the same time because the gesture detector on top leaks clicks through to the gesture detector below. I've reported this as a Flutter bug: