Hash time remaining not updated

Bug #894191 reported by Blair Bonnett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LinuxDC++
New
Undecided
Unassigned

Bug Description

OS: Ubuntu 11.10 (Oneiric Ocelot), kernel 3.0.0-13-generic #22
LinuxDC++ Version: 1.1.0 (from Ubuntu package version 1.1.0-1ubuntu2 in the standard repositories)

When the hash progress window is opened, the label showing the time remaining does not update, but shows its name ('labelTime'). The label showing the hash speed briefly shows its name too ('labelSpeed') but is quickly updated with the actual speed information. I've attached a screenshot of the window showing the issue. This shows it near the start of hashing, but it is currently about 20% / 15 minutes / 25GiB in and it still hasn't been updated. I can't recall ever seeing this occur on the previous version I used (1.0.3 in Ubuntu 10.10).

Revision history for this message
Blair Bonnett (bcb) wrote :
Revision history for this message
Steven Sheehy (steven-sheehy) wrote :

Hmm...I can't reproduce this issue with GTK+ 2.22. I've yet to upgrade to 3.0+ so I'm guessing it's some issue with the changes in later versions of GTK+. Most likely due to us still using libglade and it being deprecated. Can anyone else confirm this bug and if so what version of GTK+?

Revision history for this message
Blair Bonnett (bcb) wrote :

Thats something I should have added to my initial report - the output of running linuxdcpp -v:

LinuxDC++ version: 1.1.0
DC++ library version: 0.75
GTK+ version: 2.24.6
GLib version: 2.30.0

Revision history for this message
Razzloss (razzloss) wrote :

I remember seeing this in the past, but can't remember which version (of ldcpp or gtk). However I at the moment I don't seem to be able to reproduce this either. (GTK 2.24.5 and Glib 2.28.8).

--RZ

Revision history for this message
Blair Bonnett (bcb) wrote :

Have just finished hashing and it turns out when it has completed the speed label returns to saying 'labelSpeed'. I've added another screenshot of this.

As far as I've seen (admittedly I've only just added Linux DC++ to my new Ubuntu install) this behaviour does not appear anywhere else in the program.

Revision history for this message
Steven Sheehy (steven-sheehy) wrote :

It looks to be a library issue (libglade or libgtk2), since we can't reproduce it and there's no place in the code where labelSpeed or labelTime are set to anything other than "%1%/s, %2% left" and "%1% left", respectively (where %1% and %2% are substitution variables).

That's not to say that there's nothing linuxdcpp can do, however. We can't depend upon the libraries to fix it since we are using deprecated versions. We need to port linuxdcpp to GTK+3 and remove the dependency on libglade. Do you agree Razzloss?

Revision history for this message
Razzloss (razzloss) wrote :

I think we made the decision to get rid of libglade already. The question was when.

As for GTK+3 port, yeah I guess eventually. Didn't find any roadmap when Gtk+2 will be deprecated/EOL or do you know if the active development on it has already stopped?

--RZ

Revision history for this message
Steven Sheehy (steven-sheehy) wrote :

Since we believe this is due to a bug in libglade, we're going to mark it as a duplicate of bug #334783 which covers the libglade to GtkBuilder migration.

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.