[Bug 1663924] Re: filterCaseSensitivity doesn't work when used in SortFilterModel
This bug was fixed in the package ubuntu-ui-toolkit - 1.3.2184+17.04.20170306 --- ubuntu-ui-toolkit (1.3.2184+17.04.20170306) zesty; urgency=medium [ Adnane Belmadiaf ] * Add support for CheckBox label when set * Add more tests for checkbox. Fixes LP: #1333228, LP: #1442851. * Make sure we resets partial text input from the input method. Fixes LP: #1630872. * Fix ListItem title/subtitle alignment & elide in RTL mode. Fixes LP: #1665944. * Fix PageHeader title alignment & elide in RTL mode. Fixes LP: #1665942. * Fix UbuntuListView docs. Fixes LP: #1486940. * Add count prop to OptionSelector. Fixes LP: #1341559. * Replace the hardcoded color with a theme color. Fixes LP: #1664758. * Fix the import statement for Menu, MenuBar and MenuGroup. Fixes LP: #1660604. [ Albert Astals Cid ] * Fix memory leak in UCStyleHints * ThinDivider: Anchors can't be null, set to undefined * No need to call UCUnits::resolveResource to learn we just need to load it normally because the fact that we already loaded it normally means we need to load it normally. Fixes LP: #1558663. * Fix conditional jump or move depends on uninitialised value(s) [ Christian Dywan ] * Initialize UCApplication with no side effects. Fixes LP: #1662868. * Unit test case insensitive FilterBehavior.pattern. Fixes LP: #1663924. * ListItemPopover delegate should (in)visible as per action Bug 1662220: [ListItem] Popupmenu shows traces of disabled actions [ Olivier Tilloy ] * Check that window is not null before accessing its activeFocusItem property. Fixes LP: #1664620. [ Lukáš Tinkl ] * Unbreak the startup race between unity8/qtmir and UITK trying talk to content-hub. Fixes LP: #1663106. -- Zoltán BaloghMon, 06 Mar 2017 16:04:56 + ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663924 Title: filterCaseSensitivity doesn't work when used in SortFilterModel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1663924] Re: filterCaseSensitivity doesn't work when used in SortFilterModel
** Branch linked: lp:~ci-train-bot/ubuntu-ui-toolkit/ubuntu-ui-toolkit- ubuntu-zesty-2540 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663924 Title: filterCaseSensitivity doesn't work when used in SortFilterModel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1663924] Re: filterCaseSensitivity doesn't work when used in SortFilterModel
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663924 Title: filterCaseSensitivity doesn't work when used in SortFilterModel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1663924] Re: filterCaseSensitivity doesn't work when used in SortFilterModel
I can confirm that using new RegExp("^" + searchTerms, "i") solves the issue, maybe we can add that to the docs ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663924 Title: filterCaseSensitivity doesn't work when used in SortFilterModel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1663924] Re: filterCaseSensitivity doesn't work when used in SortFilterModel
It may be useful to have a dedicated unit test for this in any case, so I proposed a branch. ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => In Progress ** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Christian Dywan (kalikiana) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663924 Title: filterCaseSensitivity doesn't work when used in SortFilterModel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1663924] Re: filterCaseSensitivity doesn't work when used in SortFilterModel
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663924 Title: filterCaseSensitivity doesn't work when used in SortFilterModel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1663924] Re: filterCaseSensitivity doesn't work when used in SortFilterModel
** Branch linked: lp:~ubuntu-sdk-team/ubuntu-ui- toolkit/insensitivePattern -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663924 Title: filterCaseSensitivity doesn't work when used in SortFilterModel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1663924] Re: filterCaseSensitivity doesn't work when used in SortFilterModel
** Attachment added: "Main.qml" https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+attachment/4817106/+files/Main.qml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663924 Title: filterCaseSensitivity doesn't work when used in SortFilterModel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1663924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs