Bug 414355

Summary: Cannot add Ad Block filter until dialog closed and re-opened
Product: [Applications] kmail2 Reporter: Tom Owad <tom>
Component: config dialogAssignee: kdepim bugs <kdepim-bugs>
Status: REOPENED ---    
Severity: normal CC: montel, tom
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tom Owad 2019-11-21 05:10:39 UTC
SUMMARY
It's not possible to add a filter subscription until Ad Block has been enabled and the dialog box closed and reopened.

STEPS TO REPRODUCE
1. Go to KMail > Settings > Configure KMail > Plugins > Adblock Settings
2. Check 'Enable Ad Block'
3. Click 'Add Filters Subscriptions', chose any filter, click OK.

OBSERVED RESULT
The filter is not added to the Automatic Filters list.

EXPECTED RESULT
The filter should be added to the automatic filters list.

Workaround:
1. Go to KMail > Settings > Configure KMail > Plugins > Adblock Settings
2. Check 'Enable Ad Block'
3. Click OK.
4. Go back to Adblock Settings.
5. Click 'Add Filters Subscriptions', chose any filter, click OK.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.10
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4
Comment 1 Laurent Montel 2019-11-21 05:42:34 UTC
I fixed a lot of bug in 5.12.x and it works now.
Please test with new version.
Thanks
Comment 2 Tom Owad 2019-11-21 18:18:31 UTC
I've confirmed that this bug is still present, as described above, in 5.12.3, running on a fresh install of KDE Neon User Edition. It is also still present in 5.12.80 beta 1 (19.11.80), running on a fresh install of KDE Neon Developer Edition.