--===============4390999987593970911== Content-Type: multipart/signed; boundary="nextPart2030358.4mRMK2L1JO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2030358.4mRMK2L1JO Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Alex, I am no expert on the IMAP resource so ervin might have a different opinion= on=20 this. On Tuesday, 2012-04-24, Alex Fiestas wrote: > Recently I have noticed that when a new imap resource is created KMail wi= ll > emit a notification sayinng "Resource is broken, this resource is now > offline". We may need a way for the agent manager to tell a resource when it is start= ing=20 for the first time. On first startup missing our confguration is expected so it should not resu= lt=20 in an error. Any further startup without configuration probably should. > What happens is that imapresource will change its status to Broken when > trying to connect with an empty configuration (actually when imapServer is > not configured). This is very unfortuante since the flow to create an > akonadi resource is: Have you determined why it tries to connect to the server? E.g. is it alway= s=20 doing that or is it reacting to some request by Akonadi? > Since I'm new in Akonadi world, I'm unsure what is the best way to fix > this, I thought 2 possibilities: >=20 > 1-Patch KMail so it will only emit the notifiction * if * the resource is > online. IMHO that would just hide the problem and would have to be implemented=20 similarily in all displays of agent status. I.e. not a good idea. > 2-Patch imapresource to set the status to Idle Idle but also offline should be OK I guess. > 3-Add a new status "NotConfigured" and set imapresoruce to it. This is IMHO the best option for the long run. Basically all resources can = get=20 into that situation (they all usually are on first startup) and having a=20 separate state for it would all all clients to treat it separately. > Personally I will go for 2, but again I don't really know if Idle means > something more than "he agent does currently nothing.". My take would be to do this for 4.8 and (3) for master (4.9). Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart2030358.4mRMK2L1JO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQBPnTwlnKMhG6pzZJIRAjg/AJ9677zHpX47nbiCTnGH/vUzsSjtBACeNs44 FHcvtqqwkI5+BicyTl3A+DQ= =bSam -----END PGP SIGNATURE----- --nextPart2030358.4mRMK2L1JO-- --===============4390999987593970911== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KDE PIM mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim KDE PIM home page at http://pim.kde.org/ --===============4390999987593970911==--