I managed to trim down this to a small testbed that reproduces the issue in case anyone could have a look. We ought to find out whether it is a Qt bug or a bug in my code:
https://github.com/lpapp/examples/blob/main/qt-simple-hotkey-editor/hotkeyEditorWidget.cpp On Sat, May 28, 2022 at 4:32 PM Laszlo Papp <lp...@kde.org> wrote: > Hi, > > I have authored an example keyboard shortcuts editor application. The > source code is available on my github repository. > > It has this auto-expansion issue for the first group for some reason. When > I am trying to get to action in e.g. Context1 -> Category1 -> then any > action to select, the first Context0 group expands. If I remove the > QSortFilterProxyModel use, it does not do that. > > Here is a visual gif representation of the issue: > > https://imgur.com/a/rxdYmZp > > Can anyone spot the issue with my code? The code is available here: > > > https://github.com/lpapp/examples/blob/main/qt-hotkey-editor/hotkeyEditorWidget.cpp > > Thank you in advance. > > Kind regards, > László >
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest