HISE Logo Forum
    • Categories
    • Register
    • Login

    Pretty weird problem with the Preset Browser ?

    Scheduled Pinned Locked Moved General Questions
    45 Posts 5 Posters 2.5k 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.
    • lalalandsynthL
      lalalandsynth @ustk
      last edited by lalalandsynth

      @ustk Are you somehow fixing this within Hise or in c++ ?

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @lalalandsynth
        last edited by

        @lalalandsynth In the source code so C++

        Can't help pressing F5 in the forum...

        lalalandsynthL 1 Reply Last reply Reply Quote 1
        • lalalandsynthL
          lalalandsynth @ustk
          last edited by

          @ustk yep, thought so , sweet !

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

          1 Reply Last reply Reply Quote 0
          • ustkU
            ustk
            last edited by

            Now everything works except I have just noticed another bug. (actually, we can see it in your screen gif)
            In 2 columns mode, you can't rename the Bank...
            Taking a pause then back on it :)

            Can't help pressing F5 in the forum...

            1 Reply Last reply Reply Quote 2
            • ustkU
              ustk
              last edited by

              Ok so after scrutinizing the code for hours, I need help for this one (rename & delete don't appear in 2 columns mode)

              I know it is because listbox->getNumSelectedRows() > 0 returns false for some reason... But what reason is beyond my skills 🙃

              void PresetBrowserColumn::updateButtonVisibility()
              {
              	editButton->setVisible(false);
              
              	const bool buttonsVisible = showButtonsAtBottom && !isResultBar && currentRoot.isDirectory();
              	const bool fileIsSelected = listbox->getNumSelectedRows() > 0;
              
              	addButton->setVisible(buttonsVisible);
              	deleteButton->setVisible(buttonsVisible && fileIsSelected);
              	renameButton->setVisible(buttonsVisible && fileIsSelected);
              }
              

              Can't help pressing F5 in the forum...

              lalalandsynthL 1 Reply Last reply Reply Quote 0
              • lalalandsynthL
                lalalandsynth @ustk
                last edited by lalalandsynth

                @ustk What do you mean by "delete" not appearing in 2 columns ?
                Delete works for me...

                Although its annoying that if I delete it goes back to category and I have to select that to see the presets again.

                EDIT: This going back to category is another sometimes issue..?

                https://lalalandaudio.com/

                https://lalalandsynth.com/

                https://www.facebook.com/lalalandsynth

                https://www.facebook.com/lalalandsynth

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @lalalandsynth
                  last edited by

                  @lalalandsynth said in Pretty weird problem with the Preset Browser ?:

                  @ustk What do you mean by "delete" not appearing in 2 columns ?
                  Delete works for me...

                  Bottom of the left column, there are no Rename and Delete only in 2 columns mode:

                  Although its annoying that if I delete it goes back to category and I have to select that to see the presets again.

                  EDIT: This going back to category is another sometimes issue..?

                  Will check that tomorrow, might be a lucky day :)

                  Can't help pressing F5 in the forum...

                  lalalandsynthL 1 Reply Last reply Reply Quote 1
                  • lalalandsynthL
                    lalalandsynth @ustk
                    last edited by

                    @ustk Ah, You mean delete and rename Category ! hehe.
                    I hadnt even noticed that yet ....indeed

                    https://lalalandaudio.com/

                    https://lalalandsynth.com/

                    https://www.facebook.com/lalalandsynth

                    https://www.facebook.com/lalalandsynth

                    ustkU 1 Reply Last reply Reply Quote 1
                    • ustkU
                      ustk @lalalandsynth
                      last edited by ustk

                      @lalalandsynth Yep, I meant:

                      In 2 columns mode, you can't rename the Bank....

                      :)

                      Can't help pressing F5 in the forum...

                      1 Reply Last reply Reply Quote 1
                      • ustkU
                        ustk
                        last edited by

                        The preset browser is fixed. Although I'm a C++ noob, so it certainly could have been done in a better way, so feel free to make it better and teach me at the same time :)

                        Here's my fork so it can be tested before I make a pull request to Dave's fork:
                        (My fork is up to date with Dave's one, so only the preset browser is different...)
                        https://github.com/ustk/HISE/tree/develop

                        Still, the last remaining issue is that Rename and Delete buttons don't appear in the bank column when in 2 columns mode. I still need help with this one...

                        Can't help pressing F5 in the forum...

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

                          @ustk Good work, I'll have a look later today and see if I can track down the rename/delete buttons.

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

                          ustkU 2 Replies Last reply Reply Quote 1
                          • ustkU
                            ustk @d.healey
                            last edited by ustk

                            @d-healey Cool! if you haven't seen my post about it, here it is:
                            https://forum.hise.audio/topic/2766/pretty-weird-problem-with-the-preset-browser/28
                            When removing the second condition (fileIsSelected), they are showing back...

                            Can't help pressing F5 in the forum...

                            ustkU 1 Reply Last reply Reply Quote 1
                            • ustkU
                              ustk @ustk
                              last edited by

                              @ustk I think listboxmight be the issue...

                              Can't help pressing F5 in the forum...

                              1 Reply Last reply Reply Quote 1
                              • ustkU
                                ustk @d.healey
                                last edited by ustk

                                @d-healey That's all fixed, the buttons were not updated when there's no category column...
                                I'm working to make the column width customizable

                                Can't help pressing F5 in the forum...

                                lalalandsynthL 1 Reply Last reply Reply Quote 3
                                • lalalandsynthL
                                  lalalandsynth @ustk
                                  last edited by lalalandsynth

                                  @ustk is there a build for these fixes , my plugin is nearing completion, would love to have a fix for this issue.

                                  Edit: just saw there is a fork but is everything working now ?

                                  https://lalalandaudio.com/

                                  https://lalalandsynth.com/

                                  https://www.facebook.com/lalalandsynth

                                  https://www.facebook.com/lalalandsynth

                                  ustkU 1 Reply Last reply Reply Quote 0
                                  • ustkU
                                    ustk @lalalandsynth
                                    last edited by

                                    @lalalandsynth Everything seems to be working. You can find my fork 6 posts above. You can use it, but if @d-healey is ok to merge, we'll keep only his fork so things are tidy...

                                    Can't help pressing F5 in the forum...

                                    1 Reply Last reply Reply Quote 1
                                    • lalalandsynthL
                                      lalalandsynth
                                      last edited by

                                      What do you say Mr. @d-healey :)

                                      https://lalalandaudio.com/

                                      https://lalalandsynth.com/

                                      https://www.facebook.com/lalalandsynth

                                      https://www.facebook.com/lalalandsynth

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

                                        Oh yeah, sorry I forgot about this one, I have to fix a merge issue. I remember @ustk told me what to do so I'll fix it soon.

                                        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

                                          Done, and it looks like Christoph has merged scriptnode into my develop branch (I didn't know that was possible). Let me know if it works!

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

                                          ustkU 1 Reply Last reply Reply Quote 0
                                          • ustkU
                                            ustk @d.healey
                                            last edited by ustk

                                            @d-healey You rock 😎
                                            Yeah, I've seen that scriptnode merge... I wonder if it works now because I've also seen a newer commit that fixes mac compilation...
                                            I don't see @Christoph-Hart scriptnode merge on my fork... My this doesn't reflect?

                                            Can't help pressing F5 in the forum...

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

                                            53

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.3k

                                            Posts