problem with Dose Image window in v.1.4.1 Presets Manager
Added by Anonymous almost 17 years ago
When I press the button next to a preset in the Presets Manager to measure the dose, a Dose Image windows appears in Leginon 1.4.1 like previous versions. However, the window is too large to fit on the screen and the buttons to accept/ reject the measured dose are not visible (and off the bottom of the screen I think). I can't resize the Dose Image window. So measuring the dose for a given preset is effectively impossible. The problems occur when I use the Window Maker window manager. (It is my understanding that various other things break in the Leginon GUI when other window managers like KDE or Gnome are used instead of Window Maker),
William
Replies (3)
Re: problem with Dose Image window in v.1.4.1 Presets Manage - Added by Anonymous almost 17 years ago
"WVNicholson" wrote: When I press the button next to a preset in the Presets Manager to measure the dose, a Dose Image windows appears in Leginon 1.4.1 like previous versions. However, the window is too large to fit on the screen and the buttons to accept/ reject the measured dose are not visible (and off the bottom of the screen I think). I can't resize the Dose Image window. So measuring the dose for a given preset is effectively impossible. The problems occur when I use the Window Maker window manager. (It is my understanding that various other things break in the Leginon GUI when other window managers like KDE or Gnome are used instead of Window Maker),
William
Changing the default size in the init method for the ImagePanel appears to fix this problem,
William
Re: problem with Dose Image window in v.1.4.1 Presets Manage - Added by Anonymous almost 17 years ago
"WVNicholson" wrote: > "WVNicholson" wrote: When I press the button next to a preset in the Presets Manager to measure the dose, a Dose Image windows appears in Leginon 1.4.1 like previous versions. However, the window is too large to fit on the screen and the buttons to accept/ reject the measured dose are not visible (and off the bottom of the screen I think). I can't resize the Dose Image window. So measuring the dose for a given preset is effectively impossible. The problems occur when I use the Window Maker window manager. (It is my understanding that various other things break in the Leginon GUI when other window managers like KDE or Gnome are used instead of Window Maker),
William
Changing the default size in the init method for the ImagePanel appears to fix this problem,
William
I get another GUI related problem in Leginon 1.4.1 with the ring diameters list box in the template settings dialog box in Hole Targeting in MSI-Edge. The ring diameters list box is too small (with the height far too low although the width is okay) to see or select a particular row with diameters. After trying some alternative fixes which introduced other problems (like covering up the buttons below with the larger list box), I eventually on changing the line in Rings.py:
minsize = (sz.GetSize().width, self.lbrings.GetSize().height)
to
minsize = (sz.GetSize().width, sz.GetSize().height/2)
There may turn out to be issues with this change - like not displaying properly for other resolution choices, window managers or versions of SUSE. However, it seems to work okay for me and looks better as well,
William
gui problem - Added by Anchi Cheng over 16 years ago
Hi, William,
I did several gui fixes in Leginon 1.5 that makes the gui workable with at least the default Scheme in KDE and GNOME. However, I did notice that certain schemes have more probelms than the other.
Since you are using WindowMaker and none of us had the same problem with it, I suspect that the problem you have is related to the scheme you set up on your computer. If you would like a permanent fix without changing your scheme, you will have to give us the exact scheme, versions etc. so that it can be duplicated here. Otherwise, trying another scheme would be an easy fix without changing the code.
Anchi