date-time-shows-undef

Bug #1467253 reported by kay van der Zander on 2015-06-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wingpanel Date & Time Indicator
New
Undecided
Unassigned

Bug Description

I haven't test it yet but it is possible that the panel label and the today_button will show 'undef' as text.

in http://bazaar.launchpad.net/~wingpanel-devs/wingpanel-indicator-datetime/trunk/view/head:/src/Services/TimeManager.vala#L48

 public string format (string format) {
  if (current_time == null)
   return "undef";

  return current_time.format (format);
 }

in the following links you can see this is not catched.
This is not a text you want to show the user

http://bazaar.launchpad.net/~wingpanel-devs/wingpanel-indicator-datetime/trunk/view/head:/src/Widgets/PanelLabel.vala#L26
http://bazaar.launchpad.net/~wingpanel-devs/wingpanel-indicator-datetime/trunk/view/head:/src/Indicator.vala#L90

description: updated
Marcus Wichelmann (l-admin-3) wrote :

What's the expected behaviour here..? Just showing nothing might cause confusion and then the "my datetime indicator disappeared" bugs are back.. :D

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers