MDI vs. SDI (was: Patch: Don't close last tab)
Tommi Komulainen <[email protected]>
| Newsgroups | gmane.comp.web.galeon.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2003-03-15 at 15:14, Erwin Mascher [Gentics Net.Solutions] wrote: > > > > > >Judging from the description the suggested behavior sounds somewhat > >inconsistent even internally. However, the reason we aren't accepting > >this patch is that we *want* the window to close when the last tab > >closes. The server mode is there to reduce the time it takes to restart > >Galeon. > > > >IIRC your reasons for not wanting to close the window at all were quite > >unique, and this patch would be doing us more harm than it's worth. > > > > > Well, it's the default behaviour in Opera's MDI (and every other MDI i > know (as there are: all IDE's available, > the well known text-editor Kate and many others) ) - and it would be an > option. Fair enough. The problem comes mainly from the fact that Galeon is not purely MDI nor SDI, it's a hybrid, and the current behavior is what seems to be the best compromise in that end. It might be worthwhile to consider if the 'open in tabs' should be selecting between MDI and SDI modes (with better wording in the user interface, of course) and alter the behavior of Close accordingly. My first thought is that it would remove the need for 'always show tabs' preference; in MDI mode we always show tabs, in SDI mode only when there's more than one tab in a window. Also, in MDI mode Close for the last tab in application (not window like in your suggestion) would be closing the tab and opening a blank page, but not exiting. It might work, or it might not. But I think it could be something to think about. -- Tommi Komulainen [email protected] GPG 1024D/68388EE6 6FD6 DD79 EB38 BF6F 3533 09C0 04A8 9871 6838 8EE6
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+c0KSBKiYcWg4juYRAq2BAJ9v4JGYACVVpuSEIqz0EcLDG/DgEwCg1/Dc gAaw+hhWRprzUhL7to6zf6I= =HGQx -----END PGP SIGNATURE-----