Modify ↓
Opened 12 years ago
Closed 12 years ago
#2218 closed Bug (Fixed)
AutoIt crash when using SetGroupInfo with $LVGS_SELECTED state before SetItemGroupID
Reported by: | MrCreatoR <mscreator@…> | Owned by: | guinness |
---|---|---|---|
Milestone: | 3.3.9.5 | Component: | Standard UDFs |
Version: | 3.3.8.1 | Severity: | None |
Keywords: | Crash Group ListView | Cc: |
Description
Check this example:
#include <GUIConstantsEx.au3> #include <GUIListView.au3> $hGUI = GUICreate("Test Script", 300, 200) $iLV = GUICtrlCreateListView('Columnn', 20, 20, 260, 160) $iLV_Item = GUICtrlCreateListViewItem('Item 1', $iLV) _GUICtrlListView_EnableGroupView($iLV) _GUICtrlListView_InsertGroup($iLV, 0, 1, 'Group 1') _GUICtrlListView_SetGroupInfo($iLV, 1, 'Group 1', 1, $LVGS_SELECTED) _GUICtrlListView_SetItemGroupID($iLV, 0, 1) GUISetState(@SW_SHOW, $hGUI) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
I know it's wrong usage, discovered by accident :)
But AutoIt should not crash.
P.S.
It's crashed when $LVM_SETGROUPINFO is sent.
Attachments (0)
Change History (2)
comment:1 Changed 12 years ago by trancexx
- Component changed from AutoIt to Standard UDFs
comment:2 Changed 12 years ago by guinness
- Milestone set to 3.3.9.5
- Owner set to guinness
- Resolution set to Fixed
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
Fixed by revision [7268] in version: 3.3.9.5