[ wxwindows-Bugs-1879009 ] [2.8] EVT_LIST_COL_RIGHT_CLICK bug when LstCtrl scrolled

SourceForge.net noreply at sourceforge.net
Sun Feb 10 07:15:00 PST 2008


Bugs item #1879009, was opened at 2008-01-24 17:29
Message generated for change (Settings changed) made by vadz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1879009&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMSW specific
Group: None
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Phil Hinton (philhinton)
Assigned to: Nobody/Anonymous (nobody)
>Summary: [2.8] EVT_LIST_COL_RIGHT_CLICK bug when LstCtrl scrolled

Initial Comment:
Found in:

  wxPython 2.8.7.1 -- wx-2.8-msw-unicode

Also reproduced in:

  listtest.exe from wxWidget 2.8.7 ListCtrl sample

How to reproduce:

 o Open wxPython Demo

 o Navigate to Core Windows / Controls

 o Run ListCtrl demo

 o Resize window & drag vertical splitter to make ListCtrl window narrower

 o Scroll ListCtrl horizontally so that the "Artist"
column does not show

 o Left click on the "Title" column and "OnColClick:
1" is logged, as expected

 o But right click on "Title" column and "OnColRightClick: 0 (u'Artist', 0, 165, -1)" is logged.


----------------------------------------------------------------------

Comment By: SourceForge Robot (sf-robot)
Date: 2008-02-10 16:12

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Robin Dunn (robind)
Date: 2008-01-27 21:42

Message:
Logged In: YES 
user_id=53955
Originator: NO

The C++ listctrl sample in the 2.8 branch does show the problem.

----------------------------------------------------------------------

Comment By: Vadim Zeitlin (vadz)
Date: 2008-01-26 23:41

Message:
Logged In: YES 
user_id=71618
Originator: NO

I don't see it in the C++ listctrl sample (in the trunk): if I I start it
and make the window of minimal possible width, a horizontal scrollbar
appears but even if I scroll it to the rightmost limit right clicking on
the columns still gives the correct index in the log messages.

So it has either been fixed in the trunk (but I don't see any relevant
changes) or it depends on Windows version (tested under 2003) or it's
somehow Python-specific. Or maybe I misunderstood the bug... Robin, could
you please check the C++ sample and tell me if you see the problem there?
Thanks!

----------------------------------------------------------------------

Comment By: Robin Dunn (robind)
Date: 2008-01-24 17:55

Message:
Logged In: YES 
user_id=53955
Originator: NO

In other words, the column value in the event object does not take
scrolling into account, and when the first column is scrolled out of view
and the header is right-clicked then the column value in the event is based
on what is the first visible column instead of its real column number.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1879009&group_id=9863




More information about the wx-dev mailing list