SylphyHorn icon indicating copy to clipboard operation
SylphyHorn copied to clipboard

Can't bind Win Ctrl Shift + (Left|Right) from settings GUI

Open Roy-Orbison opened this issue 6 years ago • 8 comments

Instead, the window responds to the Win Shift + arrow combination.

After some deduction, I managed to work around it by modifying C:\Users\USERNAME\AppData\Local\Packages\46846grabacr.net.SylphyHorn_vwznf8jfphrrc\LocalCache\Local\grabacr.net\SylphyHorn\Settings.xml (when SylphyHorn is closed) to contain the below code, then restarted it.

  <KeyValueOfstringanyType>
    <Key>ShortcutKeySettings.MoveLeftAndSwitch</Key>
    <Value xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string">37,91,162,160</Value>
  </KeyValueOfstringanyType>
  <KeyValueOfstringanyType>
    <Key>ShortcutKeySettings.MoveRightAndSwitch</Key>
    <Value xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string">39,91,162,160</Value>
  </KeyValueOfstringanyType>

Roy-Orbison avatar Jun 27 '18 08:06 Roy-Orbison

I also think they're more intuitive defaults because Win Shift + arrow is move window, and Win Ctrl + arrow is switch desktops.

Roy-Orbison avatar Jun 27 '18 08:06 Roy-Orbison

Also added this for same reasons:

  <KeyValueOfstringanyType>
    <Key>ShortcutKeySettings.MoveNewAndSwitch</Key>
    <Value xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string">68,91,162,160</Value>
  </KeyValueOfstringanyType>

Roy-Orbison avatar Jul 02 '18 06:07 Roy-Orbison

Same issue. Moreover, other combos can't be bound, such as Win-Shift-Arrow, but I'll log those in another issue.

Windows 10 Home x64, 1803, 17134.471 SylphyHorn 3.1.0

ParticleMon avatar Dec 18 '18 14:12 ParticleMon

@ParticleMon Not sure why you'd want to bind Win + Shift + Arrow, that'd take away native window snapping.

I still think that Win + Ctrl + Shift + Arrow should be made the new default because then a reset button for each binding in Settings could get it (back), but other combos that the settings panel can listen for will be able to be bound manually.

Roy-Orbison avatar Dec 18 '18 23:12 Roy-Orbison

@Roy-Orbison I haven't gotten accustomed to using the native snap, as I have been using another util to handle window placement. (allSnap enables snapping windows to display edges but it doesn't currently work well in Windows 10, and I haven't yet found anything better.)

Functionality, not defaults, are my main concern. Many key combos don't work, and there are many default OS key combos that would be nice to override.

ParticleMon avatar Dec 19 '18 00:12 ParticleMon

@ParticleMon Works for me with all same version numbers (Win Pro, though).

Roy-Orbison avatar Dec 19 '18 01:12 Roy-Orbison

@Roy-Orbison So, I figured out why no key combo was working for me: combos are not active until the Settings window is closed. :D

ParticleMon avatar Dec 19 '18 14:12 ParticleMon

There is a workaround so it all works from Settings panel! In order to get the OS to ignore combinations that contain but are not the same as native ones, simply hold the modified key first, then the modifiers, then release modifiers, then release the modified key. E.g. hold Left key alone, then hold Win & Shift & Ctrl, let go of Win & Shift & Ctrl, let go of Left.

I still think the defaults for new installs should be Win + Shift + Ctrl + Left/Right for the move and switch actions.

Roy-Orbison avatar May 29 '20 06:05 Roy-Orbison