[Interest] QSortFilterProxyModel issue

Laszlo Papp lpapp at kde.org
Tue May 31 20:35:27 CEST 2022


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 <lpapp at 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ó
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20220531/2562df87/attachment.htm>


More information about the Interest mailing list