-
Notifications
You must be signed in to change notification settings - Fork 358
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
Keeps the 1/2->1/3->2/3 window behavior, but resets the cycle anytime... #258
Conversation
… a window is moved outside of the cycle
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.
The behavior is much better!
Can you clean up the trailing whitespace being added to the files, please.
Awesome, thank you! Now, question is, what is the final desired behavior. This is already better than the existing release, but some folks would like this feature disabled altogether. I am not familiar at all with the code and don't know how easy or hard it is to add a toggle-able preference. |
No problem, glad I could help! I'm not really familiar with the entire codebase either
|
Amazing! Regarding the settings, I think there are two ways how to implement it:
The first option involves:
|
Yes, I can get you a PR in the next few days |
With the latest commit, you can now disable the functionality by using
|
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.
This is great, thank you. I am not sure if you're familiar with git add --patch
, which helps me skip things I don't intend to commit.
<key>nextscreenKeyCode</key> | ||
<integer>45</integer> | ||
<key>nextscreenModifiers</key> | ||
<integer>1835008</integer> |
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.
Is this an intentional whitespace change?
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.
More or less. I used Xcode's plist editor, and it automatically made the whitespace changes; but had I edited it manually I would have likely done the same thing to make the file more consistent.
Did you, by chance, make cycling default to enabled or disabled? Given the backlash, perhaps it should be opt-in? Also, adding the command in your comment above to the I'm going to put together a new build ... |
Ok, just tried this myself and to enable cycling I had to run this command:
I think opt-in is good! |
Adding reference to #254 |
Yeah, I wasn't sure what the default should be. I think most of the backlash was because of the bug where going back and forth between directions changed the size (that was certainly the impetus for me getting involved), rather than the functionality itself. I think for new installs, the default behavior will be for it to be enabled, because they don't have the plist installed yet, and I have the default set to enabled. For upgrades, the behavior will be for it to be disabled, because the key doesn't exist in their already existing plist. |
(I didn't test the new install, though) |
That sounds reasonable. If you don't mind updating the README, I think this is good to merge into |
Can this get merged in soon? The new behavior that this pull request corrects bothers me every time I use the application… |
Thanks so much @rca |
`brew cask install shiftit` is getting the latest from Github at the current time (v1.6.5) which fixes fikovnik/ShiftIt#258
Was this made the default (NO)? I only ask as the resizing used to work without the need to run. This is why I ended up on this thread. |
Hey! You broke my workflow! I found the 'reduction cycle' feature recently, and thought this was default/intended behaviour. |
Per discussions I believe the intent was to maintain the old behavior and if someone wanted the additional 1/3 window in the flow the If this is not the case, please reply back and we should discuss maintaining old behavior as the default. |
`brew cask install shiftit` is getting the latest from Github at the current time (v1.6.5) which fixes fikovnik/ShiftIt#258
As someone with auto update on, upgrading to 1.6.6 broke this behavior and I had to google, found this thread, and run |
… a window is moved outside of the cycle