Page 2 of 2
WTR files not saving correctly? 01/01/2013 at 20:56 #39941 | |
peterb
452 posts |
Clive - The text 9Z99 was added to the front timetable description, and a rule with 9Z99 added. As you can see, on this save, the rule survived but the modified TT description did not. In the past, TT rules which I have added have also been 'deleted' on saving. Barry also tested this above and found the TD reverted back. The original filename (that I have) has spaces, as does the 'Timetable Name'. I can only assume that having attached the file to my post, the forum has removed the spaces in the filename. I've done another search and there aren't any duplicates or anything out of the ordinary. Log in to reply |
WTR files not saving correctly? 02/01/2013 at 00:16 #39953 | |
postal
5260 posts |
As a test, 4 TT fules (2 x .wtt and 2 x .wtr) uploaded to see whether the site is corrupting file names on upload.
“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe Last edited: 02/01/2013 at 00:17 by postal Log in to reply |
WTR files not saving correctly? 30/05/2018 at 20:37 #108347 | |
postal
5260 posts |
I know this is an old thread referring to the .wtt/.wtr formats but the same problem has recently occurred with a .wtt file saved for a loader sim and I think I may have found out why an edited TT description on the General tab is not saved and the original description appears when the TT is re-loaded. I have tried a couple of times and managed to replicate the problem so I hope things may be on the right track. If you edit the TT description then save the TT with the F4 window still open I don't think the edited description is saving. If I edit the description, save the TT with the F4 window open and then close down and re-open the sim/TT the edited TT description is lost and the previous version displayed. If I edit the TT description, close the F4 window then save the TT, then close and re-open the sim/TT the edited text is displayed correctly. I've put a note on the relevant Mantis entry (#12307) but would welcome it if someone could test and let me know whether they are seeing the same as me. “In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe Last edited: 30/05/2018 at 22:35 by postal Reason: None given Log in to reply |
WTR files not saving correctly? 31/05/2018 at 05:37 #108348 | |
GeoffM
6370 posts |
postal in post 108347 said:If you edit the TT description then save the TT with the F4 window still open I don't think the edited description is saving.That is most likely exactly it. You haven't "ok"ed it to update the in-memory copy, and the save works off the in-memory copy. This could go two ways: disable saving while the window is open, or update the in-memory copy even though you haven't "ok"ed it. The latter does not sit well with me from a logical point of view. SimSig Boss Log in to reply |
WTR files not saving correctly? 31/05/2018 at 09:39 #108355 | |
postal
5260 posts |
Could this also because the problem others have reported of edited trains losing their edits and deleted or new trains not carrying forward to a save? Agree that it doesn't seem sound to update a save before OK is clicked. “In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe Log in to reply |
WTR files not saving correctly? 31/05/2018 at 09:45 #108356 | |
Jan
904 posts |
GeoffM in post 108348 said:or update the in-memory copy even though you haven't "ok"ed it.This is already what happens when editing things on all the other tabs, though. That is they become effective immediately, are included in TT saves and the Cancel button on the main editor dialogue doesn't have any effect. Although the difference there is that adding/editing a train type/timetable/... happens within its own sub-dialogue, which is a) modal, and therefore makes it impossible to access the save button at that time and b) has its own set of Ok and Cancel buttons. Likewise, deleting an item pops up a confirmation dialogue before actually deleting the item (except when it doesn't - #0020687. Editing the timetable description on the other hand happens directly within the main F4 dialogue, so I can see why it would need a separate confirmation the way things currently are. So in a way I agree with Quote: The latter does not sit well with me from a logical point of view.- other than for the "General" tab, the Cancel button doesn't have any real purpose at the moment and its presence is rather misleading for all the other tabs. From a purely practical perspective when editing timetables, though, being able to do a quick save while editing the timetable without having to close and then re-open the editor (and finding your bearings again) is rather handy and I'd hate to lose that capability. So I wouldn't be happy about Quote: disable saving while the window is openor making all other tabs work like the General tab as well without any further changes. So I'm not sure what the best idea would be that could make this less confusing and at the same time also preserves work flows like mine. Maybe - Opening the F4 dialogue creates a true in-memory copy of the current timetable that only replaces the live timetable after hitting the Ok button of the main dialogue. Clicking cancel completely discards all changes. - Timetable -> Save As... is disabled while the F4 dialogue is open, but not by simply making the F4 dialogue modal. - In addition to the Ok and Cancel buttons at the bottom of the TT editor, there's also a new "Save as..." button that saves the current state of the timetable within the F4 dialogue, including all edits made so far. Two million people attempt to use Birmingham's magnificent rail network every year, with just over a million of them managing to get further than Smethwick. Last edited: 31/05/2018 at 09:47 by Jan Reason: None given Log in to reply |
WTR files not saving correctly? 31/05/2018 at 17:08 #108365 | |
GeoffM
6370 posts |
Rather than disabling Save when F4 is open, it could ask you to confirm the changes before saving.
SimSig Boss Log in to reply |
WTR files not saving correctly? 31/05/2018 at 18:14 #108369 | |
Jan
904 posts |
Good idea - maybe turn the Ok/Cancel buttons into Ok/Cancel/Apply then, with the Save option asking you whether to apply the changes first before saving, as you suggest?
Two million people attempt to use Birmingham's magnificent rail network every year, with just over a million of them managing to get further than Smethwick. Last edited: 31/05/2018 at 18:14 by Jan Reason: None given Log in to reply |
WTR files not saving correctly? 10/06/2018 at 07:37 #108534 | |
postal
5260 posts |
Just for the record, any edits to the TT name are also not saved and the version number does not update if the F4 window is open and focussed on the General tab when the TT is saved. @GeoffM: The original Mantis bug (#12307) was raised by Kurt on 15/01/15 and assigned to Clive. It is still showing as "new". Should it be re-assigned to you? “In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe Last edited: 10/06/2018 at 07:40 by postal Reason: None given Log in to reply |
WTT files not saving correctly? 10/06/2018 at 19:26 #108551 | |
GeoffM
6370 posts |
postal in post 108534 said:Just for the record, any edits to the TT name are also not saved and the version number does not update if the F4 window is open and focussed on the General tab when the TT is saved.I hadn't realised this was quite an old thread. Note to others: WTR files have not existed for a long time. Ticket assigned to myself, thanks. SimSig Boss Log in to reply The following user said thank you: postal |