GNOME Bugzilla – Bug 454505
Allow progress reporting on asynchronous writing.
Last modified: 2018-05-22 12:02:18 UTC
Although gnome-scan properly scans pictures for me, the progress window does not indicate when the acquisition is finished. In the attached screenshot, you will see how the window looks when the scan is finished. The final milimeters of the progress bar never get filled. Other information:
Created attachment 91344 [details] Progress bar stops
Oops... apparently the progress bar does finish eventually; it just takes 35 seconds for the final millimeter of the progress bar to fill.
Hi, Gegl PNG output is not easy to monitor, thus, depending on resolution and image size, it can take a while :S. I may write my own PNG output in flegita (as well as PDF) for a accurate progress monitoring. Étienne.
Hi, This is a bug related to GEGL that might be fixed sometime in the future. I don't plan to write my own png saving but rather makes an heavier use of GEGL. GEGL may needs some changes in its API to properly handle such progress. Øyvind Kolås knows more about this. Thanks.
The problem is that currently the writing of a file is blocking. Some form of iterable processing callback is needed for operations like writing large buffers to a file, this isn't currently supported by neither the operations api nor how the processing is done by the GEGL core. The application is probably already doing what it should do when the capabilitiy is added to GEGL and everything will work a bit smoother after that. Another thing that might improve similar usability things are when GEGL gains the capability to do paralell processing.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gegl/issues/2.