Listbox right button select


It’s kind of annoying that the behaviour of non-custom listbox items treats both left and right buttons as a selection modifier. I’m trying to add a right click menu to a list view that uses the default list items, but even after catching listmodel:itemClicked(), the selection is still happening, so I can show a popup, but not without an unwanted side effect.

Wouldn’t it be better to have only the left button generate row selections?


Fair point, but I think I did it that way to avoid confusion if you right-click on a row, choose something that you want to do to it, but because it hasn’t been selected, the action happens to a different row.