On Sat, May 25, 2013 at 08:14:02PM -0400, Alex Vanderpol wrote:
> Package: synaptic
> Version: 0.80.1
> Severity: minor

Thanks for your bugreport.
 
> Dear Maintainer,
> 
> I suspect recent GTK3 updates may be the cause of this issue. After the recent
> updates, when viewing the download progress of individual files, the "Status"
> column where the progress bars for the individual files would appear vanishes
> the moment the first file begins downloading, however it can be seen briefly
> during the short span of time between applying changes (or reloading the
> package lists) and when the first file actually begins downloading.
> 
> This happens regardless of what GTK3 theme I use, including the default
> (Adwaita) theme.
> 
> I'm not sure if this is a bug specifically in Synaptic or if it affects any
> GTK3 application that draws progress bars in columns, as I don't know of any
> other GTK3 applications that do such a thing to check if this problem affects
> them as well. (The only application I'm aware of that does this on my system
> uses GTK2 and still works fine.) The GTK3 widget factory application in
> gtk-3-examples does not appear to demo this particular widget.

I wasn't able to reproduce this here in my (not fully up-to-date)
box. Attached is a small gtk3 python app that will show a progress
bar, let me know if that works for you.

Cheers,
 Michael
#!/usr/bin/python

from gi.repository import Gtk, GLib

def tick(progress):
    frac = progress.get_fraction()
    if frac >= 1.0:
        frac = 0
    else:
        frac += 0.1
    progress.set_fraction(frac)
    return True

if __name__ == "__main__":
    progress = Gtk.ProgressBar()
    win = Gtk.Window()
    win.connect("destroy", Gtk.main_quit)
    win.set_size_request(400, 100)
    win.add(progress)
    win.show_all()

    GLib.timeout_add(200, tick, progress)

    Gtk.main()

Reply via email to