Bug 389003 - Date and time is not shown into calendar-clock widget if no Region is selected.
Summary: Date and time is not shown into calendar-clock widget if no Region is selected.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Calendar widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 13:15 UTC by Alejandro
Modified: 2018-01-17 13:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
digital clock widged (45.20 KB, image/png)
2018-01-16 00:09 UTC, Alejandro
Details
no region selected in preferences (UTC) (93.04 KB, image/png)
2018-01-16 00:09 UTC, Alejandro
Details
Time format not selected (67.65 KB, image/png)
2018-01-16 14:51 UTC, Alejandro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro 2018-01-15 13:15:19 UTC
OS: GNU Parabola https://parabola.nu (FreeSoftware distribution similar to Arch)
Plasma version: 5.11.5
Kernel version: 4.14.12-gnu-1


Date and time is not shown into calendar-clock widget if no Region is selected.

Time shown: ,0
Date shown: None. (... january 1899)
Comment 1 Kai Uwe Broulik 2018-01-15 18:34:28 UTC
Is this about the calendar or digital-clock applet? Can you perhaps add a screenshot? What do you mean with "No Region"?
Comment 2 Alejandro 2018-01-16 00:09:04 UTC
Created attachment 109897 [details]
digital clock widged
Comment 3 Alejandro 2018-01-16 00:09:50 UTC
Created attachment 109898 [details]
no region selected in preferences (UTC)
Comment 4 Alejandro 2018-01-16 00:10:31 UTC
2 screenshots attached:

   * digital clock and calendar widges

   * no region (UTC) time.
Comment 5 Kai Uwe Broulik 2018-01-16 09:30:19 UTC
I cannot reproduce. Can you provide the output of env, especially the LC_ variables, e.g. LC_TIME. Can you check if there is a time zone selected in Time Zone settings of digital clock?
Comment 6 Alejandro 2018-01-16 14:39:09 UTC
There is no Region selected into Time Zone Settings.

'date' outoput:
mar ene 16 15:29:51 UTC 2018


'env' output:
LANG=es_ES.utf8
SUDO_GID=100
DISPLAY=:0
COLORTERM=truecolor
USERNAME=root
SUDO_COMMAND=/usr/bin/su
USER=root
PWD=/mnt
HOME=/root
SUDO_USER=user1
SUDO_UID=1000
MAIL=/var/mail/root
SHELL=/bin/bash
TERM=xterm-256color
SHLVL=1
LANGUAGE=es
LOGNAME=root
XAUTHORITY=/tmp/xauth-1000-_0
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
_=/usr/bin/env
Comment 7 Alejandro 2018-01-16 14:51:54 UTC
Created attachment 109911 [details]
Time format not selected
Comment 8 Alejandro 2018-01-16 14:56:23 UTC
If I select a Region into the REgion Window preferences (https://bugs.kde.org/attachment.cgi?id=109898), time and date are right shown into the widged.


The thing is that the widged doesn't work if no region is selected.
Comment 9 Kai Uwe Broulik 2018-01-16 15:05:03 UTC
Your env looks quite incomplete, there isn't env KDE_FULL_SESSION and the like present. I just tried unsetting alL LC_*, LANG, and LANGUAGE variables as well as setting no region, still worked here :/
Comment 10 Alejandro 2018-01-16 16:11:34 UTC
KDE_FULL_SESSION ? What is that?
Comment 11 Kai Uwe Broulik 2018-01-16 16:30:27 UTC
Was that the full output of env? If so, your setup is broken. None of the KDE environment variables set by our startup script are set.
Comment 12 Alejandro 2018-01-16 18:00:37 UTC
Yes, it was. 

By the way, I forget to say that GNU PArabola OS has 'OpenRC' instead 'systemd'.
Comment 13 Kai Uwe Broulik 2018-01-17 08:27:41 UTC
Sorry, this looks like a distribution issue.
Comment 14 Alejandro 2018-01-17 13:54:23 UTC
:(