<?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>89339</bug_id>
          
          <creation_ts>2004-09-12 10:24:07 +0000</creation_ts>
          <short_desc>Albums with duplicate names, second one will not show up</short_desc>
          <delta_ts>2004-09-17 09:05:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>juk</product>
          <component>general</component>
          <version>2.1</version>
          <rep_platform>unspecified</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="Arne Schmitz">arne.schmitz</reporter>
          <assigned_to name="Scott Wheeler">wheeler</assigned_to>
          
          
          <cf_commitlink></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>267875</commentid>
    <comment_count>0</comment_count>
    <who name="Arne Schmitz">arne.schmitz</who>
    <bug_when>2004-09-12 10:24:07 +0000</bug_when>
    <thetext>Version:           2.1 (using KDE 3.3.0, SuSE)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:                Linux (i686) release 2.4.21-243-athlon

If you&apos;ve got two albums with the same name, from different artists, the second album (considering the artist in alphabetical order) does not show up in the tree view of albums.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269082</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2004-09-16 06:59:00 +0000</bug_when>
    <thetext>This I can confirm, but it&apos;s almost-a-feature.  This is a hard one to fix, because of the following:

Consider that you have an album with a compilation of music from various artists.  You don&apos;t want to have this album show up 12 times in the tree view.

The truth is that the Album name is just a very poor mechanism for determining album uniqueness.  It would be possible to implement a heuristic for trying to match tracks to their album, but I make no promises.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269102</commentid>
    <comment_count>2</comment_count>
    <who name="Arne Schmitz">arne.schmitz</who>
    <bug_when>2004-09-16 09:16:08 +0000</bug_when>
    <thetext>Am Donnerstag, 16. September 2004 06:59 schrieb Michael Pyne:
&gt; ------- This I can confirm, but it&apos;s almost-a-feature.  This is a hard one
&gt; to fix, because of the following:
&gt;
&gt; Consider that you have an album with a compilation of music from various
&gt; artists.  You don&apos;t want to have this album show up 12 times in the tree
&gt; view.
&gt;
&gt; The truth is that the Album name is just a very poor mechanism for
&gt; determining album uniqueness.  It would be possible to implement a
&gt; heuristic for trying to match tracks to their album, but I make no
&gt; promises.

Ok, I understand this. But then at least please show all tracks from albums of 
a single name together. At the moment I have two albums with the same name, 
and only the songs from the first one shows. 

Arne

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269106</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2004-09-16 09:40:29 +0000</bug_when>
    <thetext>CVS commit by mpyne: 

Make the tree view mode playlists use a case-insensitive search, since that&apos;s what the underlying map uses.

This should fix bug 89339.  Reporter: Please let me know if it doesn&apos;t.  Otherwise I will backport tomorrow and close the bug.

CCMAIL:89339@bugs.kde.org


  M +1 -1      viewmode.cpp   1.34


--- kdemultimedia/juk/viewmode.cpp  #1.33:1.34
@@ -355,5 +355,5 @@ void TreeViewMode::slotAddItems(const QS
             
         components.clear();
-        components.append(PlaylistSearch::Component(item, true, columns, mode));
+        components.append(PlaylistSearch::Component(item, false, columns, mode));
 
         PlaylistSearch s(playlists, components, PlaylistSearch::MatchAny, false);


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269364</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2004-09-17 08:11:57 +0000</bug_when>
    <thetext>CVS commit by mpyne: 

Backport fix for bug 89339 (Albums with a name that differs only in case don&apos;t show up) to KDE 3.3.

CCMAIL:89339-done@bugs.kde.org


  M +1 -1      viewmode.cpp   1.31.2.2


--- kdemultimedia/juk/viewmode.cpp  #1.31.2.1:1.31.2.2
@@ -342,5 +342,5 @@ void TreeViewMode::slotAddItem(const QSt
         mode = PlaylistSearch::Component::Exact;
 
-    components.append(PlaylistSearch::Component(item, true, columns, mode));
+    components.append(PlaylistSearch::Component(item, false, columns, mode));
 
     PlaylistList playlists;


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269373</commentid>
    <comment_count>5</comment_count>
    <who name="Arne Schmitz">arne.schmitz</who>
    <bug_when>2004-09-17 09:05:06 +0000</bug_when>
    <thetext>Am Freitag, 17. September 2004 08:11 schrieb Michael Pyne:
&gt; Backport fix for bug 89339 (Albums with a name that differs only in case
&gt; don&apos;t show up) to KDE 3.3.

Great! That&apos;s it, I didn&apos;t realise that the two albums I was talking about had 
different cases. :) 

Thank you very much!

Arne

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>