Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25985

F1 documentation confused by renamed 'import … as …'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.15.1
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      All

      Description

      Documentation viewer a.k.a. context help a.k.a. F1 is getting confused when looking up qualified components of renamed QML imports.

      Steps to reproduce

      1. import QtQuick.Controls 2.15 as QQC2
      2. QQC2.Label {}
      3. Place cursor on a Label
      4. Press F1 / open context help

      Expected result

      Opened documentation for Label QML Type from QtQuick.Controls 2.15

      Actual result

      QML..QQC2, QML.QQC2

      No documentation available.

        Attachments

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

          Activity

            People

            Assignee:
            jkobus Jarek Kobus
            Reporter:
            ratijas ivan tkachenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes