mailRe: relax gui


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Sébastien Morin on June 08, 2011 - 14:51:
Hi,

I just committed the change in revision 12899.

Removing the "event.Skip" events in "gui/settings.py" did not solve the gray button/relax crash problem...

Any further idea ?


Séb  :)


On 11-06-08 2:24 PM, Edward d'Auvergne wrote:
Hi,

I would make that change, point to the mailing list message of r12856
(https://mail.gna.org/public/relax-commits/).  For the grey buttons,
try playing with the event.Skip() calls.  Try removing these calls and
seeing if that works.  For testing on another system, there is always
VirtualBox.  It's very easy to set up a GNU/Linux and/or MS Windows
image under any system with this.  They even have a Mac dmg file
(http://www.virtualbox.org/wiki/Downloads).

Cheers,

Edward



On 8 June 2011 14:00, Sébastien Morin<sebastien.morin@xxxxxxxxx>  wrote:
Hi,

Please also see below...


On 11-06-07 5:13 PM, Edward d'Auvergne wrote:
Hi,

Please see below:


I was surfing the different menus in relax (thanks to your debugging for
Mac
as I can now see the extent of your work on this interface!), when I
found a
few little problems:

* In the "User functions" / "value" / "set" menu, the figure for the CSA,
which, I guess, should display the default value, has an error. The
default
value is not "172 ppm", but rather "-172 ppm".
I will fix this one.  The "User functions" menu is my addition, and it
will become much more prominent in the next version of the GUI.

Ok.

* The "Settings" / "Global relax settings" button does not do anything...
This works on my machine, so it must be a Mac OS X issue.  Would you
like to try to debug this one?

I had a look...

This is a similar problem to the one that was fixed in revision 12856.
Indeed, if I change lines 314-316 of "gui/settings.py" from:

        _icon = wx.EmptyIcon()
        _icon.CopyFromBitmap(wx.Bitmap(paths.IMAGE_PATH+'relax_start.gif',
wx.BITMAP_TYPE_ANY))
        self.SetIcon(_icon)

to

====
        # Disable icon if running on a Mac
        if not 'darwin' in sys.platform:
            _icon = wx.EmptyIcon()

  _icon.CopyFromBitmap(wx.Bitmap(paths.IMAGE_PATH+'relax_start.gif',
wx.BITMAP_TYPE_ANY))
            self.SetIcon(_icon)
====

The button now creates the global relax settings window. However, upon
closing the window (by clicking ok or cancel, or by killing the window), all
buttons remain gray and the gui is unusable...

Any idea ?

* The text in the window created when hitting the button "View" /
"Controller" is extremely small and difficult to read...
This needs to be small to fit, but it sounds like there is again a Mac
specific issue.  I'm not sure how we'd fix this one and not have the
text too big in Linux.  Do you have a Linux testing machine (or
virtual image)?
I have only my Mac... Sorry.

Cheers,


Séb  :)

If you would like to add to the GUI in any way, feel free :)

Cheers,

Edward
--
Sébastien Morin, Ph.D.
Postdoctoral Fellow, S. Grzesiek NMR Laboratory
Department of Structural Biology
Biozentrum, Universität Basel
Klingelbergstrasse 70
4056 Basel
Switzerland


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel mailing list
relax-devel@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

--
Sébastien Morin, Ph.D.
Postdoctoral Fellow, S. Grzesiek NMR Laboratory
Department of Structural Biology
Biozentrum, Universität Basel
Klingelbergstrasse 70
4056 Basel
Switzerland




Related Messages


Powered by MHonArc, Updated Wed Jun 08 15:20:10 2011