Do not run the gtk.main() in the same thread as all other processing (e.g. probing storage devices or installing packages).
- Name: Ales Kozumplik
- Targeted release: Fedora X
- Last updated: (DATE)
- Percentage of completion: 0%
Anaconda's GTK UI and backend are all running in the same thread. GTK is unfortunately not designed to be run in the same thread. Although this arrangement sort of works for the moment problems can be noticed: for instance on a virtual machine (slow) there is a visible lag between the time "scanning storage devices" dialog pops up and the time this dialog gets window decorations by metacity.
Also separating the threads will allow us to do certain tasks in the background, not blocking the user from continuing with other parts of installation. For instance Anaconda can already be initializing the filesystem while the user is picking packages to be installed.
Bugzilla to track this is https://bugzilla.redhat.com/show_bug.cgi?id=581912.