FreeFem / FreeFem-sources

FreeFEM source code
https://freefem.org/
Other
746 stars 187 forks source link

Calculations stop when the plot window is minimized #287

Open anotherche opened 11 months ago

anotherche commented 11 months ago

I apologize for repeating the question I already posted on community.freefem.org. I decided that it is logical to repeat it here for FreeFem developers, as it didn't cause any response from the community. I have been using FreeFem for many years (on Windows) and I am very grateful to the developers for this package! But after all these years, I finally decided to ask about one very annoying feature of FreeFem. Why does the calculation stop when the graphical window (in which the plot is periodically refreshed on iterations) is minimized? Is it a bug, a feature, or some option that I cannot find in the documentation? If I restore the plot window, the calculation resumes (if the delay was too long, the calculations are not resumed at all). It seems that ffglut stops the whole process when it doesn’t find the plot window to send data to. I think the code needs something like checking if the plot window is minimized to just skip sending the graphic data and not delay the calculations.

frederichecht commented 11 months ago

Dear Stanislav,

I don't know, I am not a specialist on Windows, I have just do the 'portage', I thing I will try to see this bug.

Best Regards,

Frédéric Hecht.


Laboratoire Jacques-Louis Lions, UPMC Sorbonne Université BC187, 4 Place Jussieu, 75252 PARIS cedex 05, France Campus Jussieu, Barre 15-25, 3 etage Bureau 307 Projet Alpines , Inria de Paris, 2 rue Simone Iff Voie DQ12 75012 Paris tel: +33 1 44274411, mob: +33 6 62198986, fax: +33 1 44277200 @.*** https://www.ljll.math.upmc.fr/hecht software: FreeFem++ web site: http://www.freefem.org/ff++

Le 1 sept. 2023 à 06:30, Stanislav Chizhik @.***> a écrit :

I apologize for repeating the question I already posted on community.freefem.org. I decided that it is logical to repeat it here for FreeFem developers, as it didn't cause any response from the community. I have been using FreeFem for many years (on Windows) and I am very grateful to the developers for this package! But after all these years, I finally decided to ask about one very annoying feature of FreeFem. Why does the calculation stop when the graphical window (in which the plot is periodically refreshed on iterations) is minimized? Is it a bug, a feature, or some option that I cannot find in the documentation? If I restore the plot window, the calculation resumes (if the delay was too long, the calculations are not resumed at all). It seems that ffglut stops the whole process when it doesn’t find the plot window to send data to. I think the code needs something like checking if the plot window is minimized to just skip sending the graphic data and not delay the calculations.

— Reply to this email directly, view it on GitHub https://github.com/FreeFem/FreeFem-sources/issues/287, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLPNDECXEFMTGHNVC3TIJ3XYFQGDANCNFSM6AAAAAA4G75SEU. You are receiving this because you are subscribed to this thread.