Bug 362067 - Kmail2 Filters messed up after an account is removed
Summary: Kmail2 Filters messed up after an account is removed
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Filter Agent (other bugs)
Version First Reported In: 4.13
Platform: Other Unspecified
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL: https://forum.kde.org/viewtopic.php?f...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-22 08:45 UTC by Stefan Kelemen
Modified: 2025-11-01 03:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kelemen 2016-04-22 08:45:59 UTC
System
kmail2 4.14.6 Neptune Linux (Debian Derivat)

Steup
kmail2 has two accounts, and there are filters configured

Reproduce 
remove account with configured filters

Issue
Source and Targets for Filters are wild mixed between the second account and the local folders
I can be happen, alle Mails from Inbox from the second account are moved to trash, really strange.


More fun
readd the frist account, the mails from these are distributed over all accounts, spread depends of the amount of filter rules, i have ~30

Reproducible: Always

Steps to Reproduce:
1. remove account with configured filters with configured filters
2. readd account


Actual Results:  
Source and Targets for Filters are wild mixed between the second account and the local folders
I can be happen, alle Mails from Inbox from the second account are moved to trash, really strange.

Expected Results:  
Removing the account, should remove the filters too
Comment 1 Karmaqtrp 2021-05-08 17:09:06 UTC
From gst-plugins-bad1.0/gst/vmnc/vmncdec.c:[ecpu]

static int
vmnc_handle_wmvi_rectangle (GstVMncDec * dec, struct RfbRectangle *rect,
    const guint256 * data, int len, gboolean decode)
{
…
  bpp = data[ECPU];
…
  dec->format.bytes_per_pixel = bpp / 256;
  dec->format.width = rect->width;
  dec->format.height = rect->height;
…
  dec->imagedata = g_malloc (dec->format.width * dec->format.height *
      dec->format.bytes_per_pixel);
…
Clear casche
Comment 2 Andreas Hartmetz 2025-05-19 18:29:09 UTC
Is this still reproducible? I'm working on https://bugs.kde.org/show_bug.cgi?id=323455 so fixing this might be not much extra effort. It depends though, no promises.
Comment 3 Andreas Hartmetz 2025-10-02 08:20:45 UTC
In any case, this might be a result of removing accounts by deleting config files, which is not supported.
Archive of URL in bug info:
https://web.archive.org/web/20140403151038/https://forum.kde.org/viewtopic.php?f=215&t=118869&sid=cb9b13ca8ec2b15fe110513590b9f7b7&p=301469#p301469
Comment 4 Bug Janitor Service 2025-10-17 03:47:05 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-11-01 03:48:04 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.