[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-bugs-dist
Subject:    [amarok] [Bug 424401] New: ORs get converted to ANDs in Edit filter
From:       "robert marshall" <bugzilla_noreply () kde ! org>
Date:       2020-07-19 10:10:00
Message-ID: bug-424401-71684 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=424401

            Bug ID: 424401
           Summary: ORs get converted to ANDs in Edit filter
           Product: amarok
           Version: kf5
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Collection Browser
          Assignee: amarok-bugs-dist@kde.org
          Reporter: robert@capuchin.co.uk
  Target Milestone: kf5

SUMMARY

Set up a filter with an AND and an OR - if you then edit it and click OK the OR
is converted to an AND

STEPS TO REPRODUCE
1. A silly example but it should work for others!
2. Set filter to playcount:>0 AND playcount:1 OR playcount:2
3. Click Edit Filter and you'll see that in the draggable selectors there's no
OR (but there is in the plain text below
4. Click OK and the version with 2 ANDs is used and unsurprisingly the filter
finds no tracks matching this constraint!

OBSERVED RESULT

Filter shows no tracks and a value of playcount:>0 AND playcount:1 AND
playcount:2

EXPECTED RESULT

If you have tracks which have been listened to < 3 times I'd expect them to be
displayed

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION

This is a bug that was there before the Qt5 migration but I've only now got
this simple example!

-- 
You are receiving this mail because:
You are the assignee for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic