<?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>112118</bug_id>
          
          <creation_ts>2005-09-06 14:52:03 +0000</creation_ts>
          <short_desc>Juk no longer finds covers</short_desc>
          <delta_ts>2005-10-25 22:35:53 +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>Debian testing</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="Alessandro Dal Grande">aledj</reporter>
          <assigned_to name="Scott Wheeler">wheeler</assigned_to>
          <cc>sleepkreep</cc>
          
          <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>371123</commentid>
    <comment_count>0</comment_count>
    <who name="Alessandro Dal Grande">aledj</who>
    <bug_when>2005-09-06 14:52:03 +0000</bug_when>
    <thetext>Version:           2.2.2 (using KDE KDE 3.4.2)
Installed from:    Debian testing/unstable Packages
Compiler:          Gcc 4.0.1 amd64 platform
OS:                Linux

I can&apos;t download covers with Cover Manager any more: any search with it (that I think uses Google) will give no results. Even for covers I downloaded with Juk of KDE 3.4.1, that I&apos;m sure they are on the net. Even if I try to search with a more general question.
Any other experiencing this problem?
My solution now is to manually download a cover from Google and then load it in Juk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>371217</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2005-09-07 00:11:36 +0000</bug_when>
    <thetext>This is because of a change in the way KHTML works.  JuK wasn&apos;t properly using KHTML so a change in KHTML exposed a bug in JuK&apos;s handling of the feature.  I&apos;m surprised it didn&apos;t crash.

Anyways, the bug is fixed in /trunk, and I thought I backported the fix but it appears that I forgot.  I will backport and the fix should work in 3.4.3 (and will also be in 3.5).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>371219</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2005-09-07 00:12:39 +0000</bug_when>
    <thetext>SVN commit 457901 by mpyne:

Backport fix for bug 112118 (JuK Google cover search doesn&apos;t work anymore) to KDE 3.4.

Sorry about forgetting to do so earlier.

BUG:112118


 M  +13 -1     googlefetcher.cpp  


--- branches/KDE/3.4/kdemultimedia/juk/googlefetcher.cpp #457900:457901
@@ -18,6 +18,8 @@
 #include &lt;dom/dom_exception.h&gt;
 #include &lt;dom/dom2_traversal.h&gt;
 
+#include &lt;khtml_part.h&gt;
+
 #include &lt;kapplication.h&gt;
 #include &lt;kstatusbar.h&gt;
 #include &lt;kmainwindow.h&gt;
@@ -85,8 +87,18 @@
     // choice if we&apos;re going to screen-scrape Google.
     try {
 
-    DOM::HTMLDocument search;
+    KHTMLPart part;
+
+    // Create empty document.
+
+    part.begin();
+    part.end();
+
+    DOM::HTMLDocument search = part.htmlDocument();
     search.setAsync(false); // Grab the document before proceeding.
+
+    kdDebug(65432) &lt;&lt; &quot;Performing Google Search: &quot; &lt;&lt; url &lt;&lt; endl;
+
     search.load(url.url());
 
     DOM::HTMLElement body = search.body();
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>384525</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2005-10-25 22:35:53 +0000</bug_when>
    <thetext>*** Bug 114979 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>