Page MenuHomePhabricator

behavior-fancy-datepicker may freeze chrome and firefox when `week start on` set to monday
Closed, ResolvedPublic

Description

No that this isn't a bug report against calendar (which is prototype I know) but against bad javelin component.
However the step to reproduce use calendar since it's is the most obvious part where this javelin component is used.

Step to reproduce

  • set Week Starts On to monday in user pref (who starts the weeks on sunday anyway)
  • create a new calendar event
  • try to fix end date going to something in november 2015:
    • to do this use arrows
  • then it freezes chrome windows

My understanding

Debugging it in chrome reveal me that when trying to edit the month and go to the next month :

I'm note sure how to fix this @epriestley, would you mind guide me ?

Event Timeline

I guess some absolute value somewhere maybe while(abs(start--)) instead

tycho.tatitscheff renamed this task from behavior-fancy-datepicker freeze the chrome and firefox when trying to acces the future to behavior-fancy-datepicker freeze the chrome and firefox when trying to acces the future and week start on set to monday.Oct 31 2015, 4:32 PM
tycho.tatitscheff updated the task description. (Show Details)

Edited, seems not to happen when week start on sunday !

tycho.tatitscheff renamed this task from behavior-fancy-datepicker freeze the chrome and firefox when trying to acces the future and week start on set to monday to behavior-fancy-datepicker may freeze chrome and firefox when `week start on` set to monday.Nov 1 2015, 9:09 AM
tycho.tatitscheff updated the task description. (Show Details)

@epriestley do you think it is worth trying to debug this ? those javelin components have alaways feel strange to me and for this one in peculiar, it really feels hard debugging it.