Snagit Keystroke Shortcut Conflict with TextMate

  • 1
  • Problem
  • Updated 4 months ago
The Snagit keystroke shortcut Shift+Ctrl+W for Close Capture conflicts with the TextMate Wrap Selection in Command (in LaTeX) or Wrap Selection in Open/Close Tag (in HTML) --- could this keystroke be added to those in Preferences which are configurable or deletable ? I could do without the shortcut in Snagit and have never used it
Photo of Phil Molyneux

Phil Molyneux

  • 5 Posts
  • 1 Reply Like

Posted 5 months ago

  • 1
Photo of Jason Eagleston

Jason Eagleston, Employee

  • 611 Posts
  • 83 Reply Likes
Hi Phil, are you using Snagit Mac or Windows? 
Photo of Phil Molyneux

Phil Molyneux

  • 5 Posts
  • 1 Reply Like
Hi Jason --- It is Snagit for Mac --- TextMate is Mac only --- my TextMate version is 2.0-rc.10 and Snagit is version 2018.2.1 (90446) --- I think the issue is that Snagit does not need to watch for all possible keystrokes --- the Helper app could just watch for a limited subset and the keystroke conflicts would then not happen --- other apps use Shift+Ctrl+W but they only look for that keystroke when they are the front, active application
Photo of Jason Eagleston

Jason Eagleston, Employee

  • 611 Posts
  • 83 Reply Likes
Hi Phil, thanks for the response. I was pretty sure TextMate was Mac-only the last time I looked, but just wanted to double-check in case they decided to port it. 

Just to clarify, we have "Shift+Command+W" for the "Close Capture" menu, I couldn't find any registration in the code for Shift+Ctrl+W in the codebase. I also looked into whether we register it as a global hotkey (one that will work even when Snagit isn't the foregrounded/active application), and it doesn't look like it is, so it definitely shouldn't be overriding other applications. To confirm, I tested with Safari, which uses the same hotkey, and I didn't notice any conflicts.  :-/

So, that's really weird that it is overriding TextMate. Can you confirm the Command vs. Shift part of the hotkey just to make sure I'm investigating the right shortcut? 

Thanks for the help and sorry for the trouble!
Photo of Phil Molyneux

Phil Molyneux

  • 5 Posts
  • 1 Reply Like
Hi Jason --- Thanks for the reply --- sorry for the confusion --- the TextMate command is Shift+Ctrl+W and and with the Snagit Helper running it does nothing (in TextMate) but if I quit the Snagit Helper it works again --- I am running Sierra 10.12.6 as the OS
Photo of Jason Eagleston

Jason Eagleston, Employee

  • 611 Posts
  • 83 Reply Likes
Hey Phil, thanks for the clarification. 

Here's one thing to try:

1) Open the Snagit Editor
2) Click the "Snagit" menu in the main menu at the top of the screen
3) Choose the "Preferences..." submenu
4) Choose the "Keyboard" tab once the preferences window has opened

Depending on the version of Snagit you are running, there should be a "Expose Capture" or "Window Capture" or "Mission Control Capture" label, with a hotkey editor control next to it. I believe for previous versions we did register Ctrl+Shift+W. If you see it listed, click the control containing the hotkey, and either set it to a different shortcut, or you should be able to just hit 'x' to delete it. 

E.g.


Hopefully this does the trick. Let me know :). 

Thanks!
Photo of Phil Molyneux

Phil Molyneux

  • 5 Posts
  • 1 Reply Like
  Hi Jason --- Thanks for the reply --- I had looked at Keyboard Preferences --- here is a screen snap (taken with Snagit, of course)



  As you can see, there is no item with Ctrl+Shift+W --- however, if you click on the Question Mark (Help) button, you get to Snagit Capture Preferences and Keyboard Shortcuts

This page does mention Shift-Control-W being bound to Window (Expose) Capture

Is it possible that an option was removed or changed in the Keyboard Preferences tab but the code is still watching for the keystroke combination ?

Incidentally, Ctrl+Shift+E in TextMate is bound to a similar command (in the LaTeX bundle) to Ctrl+Shift+W

Many thanks for your product support --- I have been using Snagit for over 10 years and it is one of those applications I always install as one of the first set of programs on a new computer (which is what I am installing and checking at present)

I'm assuming you are based somewhere in the US so there is a time difference but I have been very impressed by the speed of your responses and technical knowledge --- many thanks

Phil
Photo of Jason Eagleston

Jason Eagleston, Employee

  • 611 Posts
  • 83 Reply Likes
Hey Phil, 

Ahh, yeah, I missed that part of your first post (that you had already noticed the Keyboard section in Preferences), apologies. 

Yes, "Window(Expose) Capture" was renamed to "Mission Control" and the hotkey was updated to feel more natural with the new name. And all of the behavior you're describing does make it sound like Snagit somehow has kept the shortcut registered even though it is not using it any longer. 

However, I did just find that the hotkey was re-mapped to toggle the webcam on/off during a video recording, which is happening on a global basis. We should only be registering the shortcut during a video recording, and not whenever Snagit is running. :(

I was able to reproduce the exact bug with Snagit you're seeing, so I will write up a new issue to have this fixed. Unfortunately, I haven't been able to find a workaround for this, as we re-register the hotkey every time Snagit launches, so we'll have to fix it programmatically. 

Hey, no problem! Yeah, Snagit is awesome and we're so thankful for loyal customers like you (despite annoying bugs like this :)). Yep, we're in Michigan in the US, and the development team all get new feedback posts, so we do our best to respond quickly. 

I will get the bug written up and update you if we have any further questions. 

Thanks for your help and patience with this!
Photo of Phil Molyneux

Phil Molyneux

  • 5 Posts
  • 1 Reply Like
  Hi Jason --- Many thanks for confirming evidence of the problem.
  
  In terms of workarounds in the short term:
  
  (1) Only launch Snagit when you want to make a screen snap --- this is the easiest thing to do but somewhat reduces the point of SnagitHelper
  
  (2) In Snagit Preferences > Keyboard, delete/change the Menu Capture shortcut Ctrl+Shift+E --- you can then use that in TextMate instead of Ctrl+Shift+W with a bit of extra typing --- this is not as convenient as (1) since if Menu Capture does not have an associated keystroke shortcut you cannot invoke it (and Menu Capture really is very useful)
  
  Phil