window becomes unresponsive when refreshing if network connection is timing out
Bug #681806 reported by
Gordon Tyler
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Confirmed
|
High
|
Unassigned |
Bug Description
If I click the Refresh button for a bzr branch which has a remote parent/submit branch, but my network has gone down, then the bzr explorer window becomes unresponsive for a minute or two until the connection attempt times out. It then displays a somewhat unfriendly error in a dialog and offers to Ignore or Close. Since refreshes happen automatically when certain operations are performed, this unresponsiveness can happen unexpectedly.
Network flakiness and timeouts are a fact of life. bzr explorer should handle them more gracefully, possibly by displaying a "please wait" dialog and executing the command in the background so that it doesn't block the GUI thread.
I think so. It should be fixed by reworking all bzr-explorer and qbzr internals to use separate process for bzr operations, and keep explorer GUI only as view/presenter layer (MVP).