File->Open... .tws file doesn't prompt (9.9.6)

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
gurok
Posts: 36
Joined: Tue Apr 06, 2010 3:15 am

File->Open... .tws file doesn't prompt (9.9.6)

Post by gurok »

Opening a workspace .tws file through File->Open... will discard any unsaved documents and switch to the workspace, no questions asked.

Opening through File->Workspace->Open... also discards unsaved documents without asking.

Opening through File->Workspace->MyWorkspace.tws or some other recent file prompts the user as expected.

I found this out the hard way with a bunch of unsaved files open. :(
User avatar
bbadmin
Site Admin
Posts: 1032
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Re: File->Open... .tws file doesn't prompt (9.9.6)

Post by bbadmin »

I've checked back and found that this bug was introduced in versions 9.4.1 and 8.18.1 in February 2024. It's funny how often old bugs are found within a week of issuing new releases!

Thanks for reporting it. It will be fixed in the next release.
gurok
Posts: 36
Joined: Tue Apr 06, 2010 3:15 am

Re: File->Open... .tws file doesn't prompt (9.9.6)

Post by gurok »

I know what you mean. A total coincidence, I assure you :D

At the time, I was just trying to inspect the format of .tws files to see whether they were binary or text. I'm not even sure if the current File->Open... behaviour (even if it prompts) is intended, as the only way I could coax TextPad into viewing such a file was to rename it to something like .twsx.
IanOfYork
Posts: 132
Joined: Sat Nov 04, 2017 11:54 am
Location: York, England

Re: File->Open... .tws file doesn't prompt (9.9.6)

Post by IanOfYork »

See viewtopic.php?p=45822#p45822 for a utility to output the contents of the TWS files.
Post Reply