! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Clock does not honour daylight changes
Status:
RESOLVED: MOVED
Product:
Xfce4-panel

Comments

Description drjoms 2020-03-31 17:49:32 CEST
Its an odd one.
I am based in Ireland. We had time changed just recently. Daylight changes. And this is how issue got triggered.

Once time changed i noticed one hour difference.

Restarted X, relogged into console, same story. One hour difference.
Where does XFCE4 Clock is taking its data zone info from?

I realised i had wrong time zone. I changed it to dublin time zone.
It did not change much, because I am in UTC zone as is.

I am gentoo user. And I am positively sure that my clock settings are set up correctly. (ntp syncronised, and 'date' command from console is set up correctly and shows correct time)
After clock changed - i have Xfce clock one hour behind. I installed Xclock for shit and giggles, and it worked just fine. It shows time correct under my user.



Killing Xorg and starting 'startxfce' did not help.(startxfce is started as user from console) I did not  restart machine, because I wanted to have reliable way to recreate issue in case someone asked to reproduce problem.

I realised i had wrong time zone(i think it was set to UTC and not to my time zone). I changed it to dublin time zone.
It did not change much, because I am in UTC zone as is.I realised i had wrong time zone. I changed it to dublin time zone.

(none)dimko's Desktop /home/dimko # hwclock -r --localtime
2020-03-31 15:35:46.140282+01:00
(none)dimko's Desktop /home/dimko # hwclock -r 
2020-03-31 16:35:53.734048+01:00

timedatectl
               Local time: Tue 2020-03-31 16:36:47 IST
           Universal time: Tue 2020-03-31 15:36:47 UTC
                 RTC time: Tue 2020-03-31 15:36:48
                Time zone: Europe/Dublin (IST, +0100)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: no


Now it's were it gets odd.

Killing Xorg and starting new session of xfce under root clock app works just fine!

from root console
timedatectl 
               Local time: Tue 2020-03-31 16:39:28 IST
           Universal time: Tue 2020-03-31 15:39:28 UTC
                 RTC time: Tue 2020-03-31 15:39:29
                Time zone: Europe/Dublin (IST, +0100)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: no


echo LC_TIME   - produced no result under root or user.


and i would not be a gentoo user if I did not fuck with things.

So I deleted app from panel.
Added it back. And my jaw dropped.Correct time is now seen.

Bug still remains I am afraid, but its rather tricky to reproduce for average Joe. I could, but I am too lazy.
Devs, please keep me lazy and solve this annoying little bug!
Comment 1 Git Bot editbugs 2020-05-28 02:19:22 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/285.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16617

Reported by:
drjoms
Reported on: 2020-03-31
Last modified on: 2020-05-28

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information