<?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>102952</bug_id>
          
          <creation_ts>2005-03-31 18:25:36 +0000</creation_ts>
          <short_desc>Missing tracks/albums in the Artists tree view</short_desc>
          <delta_ts>2005-08-16 05:23:16 +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>unspecified</version>
          <rep_platform>Compiled Sources</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="Scott Zelakiewicz">zelakiew</reporter>
          <assigned_to name="Michael Pyne">mpyne</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>330463</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Zelakiewicz">zelakiew</who>
    <bug_when>2005-03-31 18:25:36 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.4.0)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.2 
OS:                Linux

I have multiple albums from the same artist.  When I look at the tree-view of Collection List-&gt;Artists, some of the album&apos;s do not show up.  I think this is related to a case sensitivty thing.  

For example, one album lists the artist as &apos;Ani DiFranco&apos; (upper-case &apos;F&apos;) and the other as &apos;Ani Difranco&apos; (lower case &apos;f&apos;). The artist list only shows the tracks from &apos;Ani Difranco&apos; and not &apos;Ani DiFranco&apos;.  In fact the latter one does not show up on the artist list anywhere. If I look at my whole collection the tracks are there and it is present in Album list as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365777</commentid>
    <comment_count>1</comment_count>
    <who name="Montana Low">me</who>
    <bug_when>2005-08-15 22:41:38 +0000</bug_when>
    <thetext>I can confirm this same behavior.

The tree-view of automatically generated playlists for artists albums and genres, apparently does a case insensitive match to see whether or not to append an artist album or genre, which seems desireable, but then the playlists themselves are generated using a case sensitive match, which causes some songs and or albums to never show up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365825</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2005-08-16 03:25:20 +0000</bug_when>
    <thetext>I&apos;ve just checked the code, and it is (supposed to be) doing a case insensitive search.  However, I can also reproduce.

Will try to pin down.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365834</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2005-08-16 05:15:49 +0000</bug_when>
    <thetext>SVN commit 449597 by mpyne:

Fix bug 102952 (Missing tracks in Tree View for Artists).

CCBUG:102952


 M  +1 -1      playlistsearch.cpp  


--- branches/KDE/3.5/kdemultimedia/juk/playlistsearch.cpp #449596:449597
@@ -221,7 +221,7 @@
 	case ContainsWord:
 	{
 	    QString s = item-&gt;text(*it);
-	    int i = s.find(m_query);
+	    int i = s.find(m_query, 0, m_caseSensitive);
 
 	    if(i &gt;= 0) {
 
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365836</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2005-08-16 05:23:15 +0000</bug_when>
    <thetext>SVN commit 449598 by mpyne:

Backport fix for bug 102952 (Missing tracks in Tree View for Artists)
to KDE 3.4.

BUG:102952


 M  +1 -1      playlistsearch.cpp  


--- branches/KDE/3.4/kdemultimedia/juk/playlistsearch.cpp #449597:449598
@@ -221,7 +221,7 @@
 	case ContainsWord:
 	{
 	    QString s = item-&gt;text(*it);
-	    int i = s.find(m_query);
+	    int i = s.find(m_query, 0, m_caseSensitive);
 
 	    if(i &gt;= 0) {
 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>