Skip to content

[Qt6] Using baskets and datasets logs critical messages #1042

@gacarrillor

Description

@gacarrillor

Using the Qt6-enabled dev version at #1036 (comment), when enabling and using datasets and baskets, I got several messages like these in the Log Message Viewer (Messages tab).

    2025-07-04T16:39:50     CRITICAL    Qt : beginResetModel called on BasketSourceModel(0x284f552f970) without calling endResetModel first
    2025-07-04T16:39:50     CRITICAL    Qt : beginResetModel called on QSortFilterProxyModel(0x284f1554f20) without calling endResetModel first
    2025-07-04T16:39:50     CRITICAL    Qt : endResetModel called on BasketSourceModel(0x284f552f970) without calling beginResetModel first
    2025-07-04T16:39:50     CRITICAL    Qt : endResetModel called on QSortFilterProxyModel(0x284f1554f20) without calling beginResetModel first

Note: I used a QGIS dev build, so debug was enabled.
Note 2: Tests done on Windows.
Note 3: I couldn't reproduce on a Qt5 build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions