Re: Possible wxListView bug?

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Thu, 29 Feb 2024 09:40:11 -0800 (PST) Marco DeFreitas wrote:

MD> I am having problems with wxListView and multi-select. After I select and 
MD> item and delete it, the multi-select feature seems to break. I can see this 
MD> in the listctrl sample program as well. I am using wxWidgets 3.2.1 on Red 
MD> Hat 8 Linux. You can see the problem by bringing up the listctrl sample 
MD> program and then:
MD> 
MD> 1) From the menu, select “List->Multiple Selection”
MD> 
MD> 2) Click on the first item to select it
MD> 
MD> 3) From the menu. Select "List->Delete first item"
MD> 
MD> 4) Click on the second row
MD> 
MD> 5) Shift-click the third row
MD> 
MD> Instead of the second and third row being selected, the first through third 
MD> are selected. Note that this problem does NOT occur if I skip step 2 from 
MD> above. I’m not sure if this is a bug in the wx-Widgets code or in the 
MD> sample program...
MD> 
MD> Any ideas?

 Hello Marco

 From the description it looks like it could be the same problem that was
recently fixed by https://github.com/wxWidgets/wxWidgets/pull/24332 (thanks
to @taler21) and, indeed, I can't reproduce it following the steps above
with the current master.

 Could you please check if applying the same fix to your version helps?
I've also just pushed this fix to 3.2 branch, so if you update to the very
latest 3.2 from Git (what will become 3.2.5 soon), the problem should also
be fixed -- but please let us know if it isn't.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
              https://www.tt-solutions.com/
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZeNPxwAKCRAG6kHeT2we
hoR2AJ0YJWRYJobDibMQZeAogFeAiiyXtgCcDxJ9JTcYnkPDHHTFY5FDj8D2+dc=
=FXxX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.