| Ticket UUID: | 3205260 | |||
| Title: | [wm manage] crash | |||
| Type: | Bug | Version: | None | |
| Submitter: | beric | Created on: | 2011-03-10 10:20:26 | |
| Subsystem: | 68. Win Window Operations | Assigned To: | patthoyts | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2011-03-10 22:32:50 | |
| Resolution: | Fixed | Closed By: | patthoyts | |
| Closed on: | 2011-03-10 15:32:50 | |||
| Description: |
Under windows, using [wm manage] on a frame containing a Tkhtml3 widget crashes. In fact, RemapWindows() in win/tkWinWm.c checks that the class of window is not "Menu". Since Tkhtml3 creates a child window without setting the class, this check crashes. Checking that the class is not NULL before calling strcmp will fix it. The unix and macosx implementations of RemapWindows() don't check the class (tk8.5.9). | |||
| User Comments: |
patthoyts added on 2011-03-10 22:32:50:
allow_comments - 1 patthoyts added on 2011-03-10 22:32:29: applied to core-8-5-branch patthoyts added on 2011-03-10 21:03:17: committed to HEAD (aka trunk) patthoyts added on 2011-03-10 19:52:19: File Added - 403941: 0001-Bug-3205260-avoid-crash-in-wm-manage-of-children-wit.patch patthoyts added on 2011-03-10 19:49:40: Confirmed - and the analysis is correct. I've a patch ready that makes it possible to manage tkhtml3. Just awaiting the ability to actually commit it. | |||
Attachments:
- 0001-Bug-3205260-avoid-crash-in-wm-manage-of-children-wit.patch [download] added by patthoyts on 2011-03-10 19:52:19. [details]
