Opened 3 years ago

Last modified 7 weeks ago

#17466 new bug

Icon-O-Matic's Save/Open panel of closed window crashes app (if more than one window is opened) — at Version 2

Reported by: alwayslivid Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/Icon-O-Matic Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by alwayslivid)

Steps to reproduce:

  • Open two Icon-O-Matic windows.
  • Click on the "Open" panel on the first window.
  • Close the first window. The panel will still be alive, because it only gets deleted if the entire application shuts down (in the destructor of IconEditorApp).
  • The panel will still be visible to the user. If it is used, this will crash the entire application, because the window that the panel was originally "connected" to is now a dangling pointer.

This bug was found while experimenting with https://dev.haiku-os.org/ticket/8735 on hrev55697

The easiest solution here is to hide the panel.

Change History (2)

comment:1 by nephele, 3 years ago

Component: - GeneralApplications/Icon-O-Matic
Keywords: icon-o-matic removed
Owner: changed from nobody to stippi
Priority: highnormal

comment:2 by alwayslivid, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.