Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installer - Task tray options activated by default #366

Open
radinamatic opened this issue Feb 26, 2016 · 7 comments
Open

Windows installer - Task tray options activated by default #366

radinamatic opened this issue Feb 26, 2016 · 7 comments
Milestone

Comments

@radinamatic
Copy link
Member

Summary

All three KA Lite start options inside the task tray menu are activated by default upon install. Two main consequences:

  1. Server starts by just clicking twice the desktop shortcut - If I remember correctly, on first run desktop shortcut should open the KA Lite exe in the task tray. Only if the user then chooses to activate the option Àuto-start server when KA Lite is run, should this behavior be valid.
  2. All 3 options activated by default might give the user impression that server will start on boot, and this is not the case.

Branch or installer

Build 150/151 on Windows 7.

Screenshots

task-tray-options

How to reproduce

  1. Install KA Lite
  2. Open task tray KA Lite.exe > Options
@radinamatic
Copy link
Member Author

@MCGallaspy I' not seeing that Run KA Lite on system startup is working... :(
Even if I uncheck the respective option (since it's activated by default, but not working), and re-check it, it does open the password confirmation cmd.exe window, but does not install/executes the scheduled task upon restart. I'm unsure where are we at this point.

Another thing that I noticed is that the only thing that seems to be working (meaning runs the server after restart, after I uncheck, re-check it, and restart the machine), is the Run KA Lite when the user logs in. but I see no scheduled task. So how does it manage to execute KA Lite & start the server?

@radinamatic
Copy link
Member Author

Ok, I just figured out something else... The password confirmation cmd.exe window does not tell the user that the password is wrong, and that's why the scheduled task is not installed properly and not working on startup. I just realized that I was doing it with the wrong password! Phew... 😌

Do we have option to inform the user that the password is wrong? @MCGallaspy

@MCGallaspy MCGallaspy added this to the 0.16.0 milestone Feb 29, 2016
@MCGallaspy MCGallaspy added the bug label Feb 29, 2016
@MCGallaspy MCGallaspy self-assigned this Feb 29, 2016
@MCGallaspy
Copy link
Contributor

Regarding the incorrect password issue, I'll check it out.

Regarding all the options being checked by default -- I assume that they're checked, but that they're not "active" in some sense. Is that the case? For instance, you had to check and uncheck the server start options in order to enable them?

@radinamatic
Copy link
Member Author

I assume that they're checked, but that they're not "active" in some sense.

Not active at all, at least the first two. All three appear checked when user opens the Options, but the only one that actually works is the third one, namely, the server starts when KA Lite.exe is run from the desktop shortcut. If the user restarts the computer, KA LIte is not run at user login (option 1), and neither server nor KA Lite run at system restart. Their checked state gives user the impression they are activated by default.

@radinamatic
Copy link
Member Author

Regarding Option 2: it's not working from the get-go, but if you uncheck it and re-check it, it does open the password confirmation cmd.exe window, and (if you give the right password 😉) it will install/execute the scheduled task upon restart. If this is how we want it to work, we should change the wording, since it does not starts KA Lite.exe, it starts the server in the background.

@radinamatic
Copy link
Member Author

So, for a change, everything here works like charm on XP! 😀

  • desktop shortcut opens KA Lite task tray, but does not start the server as on Win 7
  • all 3 options are deactivated/unchecked by default upon install
  • if the user chooses option 2, they are informed that it's unavailable on XP
  • if the user chooses option 1, KA Lite task tray loads at user login
  • if the user chooses option 3, server is started on boot (or that user login, not sure how to ascertain that)

So, million $ question: how do we make this work on W7?

@radinamatic
Copy link
Member Author

New piece of information, after testing upgrade scenarios on Windows 7: the original issue (all 3 options activated by default) seems valid ONLY on fresh 0.16 install, but in case of upgrading from previous version (0.14 or 0.15 at least, doing the 0.13 now, will confirm), everything works as intended.

Not sure I can make much sense of it myself, but you might, so I'm leaving it here for the record! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants