Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Firestar-Reimu opened this issue Dec 20, 2021 · 3 comments

Comments

@Firestar-Reimu
Copy link

Firestar-Reimu commented Dec 20, 2021

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

@olebole
Copy link
Member

olebole commented Dec 25, 2021

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.

@Firestar-Reimu
Copy link
Author

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

@olebole
Copy link
Member

olebole commented Dec 26, 2021

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants