• Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Medium Medium
    • None
    • 4.2.1
    • Git
    • None
    • Minor

      I do not need Build Status in the History view, but it's turned on by default. So, I'd like to hide it via quickly - via shortcuts.

      In the System Settings app: Keyboard > Keyboard Shortcuts > App Shortcuts > + (to add) > (setting)

      • Application: SourceTree
      • Menu Title: Hide Build Status
      • Keyboard Shortcut: ⌃H

      > Done.

      But it doesn't work. And I found that it only work when: open the View menu > close the View menu > DONOT NO anything > ⌃H.

       

            [SRCTREE-8001] macOS Keybord Shortcuts do not work

            80519d356caa, no problem. You are welcome!
            Closing this as per above comment.

            Raman Sidarakin (Inactive) added a comment - 80519d356caa , no problem. You are welcome! Closing this as per above comment.

            Ming LQ added a comment -

            Hi, Raman Sidarakin

            Yes, Safari has the same behavior, it's not a SourceTree bug. I'm very sorry to trouble you!

            Ming LQ added a comment - Hi, Raman Sidarakin Yes, Safari has the same behavior, it's not a SourceTree bug. I'm very sorry to trouble you!

            80519d356caa
            It looks like this behaviour happens because menu item title is changing after you interacting with it. Other words, when you are clicking "Hide Build Status", then item title is changes to "Show Build Status" and vice-versa. It looks like "App Shortcuts" feature is not expecting that or something else.

            You could check, that other apps like Safari are also experiencing the same issue. For example Safari has "Window->Pin Tab" menu item, which is changes to "Window->Unpin Tab" after clicking on it. In case you will try to add "App Shortcut" only for "Pin Tab" menu item, then you will see, that it behaves the same way as Sourcetree.

            So, lifehack with adding two "App Shortcuts" with the same key combination, but with two variants of menu item titles is helping to make it work correctly.

            Raman Sidarakin (Inactive) added a comment - - edited 80519d356caa It looks like this behaviour happens because menu item title is changing after you interacting with it. Other words, when you are clicking "Hide Build Status", then item title is changes to "Show Build Status" and vice-versa. It looks like "App Shortcuts" feature is not expecting that or something else. You could check, that other apps like Safari are also experiencing the same issue. For example Safari has "Window->Pin Tab" menu item, which is changes to "Window->Unpin Tab" after clicking on it. In case you will try to add "App Shortcut" only for "Pin Tab" menu item, then you will see, that it behaves the same way as Sourcetree. So, lifehack with adding two "App Shortcuts" with the same key combination, but with two variants of menu item titles is helping to make it work correctly.

            Ming LQ added a comment - - edited

            Hi, Raman Sidarakin

            I just need Hide Build Status, so I didn't add Show Build Status, and this is the video - https://youtube.com/shorts/mwjBahZoSOc?feature=share. My macOS version is Ventura 13.2, and my Mac is MakBook Pro 13-inch, M1, 2020.

            After the video, I tried to add Show Build Status, it works like a charm, thank you very much! But, is it required for setting Hide Build Status?

            Ming LQ added a comment - - edited Hi, Raman Sidarakin I just need Hide Build Status, so I didn't add Show Build Status, and this is the video - https://youtube.com/shorts/mwjBahZoSOc?feature=share . My macOS version is Ventura 13.2, and my Mac is MakBook Pro 13-inch, M1, 2020. After the video, I tried to add Show Build Status, it works like a charm, thank you very much! But, is it required for setting Hide Build Status?

            Hi, 80519d356caa
            Thanks for contacting us.

            I think the issue might be in content of "Menu Title:" field when you created shortcut.

            Could you please try to specify the next information in your shortcuts:

            1. Hide Build Status:
              Application: Sourcetree.app
              Menu Title: View->Hide Build Status
              Keyboard Shortcut: ⌃H
            1. Show Build Status:
              Application: Sourcetree.app
              Menu Title: View->Show Build Status
              Keyboard Shortcut: ⌃H

            Here you could find the video, which describes how it should be configured.

            In case issue is still persists, could you please then specify which version of macOS are you are using now?

            Anyway, looking forward for your reply.

            Raman Sidarakin (Inactive) added a comment - Hi, 80519d356caa Thanks for contacting us. I think the issue might be in content of "Menu Title:" field when you created shortcut. Could you please try to specify the next information in your shortcuts: Hide Build Status: Application: Sourcetree.app Menu Title: View->Hide Build Status Keyboard Shortcut: ⌃H Show Build Status: Application: Sourcetree.app Menu Title: View->Show Build Status Keyboard Shortcut: ⌃H Here you could find the video , which describes how it should be configured. In case issue is still persists, could you please then specify which version of macOS are you are using now? Anyway, looking forward for your reply.

            Ming LQ added a comment -

            And I found that it only work when: open the View menu > close the View menu > DONOT NO anything > ⌃H.

            This works only one time, it will failed again if select Show Build Status from the View menu.

            And I also try other keys, behavior is the same.

            Ming LQ added a comment - And I found that it only work when: open the View menu > close the View menu > DONOT NO anything > ⌃H. This works only one time, it will failed again if select Show Build Status from the View menu. And I also try other keys, behavior is the same.

              Unassigned Unassigned
              80519d356caa Ming LQ
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: