Disable confirmation on close/exit?

Post Reply
4s6ryd
Novice Class
Posts: 10
Joined: 31 Dec 2019, 02:04
Location: Colombo, Sri Lanka
Contact:

Disable confirmation on close/exit?

Post by 4s6ryd » 20 Nov 2020, 18:25

Hi
Searched for this and couldn't find a straight answer.
Is there a way that I can disable the "Shutdown Request" dialog box which asked "Do you want to close Log4OM?" ? I have setup few apps automatical start when my activity starts and close when I end. But Log4OM hangs on close when this dialog box appears and requires a manual interaction.
It is good to have a confirmation like this to avoid accidental closing of the program.
log4om.jpg
log4om.jpg (18.8 KiB) Viewed 420 times
But it would be better if you can a switch to on/off this feature under Program settings?

User avatar
DF5WW
Log4OM Alpha Team
Posts: 1651
Joined: 02 May 2013, 09:49
Location: Kraam, Rhineland Palatinate, Germany
Contact:

Re: Disable confirmation on close/exit?

Post by DF5WW » 20 Nov 2020, 18:58

This is a windows related thing and not a Log4OM thing. Maybe you ask microsoft for this.
73´s .. Juergen ... ALT-512 SDR (10W) , 50 m random wire at CG-3000 autotuner, Ailunce HS2 (20W and 5W VHF/UHF) to LPDA´s and different vertical´s ...

User avatar
DL2RPN
Novice Class
Posts: 5
Joined: 31 Oct 2020, 23:01
Location: JO62oj
Contact:

Re: Disable confirmation on close/exit?

Post by DL2RPN » 20 Nov 2020, 23:25

DF5WW wrote:
20 Nov 2020, 18:58
This is a windows related thing...
Not necessarily, Jürgen. Under normal circumstances the programmer always have the choice to implement a dialog or not. In the case
of Log4OM (and the shutdown actions, upload etc.) it's - logically - the better way to generate a dialog.

@4s6ryd: I don't know your special software setting around Log4OM. But you can close Log4OM without a shutdown-dialog simply by a
powershell command:

Code: Select all

PS: stop-process -name L4ONG
or:

Code: Select all

PS: stop-process -name L4ONG -force
See here: https://www.colorconsole.de/PS_Windows/ ... rocess.htm
The powershell must be executed with admin rights and the process-name you'll find out with the Task-Manager (Details).
Maybe this could help you.
But be warned: You should know what are you doing and I've no idea what happens if Log4OM doing something at this moment...
Btw: QSO-Data will be not uploaded (LotW) in that case!

Therefore an option for enable/disable the shutdown-dialog would be the best solution.
73 de Chris, DL2RPN

User avatar
G4POP
Log4OM Alpha Team
Posts: 8011
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Disable confirmation on close/exit?

Post by G4POP » 21 Nov 2020, 07:25

Chris,
Yes we implemented this message on shut down because a lot of users complained that sometimes they closed Log4OM without having saved a QSO.

During that close down period many scheduled actions are also taking place so it is not a good idea to bypass this action and cause immediate closure.

To the person that suggested removing the feature, we will wait to see if we receive more complaints about this, so far this is the only request in the 3 /4 years since the close down message has been implemented.
73 Terry G4POP

4s6ryd
Novice Class
Posts: 10
Joined: 31 Dec 2019, 02:04
Location: Colombo, Sri Lanka
Contact:

Re: Disable confirmation on close/exit?

Post by 4s6ryd » 25 Nov 2020, 04:02

Hi Terry
Thanks for the response. I understand the requirement and also the consequences of accidental closure of log4OM.
What I recommended is to have a flag or ON/OFF settings so that the program exits without waiting for a confirmation.
Why I asked this is that I use Win4Yaesu to control my radio and also to open all related programs like log4OM, SDRUno, JTDX, etc etc . That program (Win4Yaesu) also has a feature to close all these programs it opened, when exit.

So, I thought by having this feature, I can simply rely on a single program to start my radio activity.

Again, it is just a recommendation or a feature request only.

Riyad

ke0cu
New user
Posts: 2
Joined: 25 Nov 2020, 22:10

Re: Disable confirmation on close/exit?

Post by ke0cu » 26 Nov 2020, 19:36

I too wish we could disable this feature.

Post Reply