Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-827

Quick Search is not displayed when folding is activated

    Details

      Description

      I have a partition dc=example,dc=com
      In there I have ou=import
      And even deeper there is ou=users and ou=groups
      If I want to search a group via quicksearch and click on ou=groups and fill in cn=foo it finds nothing
      If I do the quicksearch from ou=import with subtree enabled, it finds objects
      But I only want to search underneath ou=groups

        Activity

        Hide
        Emmanuel Lecharny added a comment -

        In fact, the GUI does not "remeber" the base DN when you do a quick search. It should...

        Show
        Emmanuel Lecharny added a comment - In fact, the GUI does not "remeber" the base DN when you do a quick search. It should...
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Here the current implementation of the "Quick Search" menu item in the context:

        • without any existing quick search, it will create a new one with the Root DSE (empty string "") as base
        • when an existing quick search is found, it will reuse it.

        At the moment, it doesn't use the current entry selection in the Browser view.

        It might be more useful, indeed, to reuse this selection (in the case of a single entry - no search, no bookmark, etc.) in the quick search window.

        Show
        Pierre-Arnaud Marcelot added a comment - Here the current implementation of the "Quick Search" menu item in the context: without any existing quick search, it will create a new one with the Root DSE (empty string "") as base when an existing quick search is found, it will reuse it. At the moment, it doesn't use the current entry selection in the Browser view. It might be more useful, indeed, to reuse this selection (in the case of a single entry - no search, no bookmark, etc.) in the quick search window.
        Hide
        Nabil Sayegh added a comment - - edited

        Ok, the real problem seems to be the folding.
        As long as the number of loaded items (click on ou=groups and hit F5) is less than the threshold for folding, the quick search works fine (with the selected base) and it's item appears inline. If however, there are too many items, and it is folding, the quick search item doesn't get displayed.

        Show
        Nabil Sayegh added a comment - - edited Ok, the real problem seems to be the folding. As long as the number of loaded items (click on ou=groups and hit F5) is less than the threshold for folding, the quick search works fine (with the selected base) and it's item appears inline. If however, there are too many items, and it is folding, the quick search item doesn't get displayed.
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Indeed, great find.

        I had opened a separate issue on the usability idea:
        DIRSTUDIO-828 (The Quick Search context menu item could reuse the currently selected entry in the Browser view as search base).

        I'm working on a fix to this "folding" issue right now.

        Show
        Pierre-Arnaud Marcelot added a comment - Indeed, great find. I had opened a separate issue on the usability idea: DIRSTUDIO-828 (The Quick Search context menu item could reuse the currently selected entry in the Browser view as search base). I'm working on a fix to this "folding" issue right now.
        Hide
        Pierre-Arnaud Marcelot added a comment -
        Show
        Pierre-Arnaud Marcelot added a comment - Fixed at revision 1398777. http://svn.apache.org/viewvc?rev=1398777&view=rev

          People

          • Assignee:
            Pierre-Arnaud Marcelot
            Reporter:
            Nabil Sayegh
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development