|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Dec 06, 2006 1:16 pm
[1.19] Override setting stops window deletion. |
Start from a blank "untitled" session. Create a new window, name it, choose "override" and type in an address. Click save settings (you must do this to save the address, see here). Now try to delete this window. "Cannot delete main session window" - but this isn't the main session window.
Perhaps it has something to do with the override option? Change it back to "no connection" or "main session connection" - it still won't let you delete it. Now create a new window with all the default options and try to delete it. You can't delete that either!
EDIT: In fact, you don't even need to do that.
Open the untitled session and create a new window with default options. CMUD will prevent you from deleting the newest window, but allow you to delete the untitled one that really is the main session window. Because you've managed to delete the main session window, you get an access violation on closing the session.
This also applies if you create two new windows - CMUD will prevent you from closing the newest rather than the oldest. I also managed to get it to prevent me from deleting TWO new windows, but it still allowed me to delete the main session window, but I can't reproduce that one.
Note that this isn't something to do with the untitled session - I first encountered it while testing the two-windows-one-package model I talked about in the thread linked above, and the other multiplaying thread before it. I had two active MUD windows open at the same time, and CMUD stopped me from deleting the newest rather than the real session window. |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Wed Dec 06, 2006 2:30 pm |
Ok, I'm sure there is a bug here but note. You cannot delete a window that is currently the one that is formost or selected when you opened the package editor. Keep this in mind and try to reproduce this...
|
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Dec 06, 2006 3:01 pm |
Okay, so that was the reason I couldn't delete the new window and could delete the old window. However, because I can contrive to delete the old window, CMUD crashes when I close the session if it doesn't exist, which was the whole point of preventing people from deleting the window in the first place.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|