Bug 301273 - libattica breaks highlighting of important mails in kmail
Summary: libattica breaks highlighting of important mails in kmail
Status: REPORTED
Alias: None
Product: frameworks-attica
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Laszlo Papp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 11:44 UTC by Franz Trischberger
Modified: 2021-03-09 05:54 UTC (History)
1 user (show)

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 Franz Trischberger 2012-06-06 11:44:51 UTC
When initially drawing the message list, important messages are painted green. The next repaint (mouse over, new mail pops in, ...) draws the message in black (= normal status).
In general, updates or downgrades of libattica break highlighting of messages marked important when another version of libattica was installed. libattica-0.3.0 is completely broken, even messages marked important with this version show the broken highlighting behaviour in kmail.

After the broken update to 0.3.0, I downgraded to 0.2.0. After the downgrade, important mails marked with 0.3.0 are not highlighted, but even those marked with 0.2.0 are not highlighted correctly. Newly marked messages show up fine.
I went back to 0.3.0, all important mails, even those marked after the last update, are not highlighted.
Updated to libattica-git, and messages marked important before the update are not highlighted correctly, but at least the messages marked with attica-git are highlighted as expected.

As 0.2.0->0.3.0 and 0.3.0->git break ABI, I rebuilt kdelibs and attica after the update of libattica.
The behaviour can be reproduced on 2 computers. Both running kde-4.8.3 and Qt-4.8.2.

Reproducible: Always
Comment 1 Franz Trischberger 2012-06-06 12:14:13 UTC
Little update: latest git breaks highlighting of messages marked important 
with itself (no reinstallation of libattica). It only needs a restart of 
kmail. Previously marked messages lose their highlighting after repaint, 
messages marked within the same session keep their highlighting.

All these problems apply to "mark as action item", as well.

And this is related to nepomuk. As soon as I disable nepomuk completely, all 
messages keep their highlighting!
Comment 2 Frederik Gladhorn 2012-06-07 09:09:07 UTC
Thanks for the report, but I'm a bit confused, as far as I know libattica has nothing to do with mail highlighting. Are you sure you have the right lib?
Comment 3 Franz Trischberger 2012-06-07 09:45:06 UTC
(In reply to comment #2)
> Thanks for the report, but I'm a bit confused, as far as I know libattica
> has nothing to do with mail highlighting. Are you sure you have the right
> lib?

I realised it on the PC of a friend - he complained he can not see his marked mails anymore. I checked on my PC and everything went fine.. The other day, after my update, I had the same symptoms. I started trying around, and what was left in the end was libattica. I wondered, too. But as I get different behaviour after upgrading/downgrading libattica, I believe it is at least involved "somehow" - probably a misbehaving nepomuk plugin, as turning off nepomuk helps?

Here are all packages I updated, probably someone finds another possible package (as said, kdelibs + kde-base/attica was installed manually):

     Wed Jun  6 11:18:08 2012 >>> dev-libs/libattica-0.3.0:0
     Wed Jun  6 11:19:12 2012 >>> x11-libs/libX11-1.5.0:0
     Wed Jun  6 11:27:17 2012 >>> kde-base/kdelibs-4.8.3:4
     Wed Jun  6 11:27:29 2012 >>> kde-base/attica-4.8.3:4
     Wed Jun  6 11:28:39 2012 >>> app-text/t1utils-1.37:0
     Wed Jun  6 11:28:51 2012 >>> dev-libs/json-c-0.9-r1:0
     Wed Jun  6 11:28:57 2012 >>> sys-devel/gcc-config-1.6:0
     Wed Jun  6 11:31:49 2012 >>> net-print/cups-1.5.3:0
     Wed Jun  6 11:34:04 2012 >>> sys-devel/gettext-0.18.1.1-r1:0
     Wed Jun  6 11:35:25 2012 >>> dev-db/postgresql-base-9.1.4:9.1
     Wed Jun  6 11:39:02 2012 >>> dev-python/numpy-1.6.1-r1:0
     Wed Jun  6 11:39:12 2012 >>> dev-util/ccache-3.1.7:0
     Wed Jun  6 11:39:30 2012 >>> media-libs/libdvdcss-1.2.12:1.2
     Wed Jun  6 11:39:50 2012 >>> media-libs/faac-1.28-r3:0
     Wed Jun  6 11:40:14 2012 >>> media-libs/libvorbis-1.3.3:0
     Wed Jun  6 11:40:25 2012 >>> media-libs/vo-aacenc-0.1.2:0
     Wed Jun  6 11:40:34 2012 >>> net-libs/liblockfile-1.09:0
     Wed Jun  6 11:40:47 2012 >>> net-libs/libssh-0.5.2:0
     Wed Jun  6 11:46:43 2012 >>> sys-kernel/pf-sources-3.4.1:3.4.1
     Wed Jun  6 11:46:50 2012 >>> net-analyzer/nettop-0.2.3-r2:0
     Wed Jun  6 11:46:56 2012 >>> mail-client/mailx-8.1.2.20050715-r5:0
     Wed Jun  6 12:01:56 2012 >>> www-client/firefox-13.0:0
     Wed Jun  6 12:02:19 2012 >>> app-office/calligra-l10n-2.4.90:4
     Wed Jun  6 12:17:44 2012 >>> app-office/calligra-2.4.90:4
     Wed Jun  6 12:18:05 2012 >>> kde-misc/plasma-lionmail-9999:0
     Wed Jun  6 12:22:12 2012 >>> media-sound/amarok-2.5.90:4
     Wed Jun  6 12:22:16 2012 >>> java-virtuals/servlet-api-3.0-r1:3.0
Comment 4 Andrea Scarpino 2012-07-04 07:17:35 UTC
I'm using libattica 0.4.0 and I cannot reproduce this.
Comment 5 Justin Zobel 2021-03-09 05:54:05 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.