Ticket #1036 (closed enhancement: fixed)

Opened 15 months ago

Last modified 11 months ago

(Sub-) Window closing should be made in a standard way

Reported by: Matti Tahvonen Owned by: Jani Laakso
Priority: major Milestone:
Component: gwt-adapter-server Version: 5.0.0-pre
Keywords: Cc:
Known Issue description:
Hours estimate: 0 Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: yes Contract:

Description

Closing windows on server side is currently from 4.0/millstone era when windows where mainly native windows opened by script in "main window". On close server sends sub windows uidl with attribute "invisible". Should instead send parent windows uidl, without removed/closed subwindow ( in the same way as it works in other containers ).

Note that with current "native windowing"/"windows that are iviews in client" we cannot close them from server side.

Change History

in reply to: ↑ description   Changed 14 months ago by Marc Englund

Replying to Matti Tahvonen:

... Should instead send parent windows uidl, without removed/closed subwindow ( in the same way as it works in other containers ).

This does not sound efficient (re-rendering whole main window to remove one subwindow?). IMO current(?) implementation is better - the closed window is just removed, the new render of the main window will not contain the closed window in it's uidl.

  Changed 14 months ago by Matti Tahvonen

Not a problem anymore with subtree caching.

  Changed 14 months ago by Jani Laakso

  • milestone deleted

  Changed 14 months ago by Jani Laakso

  • summary changed from (Sub-) Window closing to (Sub-) Window closing should be possible

  Changed 14 months ago by Matti Tahvonen

  • summary changed from (Sub-) Window closing should be possible to (Sub-) Window closing should be made in a standard way

closing is possible atm, but it happens in a bit weird way.

  Changed 11 months ago by Matti Tahvonen

  • status changed from new to closed
  • hours_left changed from 3 to 0
  • resolution set to fixed

in [3704]

Note: See TracTickets for help on using tickets.