<?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>499712</bug_id>
          
          <creation_ts>2025-02-09 06:04:01 +0000</creation_ts>
          <short_desc>The sorting function works once only when initially applied, but subsequent sorting attempts do not trigger any changes. The list only re-sorts to the desired order after restarting the program.</short_desc>
          <delta_ts>2025-02-09 14:32:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kasts</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Flatpak</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>nokake5068</reporter>
          <assigned_to>bart</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/multimedia/kasts/-/commit/084cfa204868e58c133e02a4b48d4598ebaed1e2</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2396127</commentid>
    <comment_count>0</comment_count>
    <who name="">nokake5068</who>
    <bug_when>2025-02-09 06:04:01 +0000</bug_when>
    <thetext>SUMMARY
The sorting function works once only when initially applied, but subsequent sorting attempts do not trigger any changes. The list only re-sorts to the desired order after restarting the program.

STEPS TO REPRODUCE
1. Go to a podcast and sort by date (choose either newer first or older first [opposite of the current sorting order]). It will sort, but then when you sort again to the opposite order, it won&apos;t render the sorting.
2. Close the program.
3. Reopen, and the sort option order is rendered correctly.

OBSERVED RESULT
Doesn&apos;t render sort order in a common specific circumstance.

EXPECTED RESULT
Should sort when requested, without closing and re-opening the application.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux KDE Spin
KDE Plasma Version: Latest Fedora
KDE Frameworks Version: Latest Flatpak
Qt Version: Latest Flatpak

ADDITIONAL INFORMATION
Kasts is one of the best and only maintained open source podcast application for desktop that I know of. I would love to see it grow, aesthetically, and functionally just like Elisa music player and other awesome KDE applications. Thanks for the work of the developers, I will do my best to help KDE and its applications however I can.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2396196</commentid>
    <comment_count>1</comment_count>
    <who name="">bart</who>
    <bug_when>2025-02-09 13:36:23 +0000</bug_when>
    <thetext>Confirmed.  Thanks for reporting!  I&apos;ll try to fix it as soon as possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2396202</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-02-09 14:20:42 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kasts/-/merge_requests/241</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2396204</commentid>
    <comment_count>3</comment_count>
    <who name="">bart</who>
    <bug_when>2025-02-09 14:29:39 +0000</bug_when>
    <thetext>Git commit e0f210df643ad46aa9f350ba918ccd0b9ee27bb3 by Bart De Vries.
Committed on 09/02/2025 at 14:19.
Pushed by bdevries into branch &apos;master&apos;.

Fix sort order in episode lists

M  +1    -1    src/models/abstractepisodeproxymodel.cpp

https://invent.kde.org/multimedia/kasts/-/commit/e0f210df643ad46aa9f350ba918ccd0b9ee27bb3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2396205</commentid>
    <comment_count>4</comment_count>
    <who name="">bart</who>
    <bug_when>2025-02-09 14:31:11 +0000</bug_when>
    <thetext>Git commit 084cfa204868e58c133e02a4b48d4598ebaed1e2 by Bart De Vries.
Committed on 09/02/2025 at 14:30.
Pushed by bdevries into branch &apos;release/24.12&apos;.

Fix sort order in episode lists

M  +1    -1    src/models/abstractepisodeproxymodel.cpp

https://invent.kde.org/multimedia/kasts/-/commit/084cfa204868e58c133e02a4b48d4598ebaed1e2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2396208</commentid>
    <comment_count>5</comment_count>
    <who name="">bart</who>
    <bug_when>2025-02-09 14:32:53 +0000</bug_when>
    <thetext>It was just a dumb typo in the source.  Fix should be in the next release (24.12.3).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>