Issue 7411 in pharo: [Spec] Closing a window with unaccepted content does not trigger any notification

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 7411 in pharo: [Spec] Closing a window with unaccepted content does not trigger any notification

pharo
Status: New
Owner: ----
Labels: Milestone-2.0 Type-Bug

New issue 7411 by [hidden email]: [Spec] Closing a window with  
unaccepted content does not trigger any notification
http://code.google.com/p/pharo/issues/detail?id=7411

When there is a text editor with unaccepted content and  
askBeforeDiscardingEdits set to true I can close the window without any  
notification. For example open a message browser edit, something and them  
close the window:
MessageBrowser new
        openWithSpec;
        messages: (SystemNavigation new allSendersOf: #at:)
        yourself.

I guess this happens because WindowModel does not register any contained  
widget as dependents, so ComposableModel>>okToChange won't be called on the  
widgets.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7411 in pharo: [Spec] Closing a window with unaccepted content does not trigger any notification

pharo
Updates:
        Status: Accepted
        Cc: [hidden email] [hidden email]
        Labels: Target-Spec

Comment #1 on issue 7411 by [hidden email]: [Spec] Closing a window  
with unaccepted content does not trigger any notification
http://code.google.com/p/pharo/issues/detail?id=7411

Looks like this one is similar to Issue 7396: [Spec] ButtonModel should  
support askBeforeChanging


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7411 in pharo: [Spec] Closing a window with unaccepted content does not trigger any notification

pharo
Updates:
        Labels: -Milestone-2.0 -Type-Bug Milestone-3.0 Type-Enh

Comment #2 on issue 7411 by [hidden email]: [Spec] Closing a window  
with unaccepted content does not trigger any notification
http://code.google.com/p/pharo/issues/detail?id=7411

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker