After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673730 - Show a progressbar while creating a tarball for exporting
Show a progressbar while creating a tarball for exporting
Status: RESOLVED OBSOLETE
Product: pitivi
Classification: Other
Component: User interface
0.91
Other Linux
: Normal enhancement
: 2.0
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-08 13:48 UTC by Jean-François Fortin Tam
Modified: 2015-10-20 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2012-04-08 13:48:02 UTC
For small files there is no problem, but when you're exporting a project that has a lot of clips or heavy files (multi-hundred-megabytes for example), the UI will lock up during the tarballing operation.

Ideally, this should be threaded (ask the gobject mainloop to keep running? Maybe see the "20. The GTK Mainloop and Threading" section of http://faq.pygtk.org )

And we should show a progressbar (in the media library like when you import clips?)
Comment 1 Paul Lange 2012-04-08 16:08:39 UTC
Agree with showing progress information.

However shouldn't this operation block the UI to prevent the edition of the project!?
Comment 2 Jean-François Fortin Tam 2012-04-08 17:27:27 UTC
Good question. While you are creating the tarball, are you not already using a separate copy of the project file/formater? If it has already gotten everything it needs from the previous internal state, I'm thinking it might work and that we might as well avoid making this a modal/locking operation unless necessary?

But if you think it's much safer to show a modal progress dialog then we could do that, yeah.
Comment 3 Paul Lange 2012-04-10 00:03:00 UTC
Good point, after saving the project file and getting the sourcelist it should be save to do it non-blocking.

However I'm not sure where to display the progress. In the media library doesn't seem nice to me because it's not exactly related. An dialog isn't the best option either.

I really like how Banshee handles progress info in the down left corner but since we don't have this column we don't have this option (here at 2: http://i223.photobucket.com/albums/dd295/sku5/banshee-amz-support-diagram.png). 
An idea would be to create a temporary progress bar in the toolbar like for example lightroom does. It doesn't eat space but could look a bit strange for a gnome application. What do you think?
Comment 4 Thibault Saunier 2015-10-20 13:09:08 UTC
This bug has been migrated to https://phabricator.freedesktop.org/T2927.

Please use the Phabricator interface to report further bugs by creating a task and associating it with Project: Pitivi.

See http://wiki.pitivi.org/wiki/Bug_reporting for details.