Summary: | konqueror newsticker sidebar fails | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | mojedokumenty <mojedokumenty> |
Component: | general | Assignee: | mcamen |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | NOR | ||
Version: | 3.3 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
mojedokumenty
2004-08-24 11:29:42 UTC
The news applet depends on a tool called 'rssservice' which is part of kdenetwork3-news. If this is not installed you won't be able to add the news applet to the sidebar at all. In fact, the 'add' popup menu will only show a 'newsticker' item if 'rssservice' is available. The special situation here is that you removed 'rssservice' (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? Furthermore the 'Configure' button should not be shown in such an situation, IMHO. 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("Cannot connect to RSS service."), i18n("Sidebar Newsticker")); + noRSSwidget->setEnabled(false); } else { m_rssservice = DCOPRef("rssservice", "RSSService"); 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("Cannot connect to RSS service."), i18n("Sidebar Newsticker")); + noRSSwidget->setEnabled(false); } else { m_rssservice = DCOPRef("rssservice", "RSSService"); 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. 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. 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 'add->newsticker' 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) ... 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() > 0) { - KMessageBox::sorry(widgets, i18n("Cannot connect to RSS service."), + KMessageBox::sorry(widgets, + i18n("<qt>Cannot connect to RSS service. Please make " + "sure the <strong>rssservice</strong> program " + "is available (usually distributed as part " + "of kdenetwork).</qt>"), i18n("Sidebar Newsticker")); noRSSwidget->setEnabled(false); 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. |