Menu

#1622 deleted bookmarked description in bookmark list

StuartMill
closed
rc.4 (14)
4normal
2023-06-08
2023-05-28
No

I created a Description.
Edited it to add bookmark.
Then deleted it.
It still appears in Bookmark list.

1 Attachments

Discussion

  • High Performance Coder

    Ha - yes it wasn't designed that way, but I suppose it makes sense for the book mark to disappear when its defining object does.

     
  • High Performance Coder

    • status: open --> closed
    • assigned_to: High Performance Coder
     
  • High Performance Coder

    This proved a little tricky to solve. It was easy enough to place code to update the backend bookmarks list in group remove/add item methods, and also openGroupInCanvas. The problem was getting that state to reflect in the menu, since there doesn't appear to be any way of attaching code to a menu to be run before it is posted (unlike Tk's -postcommand option). Instead, I had to add another callback which executes BookmarkManager.updateBookmarkList() whenever the bookmarks list is changed on the backend.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB