Opened 10 years ago

Closed 10 years ago

#7981 closed enhancement (invalid)

[registrar] if some app is not responding check other apps while waiting for user action

Reported by: diver Owned by: bonefish
Priority: normal Milestone: R1
Component: Servers/registrar Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


Currently registrar stops quiting applications as soon as it stumbles upon some app that for some reason doesn't want to quit. Would it be a good idea to continue quiting other apps in the background while waiting for user action?

Change History (1)

comment:1 by bonefish, 10 years ago

Resolution: invalid
Status: newclosed

That would just make it very annoying to cancel the shutdown, since by the time you manage to hit that button all other applications would already be gone (including Tracker and Deskbar. The only benefit would be saving a second or so in the other case. Moreover, if you continue to ask other applications to quit, other ones may pop up alerts, so you potentially get multiple alerts at once. Also very annoying.

We already considered asking all applications concurrently to quit in order to make the shutdown process really fast, but dismissed the idea for the very same reasons. What could be done is to make the process two-phased, i.e. first ask all applications concurrently whether they need user feedback and, if none does, afterwards just quit them concurrently. If any does, ask them in turn to gather their user feedback.

A change like this would require changing all applications and we should consider how that interacts with session management, respectively whether it would still be useful with session management.

Note: See TracTickets for help on using tickets.