--===============36929344121717023== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_vpsM/+0hSpl9gjr"; charset="us-ascii" Content-Transfer-Encoding: 7bit --Boundary-02=_vpsM/+0hSpl9gjr Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =46olks, while entertaining myself with breaking threading I noticed that the way th= e=20 threading (and html) options are handled really is rather confusing if not= =20 plain wrong. What we curently have is a global threading, saved in=20 [Geometry] nestedMessages Per Folder, there is an additional setting which is an _override_ of the=20 gloabl setting. That means that kmheaders.cpp does: bool threaded =3D mNested !=3D mNestedOverride=20 to figure out if the headers are threaded. Now, that means you actually hav= e=20 to turn the per folder option _off_, if the global option is on, to get=20 threaded behaviour. Same for html. The gui tries to work around that and=20 partially fails, resulting in much fun with out of sync .sorted files (whic= h=20 store the threading status also) and the infamous "threading actions out of= =20 sync" bugs. Now, I'd like to propose to change this to work as follows: =2D the global option turns threading globally on or off =2D if it is globally off, there are not threading options in the folder me= nus =2D it if is globally on, you can disable it on a per folder basis and=20 additionally disable subject threading for this folder =2D bool threaded =3D mThreaded && mFolderThreaded Same for html. That would simplify things and get rid of some bugs as well. Additionally I would propose to move the global threading option out of=20 geometry and into behaviour. Maybe it makes transition easier to just=20 introduce new options and have upgrade scripts. Makes sense? Till --Boundary-02=_vpsM/+0hSpl9gjr Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA/MspvtrsWGirveVsRAv6ZAJwJYR2+6Lz3NYNl5e7T9n1XcidVlwCghW4Z UZb/sjosppaR5V57yHL3lBg= =VSBV -----END PGP SIGNATURE----- --Boundary-02=_vpsM/+0hSpl9gjr-- --===============36929344121717023== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KMail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail --===============36929344121717023==--