Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
Description
Code
import QtQuick import QtQuick.Controls.Basic Window { id: root width: 800 height: 600 visible: true Button { id: btn_start text: "Start" } Button { id: btn_pause text: "Pause" } Button { id: btn_stop text: "Stop" } Button { text: "Anonymous" } }
Steps to test
- In Qt Creator, put the code above in the active *.qml file
- Open the Outline View (https://doc.qt.io/qtcreator/creator-outline-view.html ) and ensure it has keyboard focus
- Press Ctrl+F to open the "Find" bar within the Outline View, and search for various words
Outcomes
As of QtC 15.0:
- We get hits if we search for "Window", "Button", "width", and "text"
- However, we don't get any hits if we search for "root", "btn", "Anonymous"
Workaround
We could do the search in the Code Editor instead. When the result is found there, the Outline View automatically highlights the corresponding line too. However, this requires switching to a different pane.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-32419 Outline View: Always show QML IDs at the objects' root node
- Reported