Public bug reported:

I came across an interesting issue on my Ubuntu 21.10 machine.
Originally I wanted to make the calendar applet in the shell menu to
start the week on monday so I set up my language section according to
the attached picture.

Then I logged out from Gnome and nothing had changed when I logged back
in.

Pursuing this issue a bit further I thought of using gnome-calendar to
isolate the problem but when I started the program from the application
launcher, I noticed that gnome-calendar also had sunday as first day of
the week. Digging a little deeper among the tips found through Google, I
came across a post suggesting to set up my locale to deal with this
situation:

> locale
LANG=sv_SE.UTF-8
LANGUAGE=en
LC_CTYPE=sv_SE.UTF-8
LC_NUMERIC=sv_SE.UTF-8
LC_TIME=sv_SE.UTF-8
LC_COLLATE=sv_SE.UTF-8
LC_MONETARY=sv_SE.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_ADDRESS=sv_SE.UTF-8
LC_TELEPHONE=sv_SE.UTF-8
LC_MEASUREMENT=sv_SE.UTF-8
LC_IDENTIFICATION=sv_SE.UTF-8
LC_ALL=

> grep first_weekday /usr/share/i18n/locales/sv_SE 
first_weekday 2

So, I tried starting gnome-calendar from my gnome-terminal, where I knew
the regional settings were correct, and I still got the issue with
sunday being the first day of the week. For no real reason I restarted
the application just to make sure I hadn't committed a user error but
the problem still persisted. Being a bit frustrated at the point I rage-
quit the program and just as I did that I realised I had to check an
appointment so I quickly started gnome-calendar from the same terminal
again and got an error message

GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient
disconnected from message bus without replying

When I re-tried starting gnome-calendar from the same terminal again,
the application launched and this time with monday as first day of the
week.

Steps to reproduce
1. Start gnome-terminal
2. In terminal, issue command gnome-calendar
3. Quit Calendar and issue command gnome-calendar again in the same terminal 
two more times until error message appears as described above
4. Issue command gnome-calendar
5. Observe start of week is monday (as expected)

This problem only seems to occur when I start the X11 session. I logged
into the Wayland session to look at another problem and noticed that the
calendar applet in the shell had monday as first day of the week.
Starting gnome-calendar (from the shell menu) also presented me with a
calendar where monday was the first day of the week.

Logging out and into the X11 session again made the problem, as
originally described above, re-appear.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: gnome-calendar 41.0-1
ProcVersionSignature: Ubuntu 5.13.0-28.31-generic 5.13.19
Uname: Linux 5.13.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: GNOME
Date: Tue Feb  8 17:01:43 2022
InstallationDate: Installed on 2021-10-20 (111 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: gnome-calendar
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-calendar (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug gnome-calendar impish

** Attachment added: "Language settings"
   
https://bugs.launchpad.net/bugs/1960339/+attachment/5559743/+files/Screenshot%20from%202021-12-10%2018-04-17.png

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-calendar in Ubuntu.
https://bugs.launchpad.net/bugs/1960339

Title:
  Problems setting Monday as first day of week

Status in gnome-calendar package in Ubuntu:
  New

Bug description:
  I came across an interesting issue on my Ubuntu 21.10 machine.
  Originally I wanted to make the calendar applet in the shell menu to
  start the week on monday so I set up my language section according to
  the attached picture.

  Then I logged out from Gnome and nothing had changed when I logged
  back in.

  Pursuing this issue a bit further I thought of using gnome-calendar to
  isolate the problem but when I started the program from the
  application launcher, I noticed that gnome-calendar also had sunday as
  first day of the week. Digging a little deeper among the tips found
  through Google, I came across a post suggesting to set up my locale to
  deal with this situation:

  > locale
  LANG=sv_SE.UTF-8
  LANGUAGE=en
  LC_CTYPE=sv_SE.UTF-8
  LC_NUMERIC=sv_SE.UTF-8
  LC_TIME=sv_SE.UTF-8
  LC_COLLATE=sv_SE.UTF-8
  LC_MONETARY=sv_SE.UTF-8
  LC_MESSAGES=en_US.UTF-8
  LC_PAPER=sv_SE.UTF-8
  LC_NAME=sv_SE.UTF-8
  LC_ADDRESS=sv_SE.UTF-8
  LC_TELEPHONE=sv_SE.UTF-8
  LC_MEASUREMENT=sv_SE.UTF-8
  LC_IDENTIFICATION=sv_SE.UTF-8
  LC_ALL=

  > grep first_weekday /usr/share/i18n/locales/sv_SE 
  first_weekday 2

  So, I tried starting gnome-calendar from my gnome-terminal, where I
  knew the regional settings were correct, and I still got the issue
  with sunday being the first day of the week. For no real reason I
  restarted the application just to make sure I hadn't committed a user
  error but the problem still persisted. Being a bit frustrated at the
  point I rage-quit the program and just as I did that I realised I had
  to check an appointment so I quickly started gnome-calendar from the
  same terminal again and got an error message

  GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient
  disconnected from message bus without replying

  When I re-tried starting gnome-calendar from the same terminal again,
  the application launched and this time with monday as first day of the
  week.

  Steps to reproduce
  1. Start gnome-terminal
  2. In terminal, issue command gnome-calendar
  3. Quit Calendar and issue command gnome-calendar again in the same terminal 
two more times until error message appears as described above
  4. Issue command gnome-calendar
  5. Observe start of week is monday (as expected)

  This problem only seems to occur when I start the X11 session. I
  logged into the Wayland session to look at another problem and noticed
  that the calendar applet in the shell had monday as first day of the
  week. Starting gnome-calendar (from the shell menu) also presented me
  with a calendar where monday was the first day of the week.

  Logging out and into the X11 session again made the problem, as
  originally described above, re-appear.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: gnome-calendar 41.0-1
  ProcVersionSignature: Ubuntu 5.13.0-28.31-generic 5.13.19
  Uname: Linux 5.13.0-28-generic x86_64
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: GNOME
  Date: Tue Feb  8 17:01:43 2022
  InstallationDate: Installed on 2021-10-20 (111 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  SourcePackage: gnome-calendar
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calendar/+bug/1960339/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to