Description of problem:
If you are using the date selection widget in subscription-manager, it does not let you open the graphical date selection tool if you have a invalid date entered in the text box.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install subscription-manager-gnome and all its dependencies
2. Register rhsm
3. Open subscription-manager-gui
4. Go to the "All Available Subscriptions" tab
5. Erase the date in the date selection text box (or enter in an invalid date)
6. Click on the calendar button that lets you select the date graphically
The widget returns a "invalid date format" error, and cannot be used until a valid date is typed in.
If a invalid date is detected, it would open up the graphical selection tool so that I could select a valid date.
If an invalid date is detected and the graphicl selection tool is selected, I could possibly enter in today's date in the text field, and then open up the tool.
We added the text box for 508 compliance and QA automation, since users with screen readers can't access the calendar (see 670212 and https://bugzilla.gnome.org/show_bug.cgi?id=321123).
If we send the user from the text box to the calendar on error, they would be in a jam if they were using a screen reader.
I'm going to mark as NOTABUG, but let me know if you need anything altered, or want to discuss it further.
I suggest the following be implemented:
* If the text-based-date-field is invalid when the calendar icon is clicked, return a "invalid date format" error as done today.
* If the text-based-date-field is blank when the calendar icon is clicked, enter in today's date in the text field, and then open up the
I think this will improve the usability in the case that a user has messed up the date string and just wants to erase their settings. and then use the calendar widget to do the hard work.
Upon further review, I think jmolet's Additional notes is best:
If an invalid date is detected and the graphicl selection tool is selected, It
could correct the invalid date and enter in today's date in the text field, and then open up the calendar tool.
I tried this out via Orca, and if I implemented the suggestion, then it would break the screen reader. I'm in Ann Arbor tomorrow, but I can show you what I mean on Wednesday if you like.
this is fixed via the localized date example in the box. Altering to MODIFIED (I don't have VERIFIED in my dropdown, I think I don't have perms).
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.