Ticket #1581 (closed defect: fixed)

Opened 6 months ago

Last modified 2 months ago

ProgressIndicator makes continuously XHR while disabled&invisible

Reported by: Mauno Haukila Owned by: Matti Tahvonen
Priority: major Milestone: User Interface Library 5.3.0 RC
Component: gwt-adapter-client Version:
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround: Do not disable ProgressIndicator, remove it from layout.
Affects release notes: yes Contract:

Description

I've upload component with progressindicator. When upload is finished, ProgressIndicator? is set disabled and invisible.

After setting it disabled, I can notice with firebug that it's continuously sending "changes=" and response is "for(;;);[{"changes":[], "meta" : {}, "resources" : {}, "locales":[]}]".

Using rev 4180

Change History

Changed 5 months ago by Joonas Lehtinen

  • milestone set to User Interface Library 5.2.1

Changed 4 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.2 backlog to User Interface Library 5.2.2

Milestone User Interface Library 5.2 backlog deleted

Changed 4 months ago by Joonas Lehtinen

  • priority changed from undefined to major

Changed 4 months ago by Marc Englund

  • owner changed from Joonas Lehtinen to Marc Englund
  • status changed from new to accepted

Changed 4 months ago by Marc Englund

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in [4771]. Also:

  • added isIndeterminate()
  • calls requestRepaint() when changing polling interval or indeterminate mode

Changed 3 months ago by Henrik Paul

  • status changed from closed to reopened
  • resolution deleted

reopening, because I found a possibly related regression:

If the progress indicator is set to either invisible (setVisible(false)) or disabled (setEnabled(false)), this behavior is as expected. But if the component is removed (componentContainer.removeComponent(indicator)), no matter if the component is set to invisible or disabled previously, the browser keeps on asking for the UIDL requests.

Using Toolkit 5.2.5, OSX and FF3

Changed 3 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.2.2 to User Interface Library 5 stable branch backlog

Changed 3 months ago by Matti Tahvonen

  • owner changed from Marc Englund to Matti Tahvonen
  • status changed from reopened to accepted

Changed 3 months ago by Matti Tahvonen

  • status changed from accepted to closed
  • resolution set to fixed

in [5074]. Client widget didn't stop timer on detach.

Henrik, please use one issue per ticket, unless you know it is the same bug.

Changed 3 months ago by Henrik Paul

Sorry, I will in the future

Changed 2 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5 stable branch backlog to User Interface Library 5.3.0 RC
Note: See TracTickets for help on using tickets.