Re: Missing time in panel
Jeremy writes: > And voila! You guys saved me about two days of chasing my tail. Creating > the symbolic link for /etc/localtime to the Chicago time zone in > /use/share/zoneinfo fixed the issue. Now the time and date are properly > displayed on the panel and in the sddm greeter. > > Thanks for your help, > Jeremy Cox > > On Mon, Jun 22, 2020, 09:05 Adriaan de Groot wrote: > >> On Monday, 22 June 2020 12:14:51 CEST Jeremy wrote: >> > My /etc/localtime file is a binary file. It isn't a symbolic link to the >> > timezone file. >> >> That's actually a really important bit, there: try moving it aside for a >> moment, making it a symlink, and then giving it a try. I thought I had >> re-done >> the patches handling that case for FreeBSD, and landed them in 5.15. >> >> [ade] The same issue appeared for me after updating to 5.15, and the /etc/localtime symlink workaround fixes it. Adriaan, it would be great if those patches could be re-applied! Bengt
Re: Missing time in panel
I don't have a file or folder named /var/db/localtime. I do have a file called zoneinfo in /var/db. It's an ASCII text file with the current time zone in it. To answer your second question I did tzsetup and changed my timezone from Chicago to Center, North Dakota since it's a 3 level zone name (America/North_Dakota/Center). There were no issues and the settings page picked up the new time zone with no issues. On Wed, Jun 24, 2020, 03:29 Adriaan de Groot wrote: > On Monday, 22 June 2020 18:38:57 CEST Jeremy wrote: > > And voila! You guys saved me about two days of chasing my tail. Creating > > the symbolic link for /etc/localtime to the Chicago time zone in > > /use/share/zoneinfo fixed the issue. Now the time and date are properly > > displayed on the panel and in the sddm greeter. > > > > Jeremy, the code in Qt is *supposed* to fall back as follows: > > - if /etc/localtime is a symlink, read the link iteself, extract name > - if it isn't, read contents of /var/db/localtime for the name > - otherwise, UTC or blank or something > > Can you take a look at your /var/db/localtime? What's in it? > > [ade] > > PS. That said, I do wonder how this code does in the face of 3-level zone > names, like America/Indiana/Winamac
Re: Missing time in panel
On Monday, 22 June 2020 18:38:57 CEST Jeremy wrote: > And voila! You guys saved me about two days of chasing my tail. Creating > the symbolic link for /etc/localtime to the Chicago time zone in > /use/share/zoneinfo fixed the issue. Now the time and date are properly > displayed on the panel and in the sddm greeter. > Jeremy, the code in Qt is *supposed* to fall back as follows: - if /etc/localtime is a symlink, read the link iteself, extract name - if it isn't, read contents of /var/db/localtime for the name - otherwise, UTC or blank or something Can you take a look at your /var/db/localtime? What's in it? [ade] PS. That said, I do wonder how this code does in the face of 3-level zone names, like America/Indiana/Winamac signature.asc Description: This is a digitally signed message part.
Re: Missing time in panel
Awesome, glad to hear it. mfg Tobias On Mon, 22 Jun 2020 at 18:39, Jeremy wrote: > > And voila! You guys saved me about two days of chasing my tail. Creating the > symbolic link for /etc/localtime to the Chicago time zone in > /use/share/zoneinfo fixed the issue. Now the time and date are properly > displayed on the panel and in the sddm greeter. > > Thanks for your help, > Jeremy Cox > > On Mon, Jun 22, 2020, 09:05 Adriaan de Groot wrote: >> >> On Monday, 22 June 2020 12:14:51 CEST Jeremy wrote: >> > My /etc/localtime file is a binary file. It isn't a symbolic link to the >> > timezone file. >> >> That's actually a really important bit, there: try moving it aside for a >> moment, making it a symlink, and then giving it a try. I thought I had >> re-done >> the patches handling that case for FreeBSD, and landed them in 5.15. >> >> [ade]
Re: Missing time in panel
And voila! You guys saved me about two days of chasing my tail. Creating the symbolic link for /etc/localtime to the Chicago time zone in /use/share/zoneinfo fixed the issue. Now the time and date are properly displayed on the panel and in the sddm greeter. Thanks for your help, Jeremy Cox On Mon, Jun 22, 2020, 09:05 Adriaan de Groot wrote: > On Monday, 22 June 2020 12:14:51 CEST Jeremy wrote: > > My /etc/localtime file is a binary file. It isn't a symbolic link to the > > timezone file. > > That's actually a really important bit, there: try moving it aside for a > moment, making it a symlink, and then giving it a try. I thought I had > re-done > the patches handling that case for FreeBSD, and landed them in 5.15. > > [ade] >
Re: Missing time in panel
On Monday, 22 June 2020 12:14:51 CEST Jeremy wrote: > My /etc/localtime file is a binary file. It isn't a symbolic link to the > timezone file. That's actually a really important bit, there: try moving it aside for a moment, making it a symlink, and then giving it a try. I thought I had re-done the patches handling that case for FreeBSD, and landed them in 5.15. [ade] signature.asc Description: This is a digitally signed message part.
Re: Missing time in panel
My /etc/localtime file is a binary file. It isn't a symbolic link to the timezone file. So I'm going to try and revert qt 5.15 and rebuild my repo up to the plasma 5.19.1 update and verify the time displays properly in the panel. If it does then I'll update my repo up to the frameworks 5.71.0 update and see what happens. Maybe it's one of those updates. After that I may just delete the qml cache and my desktop config file. Reconfiguring isn't a big deal. It takes all of a couple of minutes. On Mon, Jun 22, 2020, 04:55 Tobias C. Berner wrote: > Is it a symlink or a real file? > > If I recall correctly, Qt assumes that this is a symlink that points > to the timezone file you want. > > e.g. > > file /etc/localtime > /etc/localtime: symbolic link to /usr/share/zoneinfo/Europe/Zurich > > > > mfg Tobias > > On Mon, 22 Jun 2020 at 11:45, Jeremy wrote: > > > > It says: > > > > localtime: timezone data, version 2, 6 gmt time flags, 6 std time flags, > no leap seconds, 235 transition times, 6 abbreviation chars > > > > On Mon, Jun 22, 2020, 04:39 Tobias C. Berner > wrote: > >> > >> Just a hunch... whats > >> > >> > file /etc/localtime > >> > >> on your system? > >> > >> > >> mfg Tobias > >> > >> On Mon, 22 Jun 2020 at 11:32, Jeremy wrote: > >> > > >> > Plasma 5 does know what the time and date are. When I try to > configure the time and date from the settings page it is correct. It just > doesn't display at all in the panel. Incidentally, trying to add a digital > clock widget directly to the desktop doesn't work either. And the binary > clock widget doesn't work either. I just noticed that the sddm greeter > doesn't display the time or date as well. > >> > > >> > So I'm going to revert the qt 5.15 update and try rebuilding my ports > repo up to the plasma 5.19.1 update and then up to the frameworks 5.71.0 > update and see if either of those are the issue, though I doubt the plasma > 5 point release is the problem. > >> > > >> > On Mon, Jun 22, 2020, 03:29 Tobias C. Berner > wrote: > >> >> > >> >> Moin moin > >> >> > >> >> Interesting -- I have been using that branch for quite some time now, > >> >> and have not noticed this. > >> >> > >> >> > >> >> mfg Tobias > >> >> > >> >> On Sun, 21 Jun 2020 at 21:20, Jeremy wrote: > >> >> > > >> >> > I decided to clone the freebsd-ports-kde qt5-5.15.0 branch and > rebuild plasma5 based on qt5.15, instead of waiting for the exp-run to > complete. > >> >> > > >> >> > The qt5 ports and plasma5 ports rebuilt successfully and are > running well. However, the digital clock on the lower right hand corner of > the panel is missing. I don't see an option to add it. I tried adding a > digital clock widget to the panel and it doesn't display either. > >> >> > > >> >> > And when I click the space where the digital clock should appear, > the calendar pops up. It displays the current month as January and below > that is a comma and the number zero where I believe a holiday event might > appear(?) I don't remember. In the boxes where the numbered days should be, > the numbers start with negative five and increase numerically by one as in > a normal calendar and end in 36. > >> >> > > >> >> > I wanted to see if anyone else has experienced these issues before > I try a drastic step like clearing out all of the configuration and qml > cache files. > >> >> > > >> >> > Thank you guys for all of your hard work keeping plasma5 current > and updated regularly. > >> >> > > >> >> > Regards, > >> >> > Jeremy Cox >
Re: Missing time in panel
On Monday, 22 June 2020 00:55:28 CEST Jeremy wrote: > I forgot to add that this is 12 stable (r362388) on amd64. The git branch I > used for qt5-5.15.0 is identical to the one from freebsd-ports-kde. The > qt5-5.15.0 branch on freebsd-ports-kde is on revision 20fe16b. "works for me", which is really unhelpful here. Your description does indeed sound like bonkers QML files. If you recently switched over to Qt 5.15 there may indeed be leftovers: generally Qt QML versioning should prevent that, but who knows what evil lurks^W^Wsurprises there may be. Can you, though, right-click on the spot where the clock should be? You should have a *configure digital clock* and *show alternatives* in there, either of which might be useful. The things you're trying to debug **probably** live under /usr/local/share/ plasma/plasmoids/org.kde.plasma.digitalclock/ in source form; I don't know enough about QML caching and compilation to say where any other files might be. [ade] signature.asc Description: This is a digitally signed message part.
Re: Missing time in panel
Moin moin Interesting -- I have been using that branch for quite some time now, and have not noticed this. mfg Tobias On Sun, 21 Jun 2020 at 21:20, Jeremy wrote: > > I decided to clone the freebsd-ports-kde qt5-5.15.0 branch and rebuild > plasma5 based on qt5.15, instead of waiting for the exp-run to complete. > > The qt5 ports and plasma5 ports rebuilt successfully and are running well. > However, the digital clock on the lower right hand corner of the panel is > missing. I don't see an option to add it. I tried adding a digital clock > widget to the panel and it doesn't display either. > > And when I click the space where the digital clock should appear, the > calendar pops up. It displays the current month as January and below that is > a comma and the number zero where I believe a holiday event might appear(?) I > don't remember. In the boxes where the numbered days should be, the numbers > start with negative five and increase numerically by one as in a normal > calendar and end in 36. > > I wanted to see if anyone else has experienced these issues before I try a > drastic step like clearing out all of the configuration and qml cache files. > > Thank you guys for all of your hard work keeping plasma5 current and updated > regularly. > > Regards, > Jeremy Cox
Re: Missing time in panel
I forgot to add that this is 12 stable (r362388) on amd64. The git branch I used for qt5-5.15.0 is identical to the one from freebsd-ports-kde. The qt5-5.15.0 branch on freebsd-ports-kde is on revision 20fe16b.