From kde-core-devel Fri Sep 18 11:15:10 2009 From: Milian Wolff Date: Fri, 18 Sep 2009 11:15:10 +0000 To: kde-core-devel Subject: Re: kWarning() broken! Message-Id: <200909181315.24402.mail () milianw ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=125329287925690 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart10362935.Ry44hhFKVJ" --nextPart10362935.Ry44hhFKVJ Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Am Freitag, 18. September 2009 09:39:29 schrieb Andreas Pakulat: > On 18.09.09 02:40:40, Milian Wolff wrote: > > Hey people! > > > > Something makes kWarning() output _nothing_ at all. > > > > I just spent 2h debugging a problem in the PHP plugin to finally find it > > and saw that I _should_ have seen it directly: there should have been a > > kWarning() message emitted. > > > > I deleted my kdebugrc, enabled _all_ areas in kdebugdialog, no change. > > Also note: kDebug() works just fine! > > > > I tried around, didn't work in any kdevelop plugin. Also added it to a > > KTextEditor plugin, which showed the same behaviour... > > > > Can someone reproduce this issue or is it something local on my machine? > > Oh and note: In a simple hello-world-like app kWarning worked just fine! > > > > Do you have an idea what might be the issue? > > > > I find this very critical as kWarnings should _always_ be shown! Right > > now it's really the worst-case scenario... >=20 > Are you running trunk? I won't have access to a 4.3 system until next > week, but it could be that this is a regression introduced by dfaure's > automatic-assigning-of-debug-areas. No, I'm running 4.3.1 from the Kubuntu repos. > I could just reproduce this with kcalc, using kWarning() didn't produce > anything. It seems kcalc gets assigned an automatic id here though. Even > if I explcitly put in a static debug area and enable that it doesn't > work. >=20 > I'm moving this to kde-core-devel (please remove kwrite-devel when > replying) as thats where this belongs. I've seen this also in QTest > unit-tests, kDebug() was printed, but kWarnings() are not. The strange thing is that a simple test app (hello-world-like) does print t= he=20 kWarning stuff... =2D-=20 Milian Wolff mail@milianw.de http://milianw.de --nextPart10362935.Ry44hhFKVJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkqza8AACgkQDA6yEs0dE5PbWgCdGYZpy5cwykmewiWH4j6JURV/ jx4AoI+KHweo6kj0gKglI/d2YEweyqK4 =9w8P -----END PGP SIGNATURE----- --nextPart10362935.Ry44hhFKVJ--