Thread: [qooxdoo-bugs] [Bug 1523] New: terminate() and close() methods are not called
Brought to you by:
ecker,
martinwittemann
From: <bug...@qo...> - 2008-10-29 15:55:33
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 Summary: terminate() and close() methods are not called Product: framework Version: 0.8 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: ui-core AssignedTo: no...@qo... ReportedBy: fne...@we... QAContact: qoo...@li... After migration from 0.7, the terminate() and close() methods of my Application class seem to be never called. -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2008-11-05 09:03:13
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 ae...@sc... changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|no...@qo... |jon...@1u... Target Milestone|unspecified |0.8.1 ------- Comment #1 from ae...@sc... 2008-11-05 10:03 ------- @Johnny. The application lifecycle changed, e.g. http://api.qooxdoo.org/#qx.application.IApplication . Please add some information to the migration guide how to translate the former 0.7 lifecycle methods to 0.8 equivalents. -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2008-11-05 13:02:56
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 jon...@1u... changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #2 from jon...@1u... 2008-11-05 14:02 ------- Accepted. -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2008-11-05 17:49:06
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 ------- Comment #3 from hg...@ci... 2008-11-05 18:48 ------- In 0.7 application close() was hooked into the standard Javascript event onBeforeUnload. I use it to ensure that users logout properly from the server - normally this is done from a menu item in our app which waits to confirm that the server has acknowledged the logout. In the close() method I start the logout and then put up an alert, asking them to use the menu item in future. In the time it takes the user to acknowledge the alert, the logout request completes. Searching the 0.8 codebase I find that onBeforeUnload is only hooked to prevent out of memory errors in IE with Flash embedding. Looks like I won't be able to port across my special code to logout from the server. I suppose there's nothing to prevent me hooking onBeforeUnload directly, but it would be nicer if qooxdoo didn't change the API... That's what you get for using 0.x releases, I guess! Hugh -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2008-11-10 15:23:31
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 ------- Comment #4 from jon...@1u... 2008-11-10 16:23 ------- With r16637 we brought back the close() method and it is possible to cancel the unload process, again. -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2008-11-10 17:34:16
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 ------- Comment #5 from ale...@1u... 2008-11-10 18:34 ------- Just a note: the current implementation has a side-effect in IE browsers. E.g. the BOM selection demo does raise an error when it is unloaded. The problem is --snip-- // qx.core.Init __close : function(e) { var app = this.__application; if (app) { e.setReturnValue(app.close()); } } --snip-- This method relies on that a "qx.event.type.Native" is passed as a parameter. This listener method is called whenever a "beforeunload" event is fired. --snip-- qx.event.Registration.addListener(window, "beforeunload", statics.__close, statics); --snip-- This "beforeunload" event is unfortunately also fired by the "qx.event.handler.Window" class inside "_onNative" listener. And this handler fires an instance of "qx.event.type.Event" leading to an error because this event class does not implement the "setReturnValue" method. -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2008-11-11 13:21:56
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 jon...@1u... changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #6 from jon...@1u... 2008-11-11 14:21 ------- Alex, we moved the event to window to avoid this problem. I have added a note to the migration guide to state the changes form 0.7.x to 0.8: http://qooxdoo.org/documentation/0.8/migration_guide_from_07 -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2009-01-18 16:26:24
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 der...@un... changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #7 from der...@un... 2009-01-18 17:26 ------- Although the close() method is properly called before unload now, the terminate() method is not called upon completion of unloading. The low-level event handler, qx.core.Init.__close() gets called but qx.core.Init.__shutdown() does not. Derrell -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2009-01-18 16:29:43
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 ------- Comment #8 from der...@un... 2009-01-18 17:29 ------- BTW, I tested this in Firefox 3.0.5. It's possible that the "shutdown" event is properly firing in other browsers. Derrell -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2009-01-19 08:51:35
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 jon...@1u... changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|0.8.1 |0.8.2 ------- Comment #9 from jon...@1u... 2009-01-19 09:51 ------- Changed MS -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2009-02-25 10:03:01
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 ae...@sc... changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 ------- Comment #10 from ae...@sc... 2009-02-25 11:02 ------- raised prio -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2009-03-02 16:19:17
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 jon...@1u... changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jon...@1u... |fab...@1u... Status|REOPENED |NEW ------- Comment #11 from jon...@1u... 2009-03-02 17:19 ------- -> Fabian -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2009-03-06 09:21:24
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 fab...@1u... changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|0.8.2 |0.8.3 ------- Comment #12 from fab...@1u... 2009-03-06 10:20 ------- fixed in trunk (rev. 18344) -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. |
From: <bug...@qo...> - 2014-03-03 14:49:18
|
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523 Martin Wittemann <mar...@1u...> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Martin Wittemann <mar...@1u...> 2014-03-03 15:19:45 CET --- Closed all bugs already shipped with a release. -- Configure bugmail: http://bugzilla.qooxdoo.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are watching all bug changes. |