[Bug 168568] New: Crash after editing toolbar kmmainwin

Don C.Weber cutaway at cutawaysecurity.com
Thu Aug 7 02:31:06 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=168568         
           Summary: Crash after editing toolbar kmmainwin
           Product: kontact
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: cutaway cutawaysecurity com


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



More information about the Kdepim-bugs mailing list