Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum Goto page 1, 2  Next
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Jan 07, 2009 5:49 am   

[3.03a] Layout is not saved when doing an import and exiting with the red X
 
Steps:

Code:

1) Start with a clean CMud 3.03a.
2) Import the xml file I sent you for the last topic.
3) Open the Map
3) Rearrange the 3 windows (1 map, 1 main window, 1 Channels Window) to something you'll recognize later if you see it again.  I tile them so all three are visible.
4) Layout -> Save Session Layout
5) Use the Red X in the upper right hand corner of the window.
6) Open Cmud again and load the session.
7) Observe that layout orientation wasn't saved.
8) Optionally sometimes I can get Cmud to crash altogether when I'm trying this.


Windows XP, SP3, all updates installed.


Last edited by ReedN on Mon Jan 12, 2009 5:41 pm; edited 2 times in total
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Jan 07, 2009 5:43 pm   
 
I am not able to reproduce this, but I don't have your specific import file. Try sending the file again as a file attachment to sales@zuggsoft.com.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Jan 07, 2009 6:02 pm   
 
They were already sent to the e-mail address sales@zuggsoft.com as file attachments last night. Should I resend them again or is there a location I can upload them to ensure you get them?
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Thu Jan 08, 2009 1:28 am   
 
I've sent the files again. This time I sent two messages, one with just text to see if its getting through, and a second with the attachments. Perhaps one will get through.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Mon Jan 12, 2009 5:40 pm   
 
Now that the files came through was this observable? I can potentially make the directions more explicit if this isn't happening for you. It happens all the time for me so I wouldn't think it too hard to duplicate.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jan 12, 2009 5:56 pm   
 
Reed, I'm currently in the middle of setting up the new server for this site. It's going to be several weeks until I am back to bug fixing and working on a new beta version. So I really can't help much until then. I've got your files saved in my bug tracking system where I can use them when I start working on the bug. You need to keep in mind that I am tracking hundreds of issues I'm only one person, so I have to prioritize bug reports and problems based upon how many people they effect. This doesn't mean I'm ignoring your problem, it just means I have much more important things to work on right now, sorry.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Mon Jan 12, 2009 6:21 pm   
 
You had posted you were unable to reproduce this and that had worried me.

I understand there is a priority, and I'm not advocating that this should be any higher priority than you believe it warrants. I would just like to make sure that whenever you do get around to looking at this that you are able to reproduce the issue. If you start looking at this 6 months from now and you can't reproduce it, I might not have the exact settings available to help you either because too much time has passed.

So my focus was on you being capable of fixing this when you have the time, not on fixing it immediately. For me at least, there is a certain satisfaction/confidence that comes when I know that although I have to put up with a bug for now, I know that since you've seen the bug it will eventually be fixed in a subsequent release. The difference seems to hinge on whether you've seen it on your system or not. If you haven't reproduced it/added it to the bug list, then it's likely to fall by the wayside and never addressed. Knowing it will be eventually address, regardless of the amount of time it takes to address it makes bearing the bug much easier for some reason.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jan 12, 2009 7:11 pm   
 
Nope, I still wasn't able to reproduce this. I know you have told us in other posts, but remind me what version of Windows you are using, and where are your Data Files installed? When I tested this on my system, I created a new session called "ReedTest" and then imported your files and then changed the layout, saved it, and quit. My data files are in My Documents/My Games/CMUD and there was a new ReedTest folder created there. The ReedTest.XLY file where the layout is stored had a modified date that showed it was properly saved.

So you need to check your data files and look for the *.XLY file that stores your layout and look at the modification date to be sure it is being saved correctly.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Mon Jan 12, 2009 8:21 pm   
 
I use XP/SP3 with the data saved in the CmudPro directory under Achaea.

I'll work on a more detailed set of instructions for getting this reproducible when I get home from work. I'll record each and every action this time around.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jan 12, 2009 10:12 pm   
 
You need to tell me the exact path to your file. Not just "CmudPro directory"...that doesn't tell me enough. I need the Windows file path.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Jan 13, 2009 6:01 am   Revised Instructions
 
I've tried in this new attempt to be painfully detailed as to what I did.

Windows XP 32 bit version, SP3, 4 GB memory installed.
Code:

1) Rename "C:\Program Files\CMUDPro" to "C:\Program Files\CMUDPro_old"
2) Installed cmudpro303_setup.exe
2a) Unselected installation of "Mud Listing"
2b) Used default install path "C:\Program Files\CMUDPro"
2c) Used default User Session file location of "Same directory as program files: C:\Program Files\CMUDPro"
2d) Used default Start Menu Folder
2e) Clicked "Finish" with Run CMUDPro selected.
3) Scrolled to bottom of license agreement and accepted.
4) Canceled the Transfer session.
5) Right click Achaea, selected "Off-Line"
6) Left click settings
7) File -> Import XML
8) Navigate to xml file and click open.

Channels Window appears at the top
Achaea Window appears on the bottom

9) Left clicked the Channels Window and dragged it to the right of the main Achaea Window.
10) Left clicked on the map button to open the map
11) Left clicked on the map and dragged it above the Channels Window.
12) Layout -> Save Session Layout
13) Left click upper right hand "x" to close Cmud
14) Open Cmud again and right click Achaea -> Open "off-line"

Main window Achaea is now tabbed with the Map/Channels.  The layout settings from the previous session are lost.

15) Additional items:  I now tried to move the windows around again and I got a System Error:  Code: 1400: Invalid Window handle


Code:

date/time         : 2009-01-12, 21:58:07, 812ms
operating system  : Windows XP Service Pack 3 build 2600
system language   : English
system up time    : 3 hours 31 minutes
program up time   : 2 minutes 49 seconds
processors        : 2x Genuine Intel(R) CPU @ 2.93GHz
physical memory   : 2596/3326 MB (free/total)
free disk space   : (C:) 33.51 GB
display mode      : 1600x1200, 32 bit
process id        : $c34
allocated memory  : 37.87 MB
executable        : cMUDPro.exe
exec. date/time   : 2008-12-16 11:09
version           : 3.3.0.1
compiled with     : BCB 2006/07
madExcept version : 3.0h
callstack crc     : $f326efe7, $0c9e0f8b, $0c9e0f8b
exception number  : 1
exception class   : EOSError
exception message : System Error. Code: 1400. Invalid window handle.

Main ($cb4):
0045996c +070 cMUDPro.exe  SysUtils        16348   +7 RaiseLastOSError
004598f5 +005 cMUDPro.exe  SysUtils        16335   +0 RaiseLastOSError
004c2074 +130 cMUDPro.exe  Controls         6764  +23 TWinControl.CreateWnd
004c2452 +016 cMUDPro.exe  Controls         6883   +3 TWinControl.CreateHandle
004c5df8 +01c cMUDPro.exe  Controls         8894   +4 TWinControl.HandleNeeded
004c5def +013 cMUDPro.exe  Controls         8893   +3 TWinControl.HandleNeeded
004c5e05 +005 cMUDPro.exe  Controls         8900   +1 TWinControl.GetHandle
004c5f71 +009 cMUDPro.exe  Controls         8932   +1 TWinControl.GetClientRect
004bd54c +00c cMUDPro.exe  Controls         3984   +1 TControl.GetClientWidth
0092d7d2 +006 cMUDPro.exe  RVRVData          669   +0 TRichViewRVData.GetWidth
0093cb2c +054 cMUDPro.exe  CRVFData         6397   +4 TCustomRVFormattedData.ShowRectangle
008e1b71 +5f5 cMUDPro.exe  RVERVData        3246 +107 TRVEditRVData.ChangeCaret
008e84e8 +078 cMUDPro.exe  RVERVData        5977  +14 TRVEditRVData.DoOnSelection
0093a950 +0ac cMUDPro.exe  CRVFData         5292  +19 TCustomRVFormattedData.DoSetSelectionBounds
0093a990 +028 cMUDPro.exe  CRVFData         5302   +4 TCustomRVFormattedData.SetSelectionBounds
009229b2 +012 cMUDPro.exe  RichView         2280   +1 TCustomRichView.SetSelectionBounds
00c3bc3f +057 cMUDPro.exe  zsRichMemo       2038   +6 TzsRichMemo.SetSelBounds
00c3bc96 +02e cMUDPro.exe  zsRichMemo       2069   +2 TzsRichMemo.set_SelStart
00d8d3f4 +13c cMUDPro.exe  MAIN            20962  +25 TMUDForm.UserInChange
00d5d94a +0c2 cMUDPro.exe  MAIN             9682  +47 TMUDForm.FormShow
004a4ee5 +015 cMUDPro.exe  Forms            3211   +1 TCustomForm.DoShow
0052510c +01c cMUDPro.exe  CustomForm         76   +7 TzCustomForm.DoShow
00ab93be +046 cMUDPro.exe  MultiForm         264   +2 TMultForm.DoShow
004a921d +0a9 cMUDPro.exe  Forms            5425  +11 TCustomForm.CMShowingChanged
004bf2eb +2bb cMUDPro.exe  Controls         5146  +83 TControl.WndProc
004c32ef +4fb cMUDPro.exe  Controls         7304 +111 TWinControl.WndProc
004a584f +553 cMUDPro.exe  Forms            3512 +136 TCustomForm.WndProc
004bef78 +024 cMUDPro.exe  Controls         5021   +5 TControl.Perform
004c27b6 +112 cMUDPro.exe  Controls         7006  +19 TWinControl.UpdateShowing
004c2746 +0a2 cMUDPro.exe  Controls         6997  +10 TWinControl.UpdateShowing
004c28f9 +0e5 cMUDPro.exe  Controls         7041  +21 TWinControl.UpdateControlState
004c51aa +026 cMUDPro.exe  Controls         8397   +3 TWinControl.CMVisibleChanged
0071893a +006 cMUDPro.exe  aqDockingBase    4414   +1 TaqCustomDockingControl.CMVisibleChanged
004bf2eb +2bb cMUDPro.exe  Controls         5146  +83 TControl.WndProc
004c32ef +4fb cMUDPro.exe  Controls         7304 +111 TWinControl.WndProc
004bef78 +024 cMUDPro.exe  Controls         5021   +5 TControl.Perform
004bdb12 +026 cMUDPro.exe  Controls         4169   +5 TControl.SetVisible
0071a404 +000 cMUDPro.exe  aqDockingBase    5273   +0 TaqCustomDockingControl.SetInternalVisible
00716d9c +0bc cMUDPro.exe  aqDockingBase    3393  +15 TaqCustomDockingControl.SetParent
00716d6f +08f cMUDPro.exe  aqDockingBase    3387   +9 TaqCustomDockingControl.SetParent
0071b5af +093 cMUDPro.exe  aqDockingBase    5973  +15 TaqCustomDockingContainer.AddChild
007166be +05e cMUDPro.exe  aqDockingBase    3221  +11 TaqCustomDockingControl.SetParentItem
0071ba81 +045 cMUDPro.exe  aqDockingBase    6135  +23 TaqCustomDockingContainer.InsertChild
00709ce6 +16e cMUDPro.exe  aqDocking        4541  +52 TaqDocker.DockSplit
007097ce +0ae cMUDPro.exe  aqDocking        4362  +16 TaqDocker.DockHorizontal
00709aa3 +14f cMUDPro.exe  aqDocking        4458  +21 TaqDocker.DockItem2
0070938e +066 cMUDPro.exe  aqDocking        4188   +9 TaqMover.EndDragging
006fd5cb +01f cMUDPro.exe  aqDockingVS2005   801   +4 TaqVS2005Mover.EndDragging
0071ff2a +03e cMUDPro.exe  aqDockingBase    8541   +4 TaqCustomDockingFrame.MaskFormEndDrag
006e7469 +021 cMUDPro.exe  aqMaskForms       308   +4 TaqCustomMaskForm.DoEndDrag
006e748b +01b cMUDPro.exe  aqMaskForms       316   +4 TaqCustomMaskForm.EndDrag
0071fe53 +043 cMUDPro.exe  aqDockingBase    8518   +4 TaqCustomDockingFrame.HandleFrameMove
0071ff7f +007 cMUDPro.exe  aqDockingBase    8567   +1 TaqCustomDockingFrame.MaskFormMouseUp
006e753d +025 cMUDPro.exe  aqMaskForms       348   +2 TaqCustomMaskForm.DoMouseUp
006e7e58 +048 cMUDPro.exe  aqMaskForms       716  +10 TaqTranslucentMaskForm.FormMouseUp
004bfbbb +02b cMUDPro.exe  Controls         5349   +1 TControl.MouseUp
004bfbf4 +02c cMUDPro.exe  Controls         5355   +2 TControl.DoMouseUp
004bfc76 +076 cMUDPro.exe  Controls         5367   +8 TControl.WMLButtonUp
004bf2eb +2bb cMUDPro.exe  Controls         5146  +83 TControl.WndProc
004c32ef +4fb cMUDPro.exe  Controls         7304 +111 TWinControl.WndProc
004a584f +553 cMUDPro.exe  Forms            3512 +136 TCustomForm.WndProc
004c2a18 +02c cMUDPro.exe  Controls         7073   +3 TWinControl.MainWndProc
0047c540 +014 cMUDPro.exe  Classes         11583   +8 StdWndProc
7e4196c2 +00a USER32.dll                              DispatchMessageA
004ad9c4 +0fc cMUDPro.exe  Forms            8105  +23 TApplication.ProcessMessage
004ad9fe +00a cMUDPro.exe  Forms            8124   +1 TApplication.HandleMessage
004adcf3 +0b3 cMUDPro.exe  Forms            8223  +20 TApplication.Run
00eabb64 +088 cMUDPro.exe  cMUDPro           358  +20 initialization
7c912c01 +069 ntdll.dll                               RtlUnicodeStringToAnsiString
7c812c24 +0b6 kernel32.dll                            GetVersionExA
0047004a +08e cMUDPro.exe  Classes          4101   +7 TCollection.GetNamePath

error details:
Trying to resize windows.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Jan 13, 2009 5:29 pm   
 
Quote:
2c) Used default User Session file location of "Same directory as program files: C:\Program Files\CMUDPro"

That is the cause of all of your problems. In Windows XP SP3, Microsoft has started to enforce the security of the Program Files directory like they do in Vista. Applications are no longer allowed to write to the Program Files directory. So CMUD isn't able to save/update any of your files.

You need to reinstall CMUD and select the %DOCUMENTS% option for your data files. Then copy all of your existing files in your C:\Program Files\CMUDPro directory to the My Documents\My Games\CMUD directory. Then Windows will let you save your layout settings.

I will be changing the default in the installer so that %DOCUMENTS% is the default for all versions of Windows now.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Jan 13, 2009 5:40 pm   
 
Two questions occurred to me while reading your response:

1) Why is it able to write the package (pkg) and map file, but not the layout file? Why can I try several times to modify the layout and it work after several attempts?
2) Is the "System Error" generated because it couldn't write the layout file?

Edit: Another question occurred to me after writing the post:

If I want to change the location settings of everything after Cmud is installed, I just modify the session properties, right? Is there anywhere else that needs to be updated?

Edit 2: It seems like if you have knowledge that updated versions of both Vista and XP will definitely experience problems with data saved in the "program files" directory it would be prudent not only to eliminate that as the default choice, but eliminate it as a choice altogether. Just a suggestion.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Tue Jan 13, 2009 6:58 pm   
 
Zugg:

A program run under the security context of a normal user has never been able to write to Program Files in XP only a Power User or Administrator has this capability and I see no changes to this in SP3.

ReedN:

If CMUD is able to write your pkg files then it should be able to write your layout file.

Do an install and change your settings directory if this is what you want to achieve as it is held in the registry and CMUD looks it up for various things. Or alter the registry if you are happy doing so.

At a guess Zugg will likely do so.
_________________
Taz :)
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Jan 13, 2009 7:49 pm   
 
I'm an administrator on my machine, this is consistent with being able to modify my other data files in the "C:\Program Files\CMudPro" directory.

Given this data, I'd suspect this bug is not due to the location of the files.
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Tue Jan 13, 2009 9:58 pm   
 
Taz wrote:
Zugg:

A program run under the security context of a normal user has never been able to write to Program Files in XP only a Power User or Administrator has this capability and I see no changes to this in SP3.

Uh, this has never been the case for me.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Jan 14, 2009 3:51 am   
 
Zugg wrote:
Quote:
2c) Used default User Session file location of "Same directory as program files: C:\Program Files\CMUDPro"

That is the cause of all of your problems. In Windows XP SP3, Microsoft has started to enforce the security of the Program Files directory like they do in Vista. Applications are no longer allowed to write to the Program Files directory. So CMUD isn't able to save/update any of your files.

You need to reinstall CMUD and select the %DOCUMENTS% option for your data files. Then copy all of your existing files in your C:\Program Files\CMUDPro directory to the My Documents\My Games\CMUD directory. Then Windows will let you save your layout settings.

I verified that the User Session File location is *not* the case. I followed my steps again, but this time using the documents directory instead of the default. The exact same bug happened regardless of where the files were saved.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Jan 14, 2009 6:14 pm   
 
Quote:
A program run under the security context of a normal user has never been able to write to Program Files in XP only a Power User or Administrator has this capability and I see no changes to this in SP3.

I haven't personally seen this problem either, but I mentioned it because I've received more and more bug reports via email from people using WinXP SP3 that seem to be having this kind of problem saving files. So my guess was that certain OEMs (Dell, HP, etc) have tweaked the security settings on their particular systems to tighten the normal security rules. Otherwise I have no idea why these file saving problems seem to be much more common on SP3 compared to on SP2. It was just making me suspicious that Microsoft has sneaked some sort of Vista-like security into SP3 that wasn't in SP2.

Quote:
I followed my steps again, but this time using the documents directory instead of the default. The exact same bug happened regardless of where the files were saved.

Is there any way to simplify your procedure so that other people can try it on their systems too? If you just start with a new session and issue a #WINDOW command to create a "Tell" window, click the Map button to open the map window, and then change the layout, does the layout get saved in that simple situation? Does it only fail when importing your settings?
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Jan 14, 2009 7:57 pm   
 
Zugg wrote:
Quote:
I followed my steps again, but this time using the documents directory instead of the default. The exact same bug happened regardless of where the files were saved.

Is there any way to simplify your procedure so that other people can try it on their systems too? If you just start with a new session and issue a #WINDOW command to create a "Tell" window, click the Map button to open the map window, and then change the layout, does the layout get saved in that simple situation? Does it only fail when importing your settings?

I'm confused. I gave you my xml file and step by step instructions on how to reproduce it. You didn't mention anything in your reply about whether you were able to reproduce this yourself. Am I to infer from your new question that my file combined with my instructions was insufficient to reproduce it?
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Jan 14, 2009 9:37 pm   
 
I know...I cannot reproduce it even with your XML file. What I am asking is for you to try and come up with a simpler procedure that doesn't require any special settings or files so that *other* people can also try to help reproduce it.

Quote:
Am I to infer from your new question that my file combined with my instructions was insufficient to reproduce it?

Yes, I mentioned that above:
Quote:
Nope, I still wasn't able to reproduce this.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Jan 14, 2009 11:49 pm   
 
Zugg wrote:
Quote:
Am I to infer from your new question that my file combined with my instructions was insufficient to reproduce it?

Yes, I mentioned that above:
Quote:
Nope, I still wasn't able to reproduce this.

The post you quoted was in response to my less detailed initial post instructions. So you wrote that before I had even created or posted the new instruction set. Nowhere do you mention trying the second set of instructions.

The second instruction set was quite a bit more detailed, showing step by step how I installed Cmud and exactly what I clicked inside the program to produce the error. I recall there was a bug a while ago that you had trouble reproducing because there were several ways to accomplish the same action and you were doing it a different way than I was in the instructions I had given. The second instructions spell out the steps so that this type of issue won't occur.

Edit: I went ahead and created another set of instructions that don't require my file. See the following post. The instructions are nearly identical except for using the new included xml file.


Last edited by ReedN on Thu Jan 15, 2009 6:08 am; edited 1 time in total
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Thu Jan 15, 2009 6:02 am   New Set of Instructions for Replicating Error
 
These new instructions don't require my full xml file. I generated this xml text by cleanly installing Cmud then opening the already existent Achaea package off-line. I created the channels window with "#cap channels" and opened the map. I then arranged them and exported the xml file. The xml code below is the result of those actions:

There are actually two bugs you'll run into as you execute these instructions. First is that the layout is not saved. The second is the crash with the invalid window handle that occurs at the end.

XML file used in Instructions

Code:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<window name="Achaea" width="429" height="529">
  <uid>{9E5C7C65-CCD2-41D8-816A-D729CC9802D2}</uid>
  <packages>English Keypad|English Directions|Clickable URLs|Achaea</packages>
  <loc name="Achaea" color="blue">
    <value>0</value>
  </loc>
</window>
<window name="channels" commandline="false" statusbar="false" dockalign="Top" width="518" height="263" host="none">
  <uid>{E01B4F35-2C39-4289-A472-E059A015F69D}</uid>
  <dockuid>{9E5C7C65-CCD2-41D8-816A-D729CC9802D2}</dockuid>
</window>
<mapper name="Achaea Map">
  <uid>{7CFAD140-EC99-417D-B7FA-DA2284748544}</uid>
</mapper>
</cmud>


Instructions to Reproduce Bug

Code:

Preparation:
1) Save the above xml code to a file such as "temp_bug.xml".

Allowing for a Clean Install of CMudPro:
2) Rename "C:\Program Files\CMUDPro" to "C:\Program Files\CMUDPro_old"
3) Rename data directory "D:\CMUD" to "D:\CMUD_old"

Installation:
4) Execute cmudpro303_setup.exe
4a) Unselect installation of "Mud Listing"
4b) Use default install path "C:\Program Files\CMUDPro"
4c) Use "User Session file" location of "D:\CMUD"
4d) Use default Start Menu Folder creation.
4e) Click "Finish" with the "Run CMUDPro" option selected.
5) Scroll to the bottom of license agreement and accepted.
6) Cancel the Transfer session window.

Importing the xml package:
7) Right click Achaea, open "Off-Line"
8) Left click settings icon to open the Settings Editor
9) From the Settings Editor menu: File -> Import XML
10) Navigate to the xml file you saved above and click open.

You should now see the Channels Window appears at the top, the Achaea Window appears on the bottom

Arranging the Windows:
11) Left 'click and hold' at the top of the Channels Window and drag it to the right of the main Achaea Window (they are now side by side - left to right).
12) Left click on the map button to open the map.  The map appears to the right of both the previous windows.
13) Left 'click and hold' at the top of the map and drag it above the Channels Window.

You should now have the Achaea window to the left with the map window directly above the channels window to the right.

14) From the main menu: Layout -> Save Session Layout
15) Left click the upper right hand "X" to close Cmud

Reopening CMud with the Layout Lost:
16) Open Cmud again and right click Achaea and open "off-line"

The Main window Achaea opens tabbed with the Map/Channels.  The layout settings from the previous session are lost.

The additional "Invalid Window Handle Crash" bug:
17) Drag the map window out from the tab and try to dock it to the right of the main Achaea window.  I now get a System Error.  Code: 1400.  Invalid window handle.
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Thu Jan 15, 2009 8:19 am   
 
ReedN
Try to delete all the <dockuid>...</dockuid> lines and check if the problem persists.
_________________
My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Thu Jan 15, 2009 3:28 pm   
 
Could you explain a little more about your suggestion? Cmud added those itself, what reason do you have for suspecting them?
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Jan 15, 2009 5:52 pm   
 
OK, I was able to reproduce the layout not saving properly with the new procedure. Still didn't get the System Error 1400 crash, but I think that's a result of the screwed up window layout and might be different on WinXP vs Vista (I was testing on my Vista system).

The step (14) to manually save the layout isn't needed. The layout is saved automatically when you exit CMUD.

To make this easier to reproduce over and over again, all you need to do to "reset" the test is to delete the Achaea.pkg and Achaea.xly files created by the above steps. Then you can start again with step (7) to see the problem happen again.

If I edit the XML file and remove the UID and DOCKUID lines that Arde mentioned, then everything works fine. These UID values are used to "connect" the windows in your settings package with the windows saved in your window layout file. These are unique ID values for each window. I think what is happening is that CMUD is creating a new unique UID for the Achaea window when you first load it offline, and assigning the UID to the main window. Then when doing the Import XML, the UID of the Window settings object is changed, but the UID of the window in the docking system itself is not changed. So the *.XLY file gets saved with the wrong UID values. When you load the session, it cannot match the UID values between the package file and the XLY file.

If you look in the Achaea.XLY file and try to search for the various UID values from the XML file, it can find the one for the Channels window, but it cannot find the one for the main Achaea window, or for the mapper window.

Anyway, now that I have a way to reproduce this, I have added it to the bug list.

To get around this bug, exit CMUD right after you import the XML file. Then run CMUD and hold down the SHIFT key and click the Open Offline action. *Then* rearrange the windows to the layout that you want. Now the layout will be saved properly.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net