<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>484040</bug_id>
          
          <creation_ts>2024-03-20 04:51:48 +0000</creation_ts>
          <short_desc>Filters don&apos;t work</short_desc>
          <delta_ts>2024-03-26 14:40:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>korganizer</product>
          <component>general</component>
          <version>6.0.0</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Tlustos">martin.tlustos</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>dvratil</cc>
          
          <cf_commitlink>https://invent.kde.org/pim/korganizer/-/commit/fe21a20a78587f6bf1c693a435028f8bf9964854</cf_commitlink>
          <cf_versionfixedin>24.02.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2303282</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Tlustos">martin.tlustos</who>
    <bug_when>2024-03-20 04:51:48 +0000</bug_when>
    <thetext>SUMMARY
***
I have two filters, one to hide completed tasks, and the other to hide everything unless it&apos;s active. Both don&apos;t do anything since 6.0
***


STEPS TO REPRODUCE
1. Create a filter that hides completed tasks
2. enable the filter in &quot;view&quot;
3. 

OBSERVED RESULT
Nothing happens

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-26-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics
Memory: 15,0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Acer
Product Name: Aspire A515-44G
System Version: V1.12
ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2304099</commentid>
    <comment_count>1</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-03-22 10:03:31 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/pim/korganizer/-/merge_requests/119</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2304199</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-03-22 14:23:44 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/pim/eventviews/-/merge_requests/98</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305305</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Vrátil">dvratil</who>
    <bug_when>2024-03-25 08:02:08 +0000</bug_when>
    <thetext>Git commit fd6d6bd3d7c24b95a8d91b0233ada61a08658738 by Daniel Vrátil.
Committed on 22/03/2024 at 14:22.
Pushed by dvratil into branch &apos;release/24.02&apos;.

Apply current view filter on the Todo model as well

Previously the Todo model was derived from ETMCalendar, which internally
had a CalFilterProxyModel to filter out incidences based on a CalFilter.
Nowadays we are building right on top of an ETM, so we need to apply the
filter manually.

It&apos;s a little hacky solution, but it is achieved by taking the current
filter from one of the active calendars and manually filtering each
Todo through it in the TodoViewSortFilterProxyModel.
FIXED-IN: 24.02.3

M  +9    -1    src/todo/todoview.cpp
M  +23   -2    src/todo/todoviewsortfilterproxymodel.cpp
M  +12   -0    src/todo/todoviewsortfilterproxymodel.h

https://invent.kde.org/pim/eventviews/-/commit/fd6d6bd3d7c24b95a8d91b0233ada61a08658738</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305782</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Vrátil">dvratil</who>
    <bug_when>2024-03-26 14:40:33 +0000</bug_when>
    <thetext>Git commit fe21a20a78587f6bf1c693a435028f8bf9964854 by Daniel Vrátil.
Committed on 26/03/2024 at 14:38.
Pushed by dvratil into branch &apos;release/24.02&apos;.

Fix calendar view filters not being applied

Selecting a filter in View -&gt; Filters did not apply cause the
filter to be applied to the individual CollectionCalendars,
only to the global ETMCalendar, which is not used as a source
of events, though.
FIXED-IN: 24.02.3

M  +26   -0    src/calendarview.cpp
M  +9    -0    src/calendarview.h

https://invent.kde.org/pim/korganizer/-/commit/fe21a20a78587f6bf1c693a435028f8bf9964854</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>