Bug 62305 - knode rules-editor submenu "actions" is weird, while selecting "more"
Summary: knode rules-editor submenu "actions" is weird, while selecting "more"
Status: RESOLVED FIXED
Alias: None
Product: knode
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 0.7.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 08:52 UTC by Martin Holz
Modified: 2004-07-24 18:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Patch for kdenetwork-3.1.5/libkdenetwork/kscoringeditor.cpp (99 bytes, patch)
2004-02-13 12:50 UTC, Martin Engler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Holz 2003-08-07 08:52:30 UTC
Version:           0.7.2 (using KDE 3.1.3)
Installed from:    SuSE
Compiler:          gcc-2.95.3-216 
OS:          Linux (i686) release 2.4.18-4GB

I tried to set up some rules in knode.

This works fine, but the select-menu within actions is weird ... the first entry does nothing.

The second entry shows the options for the first entry, the third entry shows the options for the second entry, the fourth entry (empty) shows the options for the third entry.

Sorry for this kind of description - im not really awake yet.

For a screenshot of this problem feel free to visit http://www.martinholz.de/samples/knode.html
Comment 1 Martin Engler 2003-11-02 18:39:58 UTC
If you choose "Nachricht anzeigen" (show news?) set up your rating and switch back to "Bewertung anpassen" (adjust score?). The ratings are adjusted correctly.
Comment 2 Martin Holz 2003-11-02 19:07:49 UTC
Scoring is not the problem ... it's just the menu (see screenshots).
Comment 3 Martin Engler 2004-02-13 12:50:20 UTC
Created attachment 4671 [details]
Patch for kdenetwork-3.1.5/libkdenetwork/kscoringeditor.cpp

This Patch changes the Position of the line "types->insertItem(QString::null);"
in "SingleActionWidget::SingleActionWidget(KScoringManager *m,QWidget *p, const
char *n)"

This Patch applies to kdenetwork-3.1.5
Comment 4 Volker Krause 2004-07-24 18:30:20 UTC
CVS commit by vkrause: 

Don't mix manually chosen and automatically assinged id's.

CCMAIL: 62305-done@bugs.kde.org, 76075-done@bugs.kde.org


  M +1 -1      kscoringeditor.cpp   1.40


--- kdepim/libkdenetwork/kscoringeditor.cpp  #1.39:1.40
@@ -188,5 +188,5 @@ SingleActionWidget::SingleActionWidget(K
 
   dummyLabel = new QLabel(i18n("Select an action."), stack);
-  stack->addWidget(dummyLabel);
+  stack->addWidget(dummyLabel, 0);
 
   // init widget stack and the types combo box