Opened 15 years ago

Last modified 15 years ago

#3919 closed bug

BListView does not Invoke when double cliking — at Version 1

Reported by: romain Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by axeld)

seen in hrev30699

Double clicking on an item of a BListView does not trigger invocation. This probably appeared with changes in hrev30149, but the problem comes from the reset of fTrack->item_index in MouseUp. Releasing the mouse does not mean that the selected item is no more active. Also we do not need this to handle dragndrop status since try_drag is used for that. The attached patch should fix this

I reproduce this very easily on a vmware install in the printer preference app: double click on one printer does not make it the default one.

Change History (2)

by romain, 15 years ago

Attachment: 20090510-listview.diff added

comment:1 by axeld, 15 years ago

Description: modified (diff)

A small tip: if you write "rev30699" as hrev30699, Trac is smart enough to create a link to the actual changes (I've already changed your description, in case you wonder).

Note: See TracTickets for help on using tickets.