stuckyb / seqtrace

User-friendly software for viewing and processing Sanger DNA sequencing trace files.
20 stars 8 forks source link

Project settings are not visible after OS update #8

Closed GoogleCodeExporter closed 6 years ago

GoogleCodeExporter commented 8 years ago
When I first downloaded and used Seqtrace (0.9.0) I had Kubuntu 12.04 and 
everything worked just fine. So I updated it to Kubuntu 14.04 and since then 
the numbers inside text boxes in "Project settings" are invisible (see attached 
image). It happens whenever I am starting a new project or opening an old one. 
On either case the default settings, my old project settings, or newly created 
project settings appear to be there due the behavior of the consensus 
generation, but the fact that the numbers won't show up next time I open the 
dialog remains annoying.

I supposed the issue could be due the update, some confusion with the python 
packages, but recently I have installed a new, fresh-formatted Kubuntu 14.04 
and the problem is still here. I'm guessing it's some incompatibility with a 
new version of some or any of the pythons packages in the Ubuntu repository?

Thank you in advance.

Original issue reported on code.google.com by erico.p...@gmail.com on 28 Apr 2015 at 10:39

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for sending this report!  I have confirmed this problem on XUbuntu 
14.04.  As in your case, SeqTrace worked fine on XUbuntu 12.04.  So this seems 
to be a general problem with the 14.04 series of Ubuntu-derived distributions.  
I've not tested on other Debian-based distributions or other, non-Debian based 
GNU/Linux distributions.  At this point, I do not know what is causing this 
bizarre behavior.  No exceptions are showing up on the console.  As soon as I 
have a chance, I will try to further diagnose the problem.

Original comment by stucky.b...@gmail.com on 17 May 2015 at 8:44

stuckyb commented 6 years ago

I've confirmed via a simple test program that PyGTK spin buttons still work correctly with the most recent implementation of GTK+, so there must be some weird interaction with how they are used in SeqTrace. I'll continue digging...

stuckyb commented 6 years ago

I finally figured out the cause of the problem, and it is obscure, so I will document it here in some detail for future reference. It appears that with recent releases of GTK+, the default values of the climb_rate (0.0) and digits (0) arguments to the gtk.SpinButton() constructor do not get properly applied when the spin button is created, thus causing the strange behavior noted by the original submitter. Explicitly providing values for both arguments every time a new spin button is created fixed the bug.