HISE Logo Forum
    • Categories
    • Register
    • Login

    [bug] Shortcut keys not working properly

    Scheduled Pinned Locked Moved Bug Reports
    shortcut
    28 Posts 6 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey @Christoph Hart
      last edited by

      @Christoph-Hart Yeah it works with F keys :)

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

        Bumpy bumpy

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          Bump again @Christoph-Hart Can you point me to where I need to be to fix this?

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey
            last edited by

            While you're fixing annoying bugs, this one annoys me :)

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 1
            • d.healeyD
              d.healey
              last edited by d.healey

              :D

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 1
              • Dan KorneffD
                Dan Korneff
                last edited by

                @Christoph-Hart Any chance we can get some shortcuts working again, as well as the search function?
                Really having a hard time without the search.

                Dan Korneff - Producer / Mixer / Audio Nerd

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Dan Korneff
                  last edited by

                  @Dan-Korneff Search is working here. What is not working for you?

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  Dan KorneffD 1 Reply Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff @d.healey
                    last edited by Dan Korneff

                    @d-healey I always get "0 occurrences found" when I use the search function. It works properly in Linux, but not Win or Mac here.

                    Screenshot from 2022-09-29 08-17-35.png

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Dan Korneff
                      last edited by

                      @Dan-Korneff What if you change the ignore case option?

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      Dan KorneffD 2 Replies Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @d.healey
                        last edited by

                        @d-healey Changing any of the options shows the same result

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        1 Reply Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff @d.healey
                          last edited by

                          @d-healey It looks like it works if I manually type in the search term, but highlighting text and selecting "Find All Occurrences" doesn't

                          Dan Korneff - Producer / Mixer / Audio Nerd

                          ulrikU Matt_SFM 2 Replies Last reply Reply Quote 0
                          • ulrikU
                            ulrik @Dan Korneff
                            last edited by

                            @Dan-Korneff Yes it behaves the same for me

                            search.gif

                            Hise Develop branch
                            MacOs 15.3.1, Xcode 16.2
                            http://musikboden.se

                            1 Reply Last reply Reply Quote 1
                            • Matt_SFM
                              Matt_SF @Dan Korneff
                              last edited by

                              @Dan-Korneff same here too

                              Develop branch
                              Win10 & VS17 / Ventura & Xcode 14. 3

                              Christoph HartC 1 Reply Last reply Reply Quote 0
                              • Christoph HartC
                                Christoph Hart @Matt_SF
                                last edited by

                                Ah yes, that's right, I broke this when I rewrote the search box logic.

                                BTW, you can use special search modes for

                                • namespaces (n)
                                • functions (fn)
                                • variables (reg, const and var) (v)
                                • symbols (namespaces, functions and variables) (s)
                                • files (f)

                                Just type the letters above, then a space and the search term, so if you're looking for a symbol named mySymbol, type in

                                s mySymbol
                                

                                If you're looking for a file called MyFile.js, type in

                                f MyFi...
                                

                                If you use the symbol / function / variables search mode it will also display a preview of the object when you select a line (this only works in symbol mode :

                                5d33d626-4b93-41f4-aefb-a4e358a8f690-image.png

                                1 Reply Last reply Reply Quote 5
                                • d.healeyD
                                  d.healey
                                  last edited by

                                  @Christoph-Hart Excellent, thank you, this looks very useful! Did you fix the shortcut key issue too?

                                  alt text

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  Christoph HartC 1 Reply Last reply Reply Quote 0
                                  • Christoph HartC
                                    Christoph Hart @d.healey
                                    last edited by

                                    @d-healey I think the issue is in this line:

                                    https://github.com/christophhart/HISE/blob/fcfdcda74348bf4723479ea92e5ac497dd60f21a/hi_tools/hi_tools/MiscToolClasses.h#L584
                                    

                                    It checks if the current key press is in the list of assigned key presses, however something on Linux messes with the default comparison operator so you might have to compare them manually (I don't have access to a Linux system at the moment so you need to get your hands dirty yourself). So instead of this line, add something like

                                    for(auto ak: t->keyMap.getKeyPressesAssignedToCommand(idx))
                                    {
                                         if(ak.mods == k.mods &&
                                            ak.getKeyCode() == k.getKeyCode())
                                         {
                                              return true;
                                         }
                                    }
                                    

                                    (the condition is totally bogus and won't compile), but you might try different things until you find something that works reliably :)

                                    d.healeyD Dan KorneffD 2 Replies Last reply Reply Quote 1
                                    • d.healeyD
                                      d.healey @Christoph Hart
                                      last edited by

                                      @Christoph-Hart Thank you, I'll play around with it.

                                      Libre Wave - Freedom respecting instruments and effects
                                      My Patreon - HISE tutorials
                                      YouTube Channel - Public HISE tutorials

                                      1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey
                                        last edited by

                                        @Christoph-Hart I don't think that is where the problem is. I've been playing around with this some more and here are the steps to reproduce the problem and some things I notice.

                                        Open HISE and go to File >> Edit Shortcuts

                                        Scroll down to the Duplicate selection at cursor action, you will notice it is set to ctrl+ D and this does not work on GNU/Linux.

                                        Click the + button and assign ctrl + D to the command.
                                        It will look like this and will work on GNU/Linux.

                                        9731461c-aa94-4357-b076-be4cd7f7563e-image.png

                                        Close HISE and open the KeyPressMappings.xml file. You will see ctrl + D has been added correctly.

                                        Keep that file open and launch HISE, then close HISE. You'll see the mapping disappears from the xml file.

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

                                        1 Reply Last reply Reply Quote 0
                                        • Dan KorneffD
                                          Dan Korneff @Christoph Hart
                                          last edited by

                                          @Christoph-Hart said in [bug] Shortcut keys not working properly:

                                          I don't have access to a Linux system at the moment

                                          Do you need access to one? ;)

                                          Dan Korneff - Producer / Mixer / Audio Nerd

                                          1 Reply Last reply Reply Quote 0
                                          • d.healeyD
                                            d.healey
                                            last edited by

                                            Any chance of getting this looked at? My last post contains my most recent findings.

                                            Libre Wave - Freedom respecting instruments and effects
                                            My Patreon - HISE tutorials
                                            YouTube Channel - Public HISE tutorials

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            44

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.1k

                                            Posts