srain icon indicating copy to clipboard operation
srain copied to clipboard

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

Open djasa opened this issue 3 years ago • 2 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

djasa avatar Sep 01 '22 19:09 djasa

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 avatar Sep 05 '22 16:09 SilverRainZ

@progval Can you help to deal with this?

SilverRainZ avatar Sep 07 '22 17:09 SilverRainZ