Bug 168568 - Crash after editing toolbar kmmainwin
Summary: Crash after editing toolbar kmmainwin
Status: RESOLVED NOT A BUG
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-07 03:31 UTC by Don C. Weber
Modified: 2008-08-07 08:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don C. Weber 2008-08-07 03:31:05 UTC
Version:           Kontact 1.2.9 Kmail 1.9.9  (using KDE 3.5.9)
Installed from:    Ubuntu Packages
OS:                Linux

Yes this is a dup of:Bug 103770: Crash after editing toolbar kmmainwin .
I have had no feed back so I am resubmitting.

I am experiencing the same behavior.
Ubuntu 8.04.1 Kde 3.5.9 Kontact 1.2.9 Kmail 1.9.9

Here is my experience
--------------
I recently moved Linux distributions and brought my Kmail data (mail and kmailrc) to the new system (Ubuntu). Everything set up great even though I am now running Kmail through Kontact. So far I like it but I have noticed that Spam filtering stopped working. So, I used the wizard to configure Spam filter in hopes that it would help. It did not, but everything worked fine.

So I was looking around and I decided to check if Bogofilter (or whatever it is called) had a different button than the "Filter Classify as Spam" button. So, I went to configure the Kmail Toolbar and I noticed that although the toolbar contained the "Filter Classify as Spam" and the "Filter Classify as NOT Spam" buttons were on the toolbar the toolbar configuration menu showed they were not present. So, I selected each button and placed it on the toolbar and clicked okay. Kontact crashed. Every time I try and start Kontact, it crashes.

I have looked around but cannot seem to locate which file to modify so that the Kmail toolbar in Kontact goes back to normal.
--------------
THEN
--------------
Okay, I found it. Of course the configuration is handled through the "kmailrc". What threw me off was that the button is configured through the filter definition.


[Filter #17]
Applicability=0
AutomaticName=true
ConfigureShortcut=false
ConfigureToolbar=false
Icon=mail_spam
StopProcessingHere=true
accounts-set=
action-args-0=P
action-args-1=bogofilter -N -s
action-args-2=Junk
action-name-0=set status
action-name-1=execute
action-name-2=transfer
actions=3
apply-on=
contentsA=0
fieldA=<size>
funcA=greater-or-equal
name=Classify as spam
operator=and
rules=1

[Filter #18]
Applicability=0
AutomaticName=true
ConfigureShortcut=false
ConfigureToolbar=false
Icon=mail_ham
StopProcessingHere=true
accounts-set=
action-args-0=H
action-args-1=bogofilter -S -n
action-name-0=set status
action-name-1=execute
actions=2
apply-on=
contentsA=0
fieldA=<size>
funcA=greater-or-equal
name=Classify as NOT spam
operator=and
rules=1



I just changed "ConfigureShortcut" and "ConfigureToolbar" to false. Once I made this change it started right up. After playing around a little bit it seems that the "ConfigureShortcut" is the problem. But I cannot get "ConfigureToolbar" to go back to true. Also, now the buttons do not show up in the configuration menu at all.

So, then I ran the SpamWizard again and the buttons reappeared. Great, but when I restart Kmail crashes again. So, once again, no Anti-Spam.

--------------

Thank you,
Cutaway
Comment 1 Christophe Marin 2008-08-07 08:29:43 UTC
Already reported (#168561)