Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120345

Buttons performing incorrect actions in Tree Model Completer Example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3, 6.6.1, 6.7.0
    • Quick: Widget
    • None
    • Windows

    Description

      In the Tree Model Completer Example, the buttons for "Case Sensitivity" has unexpected behavior. When choosing "Case Sensitive", the search will remain case insensitive, and the completion mode will be set as "Filtered Popup", although this change cannot be seen on the "Completion Mode" button. When choosing "Case Insensitive", the search will still remain case insensitive, and the completion mode will be set as "Inline", and this change also cannot be seen on the "Completion Mode" button.

      You can properly change the completion mode using the "Completion Mode" button, and it will work correctly, until you left-click "Case Sensitive" or "Case Insensitive", in which case their incorrect behavior will activate their respective completion mode described above. The search cannot be made case sensitive.

       

      Steps to reproduce:

      1. In the "Case Sensitivity" button, left-click "Case Sensitive".
      2. Try to perform a search. Notice that it is not case sensitive.
      3. In the "Completion Mode" button, left-click "Inline".
      4. Try to perform a search. Notice that it is "Inline".
      5. In the "Case Sensitivity" button, left-click "Case Sensitive".
      6. Try to perform a search. Notice that it is no longer "Inline", but "Filtered popup".
      7. In the "Case Sensitivity" button, left-click "Case Insensitive".
      8. Try to perform a search. Notice that it is still not case sensitive.
      9. In the "Completion Mode" button, left-click "Unfiltered popup".
      10. Try to perform a search. Notice that it is "Unfiltered popup".
      11. In the "Case Sensitivity" button, left-click "Case Insensitive".
      12. Try to perform a search. Notice that it is "Inline".

       

      Expected behavior:

      You should not be able to change completion mode with the "Case Sensitivity" button. Also, choosing "Case Sensitive" should enable a case sensitive search.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tvete Paul Olav Tvete
            chrisrl Chris Lerner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes