SrainApp / srain

Modern IRC client written in GTK

Home Page:https://srain.silverrainz.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

djasa opened this issue · comments

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

In fact it is GTK3 's default behavior, but we do something with it like what we do in #353.

@progval Can you help to deal with this?