This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#394 closed defect (fixed)

Timetable is too slow in some situations (makes browser hang)

Reported by: pferreir Owned by: irolewic
Priority: high Milestone: v0.97.0
Component: Timetable Version: 0.97.0
Keywords: Cc:

Description

i.e. http://indico.cern.ch/confModifSchedule.py?confId=35523#20090324

Apparently due to Draw.js:277 (height calculation) which is needed for truncation.

Change History (3)

comment:1 Changed 5 years ago by irolewic

  • Owner set to irolewic
  • Status changed from new to accepted

comment:2 Changed 5 years ago by ian.rolewicz@…

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

commit c2bed6a554f6ad3e6d91db7de03818543adb1e20
Author: Ian Rolewicz <ian.rolewicz@…>
Date: Tue May 18 08:36:30 2010 +0200

[FIX] Timetable JS makes browser hang


  • fixes #394
  • An edge case in Draw.js (drawing a block of the timetable with a location displayed on two lines) made a statement in a while loop to be always true. This meant an infinite loop and the hanging of the browser
  • Added a condition in one of the other statements in order to catch this edge case.

comment:3 Changed 5 years ago by Ian Rolewicz <ian.rolewicz@…>

In [c2bed6a554f6ad3e6d91db7de03818543adb1e20]:

[FIX] Timetable JS makes browser hang

  • fixes #394
  • An edge case in Draw.js (drawing a block of the timetable with a location displayed on two lines) made a statement in a while loop to be always true. This meant an infinite loop and the hanging of the browser
  • Added a condition in one of the other statements in order to catch this edge case.
Note: See TracTickets for help on using tickets.