http://bugs.codeweavers.com/show_bug.cgi?id=581
*** shadow/581 Wed Apr 17 14:38:58 2002 --- shadow/581.tmp.15179 Wed Apr 17 14:38:58 2002 *************** *** 0 **** --- 1,36 ---- + +============================================================================+ + | Weird contextmenu appearing on Open common dialogbox | + +----------------------------------------------------------------------------+ + | Bug #: 581 Product: Wine | + | Status: UNCONFIRMED Version: 20020310 | + | Resolution: Platform: | + | Severity: normal OS/Version: All | + | Priority: P1 Component: wine-misc | + +----------------------------------------------------------------------------+ + | Assigned To: wine-bugs@winehq.com | + | Reported By: myasar@free.fr | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | Milestone: TargetMilestone: --- | + | URL: | + +============================================================================+ + | DESCRIPTION | + Launch notepad for example and File|Open to open Openfile dialog, + select "Detailled view". + Double-click inside the listview on a blank zone causes a + context menu to appears at coord (0,0) of the screen. + + Cause : + In listview.c we are sending LVM_ITEMSELECTA on doubleclick : + we see in LISTVIEW_LButtonDblClk()) : hdr_notify(hwnd, LVN_ITEMACTIVATE) + + From shell32/shlview.c ShellView_OnNotify() we have : + + case LVN_ITEMACTIVATE: + TRACE("-- LVN_ITEMACTIVATE %p\n",This); + OnStateChange(This, CDBOSC_SELCHANGE); /* the browser will get the + IDataObject now */ + ShellView_DoContextMenu(This, 0, 0, TRUE); + break; + + Tested on Wine-20020411 (and previous releases) \ No newline at end of file