-
Notifications
You must be signed in to change notification settings - Fork 26
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
#19 - WinForm Blackout Screen Timing Customization + #29 - Saving Profile Names from "Edit" #31
Conversation
because why not
This reverts commit f28659c.
mainly because when I look at the json file, I want the name and IDs to be the first properties to display
Hey,
That being said; the process has two profiles at each end, I think we should also respect the already active profile. What if for example, the starting profile is too complicated? Should we average the delay between the old and new profiles? Meanwhile; we probably can safely modify the code to remove the unnecessary delay. For example:
It can be deleted safely. I just put that 2-sec delay there for the splash screen to show countdown so the user knows something is happening before starting to change display config that might block the user's view. Or the 18-sec delay for surround settings to apply here:
We can safely remove that when the surround is disabled in both the old profile and the target profile. Or generally whenever the surround settings won't change as the result of profile switch. The same thing can be done for the 10-sec delay for the general display arrangement configuration here:
We can maybe decide how much difference there is before applying the new config. In some cases like turning a 3 extended profile into a 3 display surround the applied settings after enabling surround are completely right and we might be able to even completely skip this step along with the 10-sec delay. In my tests, however; Windows was lazy to report the changes to the current settings and it made it hard to detect if we also need to reconfigure display arrangments in order to skip this step. In my opinion; we should first try to fix these issues and optimize the procedure as best as we can and then decide if we should give the end-user the ability to override settings. The real issue is the fact that I hardcoded these numbers and not necessarily the amount of time it takes to switch to and from a profile. I choose 18, 10 and 30 just to be safe; but he process might happen immediately (like when the only difference is the primary display) or takes as long as the NVidia drivers or the Windows feel like. |
These are my ideas, for now, I will try to write the implantation when I find some free time. I would appreciate any PR meanwhile.
Edit |
I now understand what you were talking about WRT the hardcoded timings - On the UI side, for the splash screen, maybe giving an indicator of the current state / a progress bar could be a nice way to communicate that to users. I see also why this is something you've deferred for a while - I underestimated its scope but it looks to be a bit of a chore |
Closed in favor of #33 |
Related issues:
#19 , #29
I've gone ahead and implemented the relevant changes to enable this feature.
Now profile switch timings can be set, and from the "Edit" menu, saving is possible.
Let me know if there's anything that I should change before this PR is ready to merge.
Also, one of us should probably bump the minor version @falahati