Opened 10 years ago

Closed 5 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

Description

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 Changed 10 years ago by korli

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 Changed 10 years ago by axeld

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 Changed 10 years ago by korli

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

comment:4 Changed 10 years ago by axeld

Why -q anyway?

comment:5 Changed 5 months ago by waddlesplash

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.