SrainApp / srain

Modern IRC client written in GTK
https://srain.silverrainz.me/
Other
305 stars 34 forks source link

right-clicking user in user list doesn't select them, opens in that place menu for already selected one #378

Open djasa opened 2 years ago

djasa commented 2 years ago

in situation like this, when user1 is selected in user list and user3 is right-clicked:

[ user1 ]
  user2
  user3

context menu is created on top of user3 but it actually belongs to user1 that keeps being selected.

The behaviour sort of reminds me some old toolkit (gtk1? motif? I don't remember anymore...) that also needed to left-click the desired user first and only then to get a context menu, but that one at least brought up context menu relevant to user1 on top of user1 entry...

Expected behaviour is to select the user under pointer at right-click and create for this entry.

Version: 1.4.0 from flathub, OS: Fedora 37

SilverRainZ commented 2 years ago

In fact it is GTK3 's default behavior, but we do something with it like what we do in https://github.com/SrainApp/srain/pull/353.

SilverRainZ commented 2 years ago

@progval Can you help to deal with this?