Opened 11 years ago

Closed 9 months ago

#3360 closed bug (fixed)

[InstallCD] Should show the shutting-down dialog when restarting

Reported by: Adek336 Owned by: korli
Priority: normal Milestone: R1
Component: Applications/Installer Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


Restarting takes a long time, it looks like it hung, after you either decline the license or finish the installation and press Quit; there should be the Restarting dialog you get when you use Restart from Deskbar.

Change History (5)

comment:1 by korli, 10 years ago

The boot cd script ends with the following command: /bin/shutdown -r -q -d 10 It directly asks the kernel to shutdown instead of using the registrar. As only the registrar shows the shutting down dialog, no dialog is shown when restarting.

comment:2 by axeld, 10 years ago

The -a option would bring up the requester. I don't think a timeout is a good idea for this kind of things, as the user might not have selected Haiku as the primary OS to boot (so when he comes back after starting the install, one cannot tell whether or not the installation succeeded at all).

Maybe a installer related message text would be better, too, which could be easily done by using the "alert" tool instead.

comment:3 by korli, 10 years ago

The -a option isn't taken into account when using the -q option.

comment:4 by axeld, 10 years ago

Why -q anyway?

comment:5 by waddlesplash, 9 months ago

Resolution: fixed
Status: newclosed

Installer now reboots using _kern_shutdown directly and without waiting, so there is no delay anymore.

Note: See TracTickets for help on using tickets.