On 11/06/2014 02:48 AM, Vratislav Podzimek wrote:
On Wed, 2014-11-05 at 16:57 -0500, David Shea wrote:
> Workaround an issue with the progress hub not being able to draw
> anything. Having a the spinner running when the hub is loaded seems too
> much to handle in some environments, but deferring the spinner start to
> the refresh call gets things to display. The problem is still evident by
> the spinner itself failing to draw completely, but this is much less
> severe a problem.
> ---
> pyanaconda/ui/gui/hubs/progress.glade | 1 -
> pyanaconda/ui/gui/hubs/progress.py | 1 +
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pyanaconda/ui/gui/hubs/progress.glade
b/pyanaconda/ui/gui/hubs/progress.glade
> index f459ce0..f9a03eb 100644
> --- a/pyanaconda/ui/gui/hubs/progress.glade
> +++ b/pyanaconda/ui/gui/hubs/progress.glade
> @@ -71,7 +71,6 @@
> <object class="GtkSpinner"
id="progressSpinner">
> <property
name="visible">True</property>
> <property
name="can_focus">False</property>
> - <property
name="active">True</property>
> </object>
> <packing>
> <property
name="expand">False</property>
> diff --git a/pyanaconda/ui/gui/hubs/progress.py b/pyanaconda/ui/gui/hubs/progress.py
> index 95883ba..0bc2dab 100644
> --- a/pyanaconda/ui/gui/hubs/progress.py
> +++ b/pyanaconda/ui/gui/hubs/progress.py
> @@ -252,6 +252,7 @@ class ProgressHub(Hub):
> Hub.refresh(self)
>
> self._start_ransom_notes()
> + self._restart_spinner()
> GLib.timeout_add(250, self._update_progress, self._install_done)
> threadMgr.add(AnacondaThread(name=THREAD_INSTALL, target=doInstall,
> args=(self.storage, self.payload, self.data,
self.instclass)))
And as always everything works okay with a simple outside-of-Anaconda
reproducer, doesn't it? In any case this is worth filing as a bug on
Gtk/glade.
Things are pretty iffy outside of anaconda, actually. I couldn't even
get a simple, non-glade spinner to work in any of the live images. I
just reassigned the mess in
https://bugzilla.redhat.com/show_bug.cgi?id=1103496 to gtk3 for now. And
if Fedora QA ever responds with whether or not this patch works for
anyone but me, I'll remove the bug number from the commit message before
pushing.