Re: [PATCH] stop directory from opening after canceling authentication dialog



On Wed, 2004-12-01 at 18:42 -0500, Matthew Gatto wrote:
> Steps to reproduce:
> 1. have the Desktop on and don't have any non-Desktop nautilus windows open
> 2. type ctrl-l on the Desktop and enter in "ftp://ftp.debian.org"; to the
> location dialog
> 3. click "Cancel" on the authentication dialog that comes up
> 
> Results:
> You get the normal "Can't Display Location" dialog, but you also get an
> unwanted Home directory that pops up.
> 
> Attached is a patch which seems to fix it, although there may be a
> better way of handling this particular situation.

Yeah. I don't quite like this behaviour. This case can happen in many
other cases, like someone running nautilus (in the shell, or started by
some app) to open up a window. In this case the fact that the desktop is
up or not doesn't matter a lot. Also, for the case of a browser window
its less likely to be bad if you bring up a window but load home
instead, as you can then use that to browse wherever you wanted to go.

Maybe a better behaviour would be: On failure, for browser windows, load
home, for spatial windows, close the window. This means running nautilus
to open a spatial window for a broken location with no other windows
around quits nautilus. I don't think this is bad in this case though.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a one-legged sweet-toothed gentleman spy with nothing left to lose. She's 
an elegant streetsmart socialite on her way to prison for a murder she didn't 
commit. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]