The property can't work: QSortFilterProxyModel.sortCaseSensitivity
doesn't change the pattern and the superclass doesn't have any signals,
making it impossible to manually update the results.

We 'could' consider overriding the property to make this work. However,
I'm not sure it's particularly useful: in your example, new RegExp("^" +
searchTerms, "i") achieves the same as setting the superclass property,
as does using a literal regular expression such as /^B/i.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1663924

Title:
  filterCaseSensitivity doesn't work when used in SortFilterModel

Status in ubuntu-ui-toolkit package in Ubuntu:
  In Progress

Bug description:
  SortFilterModel does support sortCaseSensitivity but not
  filterCaseSensitivity or it doesn't work, demo attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to