<?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>87920</bug_id>
          
          <creation_ts>2004-08-24 11:29:42 +0000</creation_ts>
          <short_desc>konqueror newsticker sidebar fails</short_desc>
          <delta_ts>2004-08-24 23:48:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>general</component>
          <version>3.3</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="mojedokumenty">mojedokumenty</reporter>
          <assigned_to>mcamen</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>261780</commentid>
    <comment_count>0</comment_count>
    <who name="mojedokumenty">mojedokumenty</who>
    <bug_when>2004-08-24 11:29:42 +0000</bug_when>
    <thetext>Version:           3.3 (using KDE 3.3.0, SuSE)
Compiler:          gcc version 3.3.3 (SuSE Linux)
OS:                Linux (i686) release 2.6.5-7.104-default

Whenever I try to run the konqueror sidebar newsticker it fails with an error message: &apos;cannot connect to rss service&apos; (titled Sidebar Newsticker - Konqueror) and a wide sidebar with a single configuration button appears. I&apos;ve made sure that the sidebar newsticker is given a proper rss source address, but it seems none of them actually work, even the one defaulting to kde rss service!

I don&apos;t know whether it might be of help to say that when I had kdenetwork3-news installed, the taskbar newsticker received the news all right, but then again would the konqueror newsticker require a seperate news client to be installed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261786</commentid>
    <comment_count>1</comment_count>
    <who name="">mcamen</who>
    <bug_when>2004-08-24 11:44:05 +0000</bug_when>
    <thetext>The news applet depends on a tool called &apos;rssservice&apos; which is part of kdenetwork3-news. If this is not installed you won&apos;t be able to add the news applet to the sidebar at all. In fact, the &apos;add&apos; popup menu will only show a &apos;newsticker&apos; item if &apos;rssservice&apos; is available.

The special situation here is that you removed &apos;rssservice&apos; (together with kdenetwork3-news) after adding the newsticker sidebar.

Hmmm.... Maybe I can make the error message a bit more informative. Do you have a suggestion?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261789</commentid>
    <comment_count>2</comment_count>
    <who name="">mcamen</who>
    <bug_when>2004-08-24 11:50:46 +0000</bug_when>
    <thetext>Furthermore the &apos;Configure&apos; button should not be shown in such an situation, IMHO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261799</commentid>
    <comment_count>3</comment_count>
    <who name="">mcamen</who>
    <bug_when>2004-08-24 12:08:17 +0000</bug_when>
    <thetext>CVS commit by mcamen: 

Disable configuration items in case we cannot connect to the DCOP
rssservice.
CCMAIL: 87920@bugs.kde.org


  M +1 -0      sidebar_news.cpp   1.73


--- kdeaddons/konq-plugins/sidebar/newsticker/sidebar_news.cpp  #1.72:1.73
@@ -73,4 +73,5 @@ namespace KSB_News {
       KMessageBox::error(widgets, i18n(&quot;Cannot connect to RSS service.&quot;),
                          i18n(&quot;Sidebar Newsticker&quot;));
+      noRSSwidget-&gt;setEnabled(false);
     } else {
       m_rssservice = DCOPRef(&quot;rssservice&quot;, &quot;RSSService&quot;);


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261802</commentid>
    <comment_count>4</comment_count>
    <who name="">mcamen</who>
    <bug_when>2004-08-24 12:13:02 +0000</bug_when>
    <thetext>CVS commit by mcamen: 

BACKPORT:

Disable configuration items in case we cannot connect to the DCOP
rssservice.
CCMAIL: 87920@bugs.kde.org


  M +1 -0      sidebar_news.cpp   1.70.2.1


--- kdeaddons/konq-plugins/sidebar/newsticker/sidebar_news.cpp  #1.70:1.70.2.1
@@ -73,4 +73,5 @@ namespace KSB_News {
       KMessageBox::error(widgets, i18n(&quot;Cannot connect to RSS service.&quot;),
                          i18n(&quot;Sidebar Newsticker&quot;));
+      noRSSwidget-&gt;setEnabled(false);
     } else {
       m_rssservice = DCOPRef(&quot;rssservice&quot;, &quot;RSSService&quot;);


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261812</commentid>
    <comment_count>5</comment_count>
    <who name="mojedokumenty">mojedokumenty</who>
    <bug_when>2004-08-24 12:35:23 +0000</bug_when>
    <thetext>Yeah, proves you correct, once I installed kdenetwork3-news everything is fine. Still, I believe the error message is misleading and if the sidebar_news cannot find rssservice, it should say so and/or give reason why (perhaps kdenetwork3-news is not installed?). Alternatively, a dependency on kdenetwork3-news could be introduced so that no error would arise in the future due to a missing package.

However, the add service popup box is available no matter if rssservice is available.

Thx to your assistance on this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261813</commentid>
    <comment_count>6</comment_count>
    <who name="mojedokumenty">mojedokumenty</who>
    <bug_when>2004-08-24 12:35:51 +0000</bug_when>
    <thetext>Yeah, proves you correct, once I installed kdenetwork3-news everything is fine. Still, I believe the error message is misleading and if the sidebar_news cannot find rssservice, it should say so and/or give reason why (perhaps kdenetwork3-news is not installed?). Alternatively, a dependency on kdenetwork3-news could be introduced so that no error would arise in the future due to a missing package.

However, the add service popup box is available no matter if rssservice is available.

Thx to your assistance on this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261817</commentid>
    <comment_count>7</comment_count>
    <who name="">mcamen</who>
    <bug_when>2004-08-24 12:52:16 +0000</bug_when>
    <thetext>Regarding package dependencies:
This is SuSEs business. But as it is just a runtime dependency it will most likely not be included in the RPM packages.

Regarding &apos;add-&gt;newsticker&apos; popup menu:
Well, this just WorksForMe. Maybe the sycocoa database on your system is not up2date? AFAIK adding or removing an RPM on SuSE refreshes the global syscoca database via SuSEconfig.kde. So I would suppose there is more likely a problem with updating the different databases. Also keep in mind that you have to restart konqueror (including hidden preloaded instances). Sorry, but I cannot help here.

Regarding the comment in the dialog:
I will try to give a more verbose description. Unfortunately mentioning kdenetwork3-news.rpm or similar is not possible as every distribution has a different packaging (think of Debian, Solaris, CygWin) ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262086</commentid>
    <comment_count>8</comment_count>
    <who name="">mcamen</who>
    <bug_when>2004-08-24 23:42:18 +0000</bug_when>
    <thetext>CVS commit by mcamen: 

Give the user a more detailed hint why the applet does not work

CCMAIL: 87920@bugs.kde.org


  M +5 -1      sidebar_news.cpp   1.75


--- kdeaddons/konq-plugins/sidebar/newsticker/sidebar_news.cpp  #1.74:1.75
@@ -71,5 +71,9 @@ namespace KSB_News {
     // try to connect to the DCOP service
     if (checkDcopService() &gt; 0) {
-      KMessageBox::sorry(widgets, i18n(&quot;Cannot connect to RSS service.&quot;),
+      KMessageBox::sorry(widgets,
+                         i18n(&quot;&lt;qt&gt;Cannot connect to RSS service. Please make &quot;
+                              &quot;sure the &lt;strong&gt;rssservice&lt;/strong&gt; program &quot;
+                              &quot;is available (usually distributed as part &quot;
+                              &quot;of kdenetwork).&lt;/qt&gt;&quot;),
                          i18n(&quot;Sidebar Newsticker&quot;));
       noRSSwidget-&gt;setEnabled(false);


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262094</commentid>
    <comment_count>9</comment_count>
    <who name="">mcamen</who>
    <bug_when>2004-08-24 23:48:13 +0000</bug_when>
    <thetext>The better error message will not be in KDE 3.3.1 as it introduces a modified i18n() string which is not allowed within the KDE 3.3.x series (it will break translations). But the fix will be in KDE 3.4 / KDE 4.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>