Block reboots

Ideas for new features

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

Post Reply
IanOfYork
Posts: 93
Joined: Sat Nov 04, 2017 11:54 am
Location: York, England

Block reboots

Post by IanOfYork »

Windows updates that cut in while I am away getting a coffee have lost many unsaved edits.

If TextPad has unsaved files, could it please block a system reboot request?

If catching the WM_QUERYENDSESSION message does not allow a full block, please ensure that unsaved files do get saved.
It would probably be kinder to save to a backup file rather than just saving as normal.
Restarting Textpad should then warn about any pending backup saves.

Also save the workspace file.
Last edited by IanOfYork on Thu May 25, 2023 7:32 am, edited 2 times in total.
User avatar
bbadmin
Site Admin
Posts: 786
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Re: Block reboots

Post by bbadmin »

TextPad does have a handler for that message, but it can't be working right if you're losing edits. It's difficult to debug this when Windows is shutting down, but we'll check that code.
wb6vpm
Posts: 4
Joined: Mon Feb 15, 2021 9:47 pm

Re: Block reboots

Post by wb6vpm »

IanOfYork wrote: Mon May 22, 2023 12:27 pmIt would probably be kinder to save to a backup file rather than just saving as normal.
Restarting Textpad should then warn about any pending backup saves.
I do wish they would enable the last part, where it saves any unsaved documents (whether its just edits to an existing file, or a completely unsaved document as a backup/"recovery"), and then re-present them when TextPad comes back up to allow for recovery, much like how MS Word (or any other Office application does).
Last edited by AmigoJack on Wed Jul 19, 2023 7:49 am, edited 1 time in total.
Reason: reducing full quote to relevant quote
IanOfYork
Posts: 93
Joined: Sat Nov 04, 2017 11:54 am
Location: York, England

Re: Block reboots

Post by IanOfYork »

Last edited by AmigoJack on Sat Dec 16, 2023 9:39 am, edited 1 time in total.
Reason: linking to topic instead of own post; adding link title
Post Reply