-
Notifications
You must be signed in to change notification settings - Fork 815
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
implement AdvancedPrefsViewController with custom polling #97
Conversation
While we're at it, here are some things I'd also like to add to advanced prefs :
|
Sounds like a good idea! I'm currently pretty busy studying but after I finish (which should be somewhere next week) I can continue to work on it. Quick question, in the advanced prefs for polling, should I use a tableview for displaying the monitors and their settings like we do in DisplayPrefsController or just the way I did it in the screencapture up top but add an extra NSPopup button for each monitor? I have the NSPopup almost implemented but it might be better to use a CollectionView instead? |
Hi @JoniVR and good luck with your finals ! Let's try with an |
Something else we could add here would be another |
TODO: find a way to refresh menu states after reset
Some notes:
|
Conflicts: MonitorControl.xcodeproj/project.pbxproj MonitorControl/AppDelegate.swift MonitorControl/Display.swift MonitorControl/Info.plist MonitorControl/View Controllers/DisplayPrefsViewController.swift MonitorControlHelper/Info.plist
In some cases (for example when holding down the volume buttons) the sliders would be changed on the background thread instead of the main thread
TODO: fix pollingMode not resetting
- removed whitelist - added Longer Delay button to `AdvancedPrefsViewController` - refactored some stuff
I think we could start wrapping up this PR (translations and cleanup and such) and perhaps if it's ready, release it and then open an issue with other stuff we might want to add to the advanced prefs as to not make this PR too big and get the most important stuff out there for specific issue fixes. (#37, #105 for example) |
using the DisplayDelegate was unreliable and only worked for one VC (obviously)
I'm thinking it might be a good idea to add a help button which links to a wiki page on this repo where some of these advanced settings could be explained:
It would also be possible to do this with the Apple Help Book functionality but it might be better to have it on the repo? |
Wiki page has been created: All we need now is testing/review and translations.. I'm not really sure if having so many translations is going to be a good idea long term though.. given that now we'd have to ask everyone to translate this. I'm also still having build issues, I don't know if I'm the only one but I'm unable to solve them. Replacing the |
Hi @JoniVR I'll review the PR this week-end 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made some comments if you can check them out, otherwise great PR 👍
MonitorControl/View Controllers/AdvancedPrefsViewController.swift
Outdated
Show resolved
Hide resolved
Looks good to me 👍 |
Is there a way to download the new version anywhere with this new feature in it? |
@stereonom Version 1.7.0 has been released which includes this :) |
partly implements changes discussed in #37.
This is what the menu currently looks like:
I'm thinking we'd probably want monitor specific polling settings though?
I'd like some input on how that should look, should we use another
NSPopupMenu
with thefriendlyName
?TODO:
longerDelay
optionhideOsd
optionPlease feel free to add/make changes or point out things that still need changing, this is very much a work in progress.