Closed Bug 1800403 Opened 1 year ago Closed 1 year ago

calendar.week.start changes by itself

Categories

(Calendar :: General, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1761736

People

(Reporter: keldy.c, Unassigned)

Details

Steps to reproduce:

  • Settings > Calendar > Start the week on > changed it from Monday to Sunday
  • restarted computer
  • advanced preferences
  • set calendar.week.start to 0 (from 1)
  • restarted computer
    (All useragent values are false or blank)

Actual results:

  1. Start of week changed back to Monday
  2. Advanced preferences
  • calendar.week.start had changed back to 1

Expected results:

  1. Start of week should have stayed at Sunday
  2. Advanced preferences
  • calendar.week.start should have stayed at 0
Component: Untriaged → General
Product: Thunderbird → Calendar

Does this still happen if you change the week start from the normal UI? Settings -> Calendar -> "Start the week on" at the top.

Flags: needinfo?(keldyonline)

Yes it does.
This is how I noticed that changing it in the normal UI did not stick.
So I investigated how to change it in advanced preferences hoping that might make it stick.

Flags: needinfo?(keldyonline)

This is weird but I just checked my calendar and, for the first time in months, the start of the week stayed set to Sunday!

Sorry! It has gone back to Monday again. My previous response was too soon (TM)

https://searchfox.org/comm-central/source/calendar/base/content/calendar-chrome-startup.js#253 Lasana mentioned this code briefly, that might be changing it.

What locale is this on?

Locale is Australia/Adelaide
I had a quick look at the code function setlocaledefaultpreferences but my coding skills are too rusty to make much sense of it

Hmm strange, I don't think we have an English(Australian), I assume you're using en-GB or en-US version?

Important question: Can you reproduce this on a blank profile? Should be pretty easy to check, you can make one by going into Help -> More Troubleshooting information -> "about:profiles" near the bottom of the table of Application Basics.

I created a new blank profile
Set Start of week to Sunday
Restarted my computer
Start of week was back to Monday

I found the useragent thingy (in case that is useful to you) Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

(I use pop not imap so I had a few thousand emails to download with a new profile. :-) ).

My regional preference is ["en-AU"] and my system locales are ["en-GB","en-AU"]

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1761736
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.