Opened 8 years ago

Last modified 3 years ago

#3241 released defect (fixed)

Parameters and URIs sometimes end up in the wrong window

Reported by: Marc Englund Owned by: Marc Englund
Priority: blocker Milestone: Vaadin 6.1.0
Component: undefined Version: 6.0.1
Keywords: Cc:
Depends on:
Workaround:
Verified:
Fv: no Pro Account: Mark as Priority

Description

The current windowing implementation (for having multiple browser windows showing the same application) is somewhat buggy, in addition to being hard to understand and do properly.

The most important aspect is this: both parameters and URIs end up in the main window, if the window name is not specified in the url.

Change history (5)

comment:1 Changed 8 years ago by Marc Englund

  • Summary changed from Windowing multiple problems (reload,param/uri-handler) to Parameters and URIs end up in the wrong Window

comment:2 Changed 8 years ago by Marc Englund

  • Summary changed from Parameters and URIs end up in the wrong Window to Parameters and URIs sometimes end up in the wrong window

comment:3 Changed 8 years ago by Marc Englund

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [8581]

Parameters and URIs now end up in the window we're about to show.

To avoid instantiating new windows when pressing reload, one should (still) change the url to the "window specific url" using window.open() (in getWindow):

w.open(new ExternalResource(w.getURL()));

Note:

  • Opera never fires onunload or onbeforeunload; reload will behave differently (this is not new to this patch, but might not have been realized before)

comment:4 Changed 3 years ago by Artur Signell

  • Fv unset

comment:5 Changed 3 years ago by Artur Signell

  • Status changed from closed to released
Note: See TracTickets for help on using tickets.