Menu

#99 Add a search filter field.

1.21.0.0
closed
2020-07-12
2020-05-11
Sarah Nomi
No

Hi Roberto,

I have been a loyal user of MaxLauncher for years and I even contributed a little to its improvement in my youth.

I'm back because over time I filled a lot of buttons/keys and I thought of an improvement: A filter!

The concern is that it may be quite painful and difficult to setting up ...

But I do this to confine you to work up at programming at home to protect yourself from Coronavirus! ;-)

The principle ?

It would appear as a free text field quickly and easily accessible, as show in photo #1 for example.

And when we write in this text field, it would filter buttons/keys in real time according to it content.


Example with photo #2:
If I write "er" in the filter only the buttons containing the text "er" (in the name only not target or argument) appear.

ThundERbird / SQLite DB BrowsER / etc.


Example with photo #3:
If I write "re" in the filter only the buttons containing the text "re" appear.

WiREboard / REstart / REgWorkshop / etc.


And last but not least: if a tab no longer contains any visible buttons/keys, the tab itself is also filter/hide !

Why this idea? Because I know almost all the names of the software that I set in MaxLauncher but it is more and more difficult to me to remember where their located ...

Photo #1

Photo #2

Photo #3

3 Attachments

Related

Feature Requests: #99

Discussion

1 2 > >> (Page 1 of 2)
  • madproton

    madproton - 2020-05-13

    Hello again.

    This one took FOREEEEEEEEEEEEEEEEEEVER to add. Definitely need to start reading programming again. It is still not quite done. There are so many things to check - so many control interactions. I need suggestions!!!!! Please test if you can.

    BTW, I did not feel the need to filter the Favorites buttons since there are only 10 and they are always visible.

    As always, please backup data before using.

    Thanks. Stay safe.

    https://sourceforge.net/projects/maxlauncher/files/MaxLauncher/Beta/1.20.7.0/

    https://maxlauncher.sourceforge.io/documentation/kb/37/

     
  • Sarah Nomi

    Sarah Nomi - 2020-05-13

    FOREEEEEEEEEEEEEEEEEEVER?

    You just released a beta in less than 24 hours!

    I'll be honest, you're even too fast for me!

    I just tested this version 1.20.7.0 and the most important thing is that the filter works!

    With normal letters and numbers, but also with special characters, Japanese, Russian, Smileys, ! , #, ~ , ² , 𞠻 , ¤ , ℋ , 𞣖 , ₡ , ...

    It seems like anything in UTF-8 works. Congratulation !

    This is a good news, this means that there should not be problems regardless of the language used!

    I found some cosmetic details to improve but as usual I don't want to make a requirement without proposing a solution, or at least, an idea.

    I download Visual Studio 2019 in a virtual machine to do some tests and I come back with my remarks.

    But I have a lot of work in real life with deconfinement (nurse) so I would be a little longer on my side ... I will also suggest an update of the French’s language file as a thank you !

    Thank you for this beta version. It makes us a work base and again, congratulations for your greater responsiveness !

     
  • Christian Dull

    Christian Dull - 2020-05-13

    4 Things about the new search / filter function:

    1. It works great
    2. If text in the box is selected and i press "del" it don't delete the text, only with backspace (please fix)
    3. Please add at the right side a X button to delete the text in the filterbox (after clicking automatically focus empty box to write a new word)
    4. It would be great to disable the filterbox and only activate it with Ctrl+F (or the option in the "view" menu to show it or not - maybe a toggle with Ctrl+F would be perfect)
     
    • Christian Dull

      Christian Dull - 2020-05-13

      The problem to show it always: The numbers to select the tabs are no more working. Now it sends the numbers to the box

       
      • madproton

        madproton - 2020-05-13
         
        • Christian Dull

          Christian Dull - 2020-05-13
          1. "Del" should work like in any other program. It should delete selected text
          2. About the X button, maybe better when pressing X button (within the box at the most right side) delete the word and defocus the filterbox (also with escape it should empty and defocus the filterbox)
          3. It would be great to view / hide the box in view menu. The box is breaking a little bit the design.
           
          • madproton

            madproton - 2020-05-13
            1. "Del" should work like in any other program. It should delete selected text

            Doesn't delete work on selected text inside the text box? It does for me.

            Does moving the caret in front of a character and pressing DELETE deletes the character to the right?

             
            • Christian Dull

              Christian Dull - 2020-05-13

              Sorry for 1. (del), that works. I have blocked "del" with autohotkey to avoid a unwanted delete.

               
  • Sarah Nomi

    Sarah Nomi - 2020-05-13

    The [X] to delete is a gadget because if we are writing it means you need to switch from keyboard to mouse to delete with with cross.

    I think it's faster to do [CRTL] + [A] then [DEL] and finally [ESC] if you want to leave the focus.

    The design is indeed slightly broken because we have to integrate the textbox in the menu. I'm working on it, but I can't float the menu items on the left and at the same time the float the textbox on the right.

    It works with the default design, but not with other designs…

     
    • Christian Dull

      Christian Dull - 2020-05-14

      The problem is:

      1. I select the search box or press ctrl+f
      2. i enter my search
      3. I click on something that found (my setup: now my maxlauncher closes automatically)
      4. If i open maxlauncher again with my shortcut, it still have the word in search.

      There are 2 options:

      1. Add a x button that delete and defocus search box
      2. Better: When open maxlauncher again, automatically start with defocused (maybe empty) searchbox
       
    • madproton

      madproton - 2020-05-16

      Sarah,

      Will this work?

                  <MenuItem HorizontalAlignment="Right">
                      <MenuItem.Header>
                          <TextBox x:Name="searchTextBox" TextChanged="SearchTextBox_TextChanged"
                       HorizontalAlignment="Right"  Width="120" Padding="0" Margin="0,2,10,2" VerticalAlignment="Center" KeyDown="SearchTextBox_KeyDown"/>
                      </MenuItem.Header>
                  </MenuItem>
      
       
      • Sarah Nomi

        Sarah Nomi - 2020-05-16

        Thank you Roberto,

        Your correction works perfectly with all themes now!

        I just tweaked the value of margin a bit to have the same gap on the left as on the right like the other menus’ items (5 pixels)

        The final correction therefore looks like « comparison_report.html » here enclosed.
        (On Left “MaxLauncher Beta 1.20.7.0” / On right “the modifications”)

        Some pictures with some themes enclosed too for the sake of illustration.

         
  • madproton

    madproton - 2020-05-17
     
    • Christian Dull

      Christian Dull - 2020-05-17

      Thanks for the new version.

      It integrates now perfect to my black design.

      It also clears when i search and click on something. Then i open maxlauncher again and the searchbox is empty and defocused. Thanks for that. In this case we don't need a X button.

      Only problem at the moment:

      When i am typing something (without pressing enter) and then clicking at a link, then it is not opening the link, it defocus from the search box. Then i need a second click to activate the link.
      It would be great if the first click activates the link.

       
      • madproton

        madproton - 2020-05-17

        Hmmm, it works fine on mine.

        From: Christian Dull
        Sent: Sunday, May 17, 2020 3:49 AM
        To: [maxlauncher:feature-requests]
        Subject: [maxlauncher:feature-requests] Re: #99 Add a search filter field.

        Thanks for the new version.

        It integrates now perfect to my black design.

        It also clears when i search and click on something. Then i open maxlauncher again and the searchbox is empty and defocused. Thanks for that. In this case we don't need a X button.

        Only problem at the moment:

        When i am typing something (without pressing enter) and then clicking at a link, then it is not opening the link, it defocus from the search box. Then i need a second click to activate the link.
        It would be great if the first click activates the link.


        [feature-requests:#99] Add a search filter field.

        Status: open
        Milestone: Next Release
        Labels: filter search field
        Created: Mon May 11, 2020 10:02 AM UTC by Sarah Nomi
        Last Updated: Sun May 17, 2020 10:19 AM UTC
        Owner: nobody
        Attachments:

        • 1.png (334.8 kB; image/png)
        • 2.png (246.2 kB; image/png)
        • 3.png (231.7 kB; image/png)

        Hi Roberto,

        I have been a loyal user of MaxLauncher for years and I even contributed a little to its improvement in my youth.

        I'm back because over time I filled a lot of buttons/keys and I thought of an improvement: A filter!

        The concern is that it may be quite painful and difficult to setting up ...

        But I do this to confine you to work up at programming at home to protect yourself from Coronavirus! ;-)

        The principle ?

        It would appear as a free text field quickly and easily accessible, as show in photo #1 for example.

        And when we write in this text field, it would filter buttons/keys in real time according to it content.


        Example with photo #2:
        If I write "er" in the filter only the buttons containing the text "er" (in the name only not target or argument) appear.

        ThundERbird / SQLite DB BrowsER / etc.


        Example with photo #3:
        If I write "re" in the filter only the buttons containing the text "re" appear.

        WiREboard / REstart / REgWorkshop / etc.


        And last but not least: if a tab no longer contains any visible buttons/keys, the tab itself is also filter/hide !

        Why this idea? Because I know almost all the names of the software that I set in MaxLauncher but it is more and more difficult to me to remember where their located ...

        Photo #1

        Photo #2

        Photo #3


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/maxlauncher/feature-requests/99/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

         

        Related

        Feature Requests: #99

        • Christian Dull

          Christian Dull - 2020-05-17

          When i press Ctrl+F, then the search box get focused and gets a blue border at my black design.

          Then typing my search.

          Now there are 2 ways to defcous the search:

          1. Press enter
          2. Mousclick outside the box (like trying to click a link)

          Only when the search is defocused it works to click on something. But i want to skip the enter or the additional click.

           
          • madproton

            madproton - 2020-05-17

            That’s exactly what I did. Which theme are you using? It is unlikely but I can’t think of what is causing it right now.

            From: Christian Dull
            Sent: Sunday, May 17, 2020 5:07 AM
            To: [maxlauncher:feature-requests]
            Subject: [maxlauncher:feature-requests] Re: #99 Add a search filter field.

            When i press Ctrl+F, then the search box get focused and gets a blue border at my black design.

            Then typing my search.

            Now there are 2 ways to defcous the search:

            1. Press enter
            2. Mousclick outside the box (like trying to click a link)

            Only when the search is defocused it works to click on something. But i want to skip the enter or the additional click.


            [feature-requests:#99] Add a search filter field.

            Status: open
            Milestone: Next Release
            Labels: filter search field
            Created: Mon May 11, 2020 10:02 AM UTC by Sarah Nomi
            Last Updated: Sun May 17, 2020 12:06 PM UTC
            Owner: nobody
            Attachments:

            • 1.png (334.8 kB; image/png)
            • 2.png (246.2 kB; image/png)
            • 3.png (231.7 kB; image/png)

            Hi Roberto,

            I have been a loyal user of MaxLauncher for years and I even contributed a little to its improvement in my youth.

            I'm back because over time I filled a lot of buttons/keys and I thought of an improvement: A filter!

            The concern is that it may be quite painful and difficult to setting up ...

            But I do this to confine you to work up at programming at home to protect yourself from Coronavirus! ;-)

            The principle ?

            It would appear as a free text field quickly and easily accessible, as show in photo #1 for example.

            And when we write in this text field, it would filter buttons/keys in real time according to it content.


            Example with photo #2:
            If I write "er" in the filter only the buttons containing the text "er" (in the name only not target or argument) appear.

            ThundERbird / SQLite DB BrowsER / etc.


            Example with photo #3:
            If I write "re" in the filter only the buttons containing the text "re" appear.

            WiREboard / REstart / REgWorkshop / etc.


            And last but not least: if a tab no longer contains any visible buttons/keys, the tab itself is also filter/hide !

            Why this idea? Because I know almost all the names of the software that I set in MaxLauncher but it is more and more difficult to me to remember where their located ...

            Photo #1

            Photo #2

            Photo #3


            Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/maxlauncher/feature-requests/99/

            To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

             

            Related

            Feature Requests: #99

  • Sarah Nomi

    Sarah Nomi - 2020-05-17

    It is important to clearly differentiate what is bugs from what is software behavior

    The goal of this MaxLauncher is to operate smoothly, quickly, without problems while remaining as simple as possible.

    BEHAVIOR:

    If i open MaxLauncher again with my shortcut, it still have the word in search.
    There are 2 options:

    Add a x button that delete and defocus search box
    Better: When open MaxLauncher again, automatically start with defocused (maybe empty) searchbox

    At first I thought about adding lots of options but I was moving away from the idea of MaxLauncher which is to keep it simple.

    And above all, the more subroutine we add, the more we multiply the chances of creating new bugs!

    So, Christian is right!

    I propose :

    As indicated here: https://MaxLauncher.sourceforge.io/documentation/kb/37/ the action of [CTRL] + [F] allows to access the search field super quickly and simply with the keyboard or the mouse: it is therefore useless to keep the focus on it, indeed.

    However, the idea of whether or not to empty the filter when MaxLauncher is opened is entirely a matter of user preference.

    Consequently, I think the best would be:

    1 / Never focus on the filter when MaxLauncher opens.
    {Solution 1}: Put the focus on the tabs at the opening.

    2 / Add an option ➜ [  ] Clear the filter field when MaxLauncher opens.
    {Solution 2}:
    if Checked [X] ➜ add a function that clears the filter each time you call MaxLauncher then goto {Solution 1}
    if UnChecked [ ] ➜ Do nothing (the field remains as it is by default) and so it's just goto {Solution 1}

    For the anonymous who follow this thread and wish to give their opinion without participating: http://www.polljunkie.com/poll/sgbntq/MaxLauncher-filter-box-behavior

     
  • Sarah Nomi

    Sarah Nomi - 2020-05-17

    Oups !

    It seem it’s already done !

    I will test the new Beta 1.20.7.1 and make new suggestions, if any !

    Thank you very must to be as patient, responsive and available to listen to users!

    It integrates now perfect to my black design.

    It also clears when i search and click on something. Then i open maxlauncher again and the searchbox is empty and defocused. Thanks for that. In this case we don't need a X button.

     
  • madproton

    madproton - 2020-05-17
    1. I added an option to "Clear the search box when restoring the window".
    2. Fixed an error when opening MaxLauncher without opening an mld file.
    3. Added padding to the search box so the the "Search (Ctrl+F)" is not too close to the left border.

    I guess I'm still a little confused about the search box having focus when restoring the window.

    If the Clear Search box when restoring window is Unchecked/OFF, when the window is restored from being minimized, the focus will remain where it was before it was minimized - either the search box or a button.

    https://sourceforge.net/projects/maxlauncher/upload/MaxLauncher/Beta/1.20.7.2/

    Thank you for all your suggestions and help. Please let me know if I missed something. :-)

     
    • Christian Dull

      Christian Dull - 2020-05-17

      Thanks for the new version. I activated the option "Clear Search when restoring window" and it works like in 1.20.7.1. Thats for me the perfect behavior.

      About the problem that i need 2 clicks i made a video where i am clicking on a link and then back to searchbox sometimes. It not work with the first click.

      I tried also other themse, but no differences. I use Brushed Metal - Dark.

       
      • madproton

        madproton - 2020-05-18

        Can you send me a picture of Settings-Options and View menu?

        Thanks.

         
        • Sarah Nomi

          Sarah Nomi - 2020-05-18

          I can confirm the bug of christian here.

          It seem that the fisrt click select/focus the button. (we quickly get a “cursor: not-allowed;” at fisrt click)

          The second click lauch the folder.

          Please not that if the option “Clear Search when restoring windows” if not ckecked at the second MaxLauncher call, only one click is needed.

          The problem seem to come that after using filter box, the focus or something is lost and need a first click. The cursor: not-allowed; seem to be the clue where starting.

          I will be more available after may 20’ to help at debbuging a little.

          In all case, here my view en settings options picture. I will try will other view and settings options to see if something change…

           
        • Christian Dull

          Christian Dull - 2020-05-18

          Pictures attached

           
        • Sarah Nomi

          Sarah Nomi - 2020-05-19

          The problem appeared from version 1.20.7.1 and seems to come from a focus story.
          Probably in MainWindow.xaml.vb

           
1 2 > >> (Page 1 of 2)

Log in to post a comment.