After deleting a project, the Next button is incorrectly shown as active

Bug #1695768 reported by Cubic PPA
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cubic
Fix Released
Critical
Cubic PPA

Bug Description

After deleting a project, the Custom ISO section is editable on the New Project Page, and the user can proceed to the next step without selecting an Original ISO.

This bug affects the development branch (lp:cubic/trunk) revision 2017-06-04-99.

Cubic PPA (cubic-wizard)
Changed in cubic:
importance: Undecided → Critical
assignee: nobody → Cubic PPA (cubic-wizard)
status: New → Confirmed
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

This problem also appears when navigating to the new project page from the project directory page (the 1st page when Cubic launches).

Cubic PPA (cubic-wizard)
summary: - After deleting a project, the Custom ISO section is editable, and the
- user can proceed to the next step without selecting an Original ISO
+ After deleting a project, the Next button is incorrectly shown as active
Changed in cubic:
status: Confirmed → In Progress
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

This issue seems to have been caused by the time.sleep(0.25) call applied at the end of the display.show_page(). The thread was being terminated before finishing. Removing the call to time.sleep() resolved the issue.

A corresponding problem related to this bus was that the Filename, Volume ID, and Disk name fields in the Custom ISO section were shown with a white background when they are non-editable.

This was caused by calls to GLib.idle_add(), in the following functions, used to change the appearance of the widgets on the screen:
- display.set_label_error()
- display.set_entry_error()
- display.set_entry_editable()

The changes to the widgets were not being applied. As a result, the widgets were not displayed correctly.

To correct this problem, we call label.set_name() and entry.set_name() directly. Keep an eye out for Gtk thread issues, as a result of this fix.

Changed in cubic:
status: In Progress → Fix Committed
Cubic PPA (cubic-wizard)
Changed in cubic:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.