Infinite busy loop causing a hang / freeze when switching the event editor's time widget to "PM"
Commit fc489292 caused a regression in main
where the app hangs (enters an infinite loop) if you try to change the time format DropDown widget from AM to PM in the event editor dialog, which prevents me from testing !376 as part of issue #1120.
While the hang is occurring, this gets printed repeatedly to the terminal:
12:47:09.212057 GcalScheduleSection: TRACE: EXIT: sync_datetimes():378
12:47:09.212152 GcalScheduleSection: TRACE: ENTRY: sync_datetimes():326
12:47:09.212177 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.212199 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.212253 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.212275 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.212329 GcalScheduleSection: TRACE: GOTO: sync_datetimes():335 (out)
12:47:09.212351 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.212372 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.212426 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.212448 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.212572 GcalScheduleSection: TRACE: EXIT: sync_datetimes():378
12:47:09.212670 GcalScheduleSection: TRACE: ENTRY: sync_datetimes():326
12:47:09.212695 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.212717 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.212772 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.212793 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.212847 GcalScheduleSection: TRACE: GOTO: sync_datetimes():335 (out)
12:47:09.212869 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.212890 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.212945 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.212966 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.213080 GcalScheduleSection: TRACE: EXIT: sync_datetimes():378
12:47:09.213175 GcalScheduleSection: TRACE: ENTRY: sync_datetimes():326
12:47:09.213200 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.213222 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.213277 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.213302 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
12:47:09.213356 GcalScheduleSection: TRACE: GOTO: sync_datetimes():335 (out)
12:47:09.213378 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():88: Finding best timezone with all_day=0, was_all_day=1, event_is_new=1
12:47:09.213399 GcalScheduleSection: TRACE: MSG: find_best_timezones_for_event():118: Using the local timezone
etc.
Edited by Jeff Fortin