https://bugs.kde.org/show_bug.cgi?id=520252

--- Comment #14 from Matt Fagnani <[email protected]> ---
Clem, did you mean that I should copy and paste what I wrote into an existing
Qt report or that I should create a new Qt report with that? I don't see any
links to Qt reports here.

John, that problem does look similar in the comments about undefined values
e.g. https://bugs.kde.org/show_bug.cgi?id=520120#c14

I ran plasma-systemmonitor in GammaRay. In the Quick Scenes screen, the first
column header object had variables text = Name, headerPosition = beginning,
column = 0 and had type KQuickStyleItem_QML_356. Then there was a gap in the
column headers which couldn't be selected and was a darker grey than the first
column header until the last column. Two column header objects of the same type
were shown in the last column and had empty or undefined text and
headerPosition = middle even though they were in the last column, and column =
-1 which didn't look right. So the column headers positioning and undefined
text seemed incorrect. In the Models screen, the appModel, processModel,
headersModel objects showed all the column names correctly. The column names
appeared to be present in the program, but they weren't shown properly due to
the column header problem.

The documentation
https://doc.qt.io/qt-6/qml-qtquick-controls-horizontalheaderview.html showed
HorizontalHeaderView had model had type QVariant and textRole had type string.
Since the warnings involved "Unable to assign [undefined] to QString" and the
line had controlRoot.textRole, I think controlRoot was more likely to be
undefined than model. I couldn't find controlRoot defined in the column header
objects in GammaRay, but model was defined.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to