Bug #95250 MySQL Notifier Options Run at Windows Startup option issue
Submitted: 5 May 2019 13:22 Modified: 9 Jul 2019 19:55
Reporter: Subham Satyajeet Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL for Windows: MySQL Notifier Severity:S3 (Non-critical)
Version:1.1.7 OS:Windows (Windows 10 Home Single Language 1809 (Version 17763.475))
Assigned to: CPU Architecture:Any
Tags: MySQL Notifier, startup, windows

[5 May 2019 13:22] Subham Satyajeet
Description:
MySQL Notifier Options -> General Options -> Run at Windows Startup is always unchecked (disabled), even if checked (enabled) on last settings save.

MySQL Notifier does add a startup entry to Windows Startup entries list on save, and MySQL Notifier DOES open on startup as expected, but the checkbox should reflect that, otherwise the user has to keep in mind to check the box every time they enter the Settings menu.

If the user enters the Options menu for the second time and pays no heed to the unchecked Run at Windows Startup checkbox, and clicks on Accept (supposed to save other changes)/Cancel(supposed to discard changes), the Windows Startup option is saved as unchecked (not supposed to happen on Cancel), and the startup entry is removed from the Windows Startup entries list.

To see how the application adds/removes startup entries to/from Windows Startup application list, use the Task Manager. Keep the Startup tab open as you perform the actions

How to repeat:
Steps to Check Entries in Windows Startup:
1) Open Task Manager.
2) Select Startup tab.

Steps to Repeat Issue:
1) Open MySQL Notifier.
2) Right click on the MySQL Notifier tray icon, and choose Actions -> Options...
3) The MySQL Notifier Options Dialog Box is shown. Under General Options, check the option "Run at Windows Startup" (it is unchecked by default).
4) Click on the "Accept" button at the bottom of the dialog. This is supposed to save your changes.
5) Observe in Task Manager -> Startup tab that a new entry corresponding to MySQL Notifier has been added.
5) Reopen the MySQL Notifier Options Dialog Box, by right clicking on the tray icon, and choosing Actions -> Options...
6) Observe that the Run at Windows Startup option is now unchecked. At this point, the Startup entry still exists.
7) Click Cancel to discard the current settings and keep the settings present before the dialog box was opened.
8) Observe in Task Manager -> Startup tab that the entry corresponding to MySQL Notifier has been removed, even if Cancel was selected.

Suggested fix:
1) MySQL Notifier Options -> General Options -> Run at Windows Startup checkbox should reflect the current state of MySQL Notifier's startup entry.

2) The Cancel button in the Options dialog should work as expected (it is supposed to discard changes made since the Dialog Box was opened).
[6 May 2019 5:50] MySQL Verification Team
Hello Subham,

Thank you for the report and feedback.

regards,
Umesh
[20 Jun 2019 4:05] Javier TreviƱo
Posted by developer:
 
Fixed a bug in the detection of the "Run at Windows startup" setting and also a bug in the Options dialog that was applying changes even when cancelling the dialog.
[9 Jul 2019 19:55] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Notifier 1.1.8 release, and here's the changelog entry:

The general option to Run at Windows Startup, after the check box was
selected, did not remain selected between sessions or add startup entries
when the entry list was saved. In addition, the Cancel button in the
Options dialog box did not discard the changes made since the dialog box
was last opened.

Thank you for the bug report.