pyraf icon indicating copy to clipboard operation
pyraf copied to clipboard

Old bug of resizing pyraf windows: cannot pull it larger, the more you pull, the more it gets smaller

Open Firestar-Reimu opened this issue 3 years ago • 3 comments

Screenshot_20211220_202543

Sometimes resizing pyraf windows leads to the bug: the more you pull, the more it gets smaller, and it is not under your control.

pyraf 2.2.0

Firestar-Reimu avatar Dec 20 '21 12:12 Firestar-Reimu

I observed this on some older X11 programs, and I have no solution for this. It seems connected to high resolution screens and the resizing code of older apps. If you have a patch, a Pull Request would be appreciated.

olebole avatar Dec 25 '21 20:12 olebole

Is this a pyraf issue or a iraf issue?

You say PyRAF has its own built-in graphics kernel to handle interactive IRAF graphics. I wonder if it is needed to rewrite the GUI in Qt or GTK or Python or whatsoever

Firestar-Reimu avatar Dec 26 '21 09:12 Firestar-Reimu

This is a PyRAF issue (which uses Tk for graphics). IRAF itself doesn't have a graphics implementation; it needs either x11iraf or PyRAF. Again: a rewrite in a more modern system would be appreciated. Since PyRAF is no longer supported by STScI, this can come only from the community, which (in doubt) means: from you. There is no magic creation of such a library, there are only possible efforts of those who need it. Just dreaming of it will not make it happen. (On the other hand, one should always thing of whether the efforts are better targeted to the improvement of Astropy & Co.)

olebole avatar Dec 26 '21 13:12 olebole