Menu

#587 TFrameWindow::SetMenuDescr: Repeated assignment of the same descriptor crashes

6.36
closed
1
2024-10-31
2024-10-31
No

There is no guard against self-assignment.

This has now been fixed [r7246], and the fix has been merged into 6.44 and 7 [r7264], as well as 6.36 [r7265].

Repeated assignment of the same menu descriptor (menu template) is now safe, and will act like a call to TFrameWindow::RestoreMenu, i.e. it will recreate the actual shown menu from the descriptor.

Related

Commit: [r7246]
Commit: [r7264]
Commit: [r7265]
Commit: [r7761]
Discussion: Preparing updates OWLNext 7.0.15, 6.44.25 and 6.36.10
News: 2024/10/owlnext-7015-64425-63610-updates
Wiki: OWLNext_Stable_Releases

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 2024-10-31
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
     There is no guard against self-assignment.
    
    -This has now been fixed [r7246], and the fix has been merged into 6.44 and 7 [r7264].
    +This has now been fixed [r7246], and the fix has been merged into 6.44 and 7 [r7264], as well as 6.36 [r7265].
    
     Repeated assignment of the same menu descriptor (menu template) is now safe, and will act like a call to TFrameWindow::RestoreMenu, i.e. it will recreate the actual shown menu from the descriptor.
    
    • Group: 6.44 --> 6.36
     

    Related

    Commit: [r7246]
    Commit: [r7264]
    Commit: [r7265]

  • Vidar Hasfjord

    Vidar Hasfjord - 2024-10-31
    • Status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB