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

QML Button weird dashed line when using KeyNavigation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.0 RC
    • Quick: Controls 2
    • None
    • windows/msvc_2019_64
    • Windows

    Description

      A minimal example is attached below.

      From the https://doc-snapshots.qt.io/qt6-dev/qml-qtquick-keynavigation.html example,
      it all works fine even if I replace the Rectangle with Button.

      But If I add another button outside and start navigation with it, they will all have a dashed (or dotted) line around them.

      Using AbstractButton will solve the issue.

      Update:
      Switch seems to have the same problem

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mingrui-zhang Mingrui Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes