Shawn Walker wrote:
jmr wrote:
Hi,

Joanie came across this bug when trying to Escape from the progress dialog during a WebInstall against a repo that wasn't accessible.

This has shown a general problem with all the instances of Progress Dialog. They are not meant to be cancellable and all should handle the delete-event from Gtk so they can't be canceled by the user.

The following webrev adds stub delete-event handlers to wherever progress dialogs are being used, that just returns True, so Gtk does not emit a destroy signal.

http://cr.opensolaris.org/~jmr/pm_8564_esc_progress_01May_4pm/
8564 Pressing Esc in Adding New Repository dialog should cancel the addition

There is a separate issue here which is why is it taking so long to timeout on the network operation, when trying to add the repo? It took several minutes for me which seems excessive, can this be adjusted?

Remember that multiple attempts are made to contact a repository before giving up. I believe the default timeout is 30 seconds, and we try four times, so that would account for the two minutes.
Do we have any control over this? Would be nice to reduce it, 2 mins is an awfully long time to wait in the GUI.

JR


Cheers,

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to