[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#643726: Still happening



tags 643726 + patch
kthxbye

On Mon, May 27, 2013 at 09:25:10PM +0200, Sune Vuorela wrote:
> On Monday 27 May 2013 01:39:42 brian m. carlson wrote:
> > Please address this issue.
> 
> Sorry that we haven't addressed this issue yet, but we are a bit swamped in 
> 1300 bug reports and sometimes things fall past the cracks. If this is 
> unsatisfactory, you are most welcome to join in or alternatively contact your 
> software vendor and ask for a refund.

Attached is a patch fixing the problem.  It is untested, since I don't
feel like installing all the dependencies to build kde4libs.  You could
also just define KDE_NO_DEBUG_OUTPUT, but that might be a bit much.

Just as a note, this bug has been present in KDE for at least the last
decade.  I didn't mean to be so blunt, but as a non-KDE user, it pops up
at the most inconvenient times, and it is rather annoying when it does,
since it forces me to abandon a terminal that I'm working in, usually
with 20000 lines of important scrollback.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
diff --git a/kdecore/io/kdebug.h b/kdecore/io/kdebug.h
index ccb3a2a..6b327f5 100644
--- a/kdecore/io/kdebug.h
+++ b/kdecore/io/kdebug.h
@@ -150,7 +150,7 @@ KDECORE_EXPORT void kClearDebugConfig();
  * @param area an id to identify the output, KDE_DEFAULT_DEBUG_AREA for default
  */
 static inline QDebug kDebug(int area = KDE_DEFAULT_DEBUG_AREA)
-{ return kDebugStream(QtDebugMsg, area); }
+{ return area == 7021 ? kDebugDevNull() : kDebugStream(QtDebugMsg, area); }
 static inline QDebug kDebug(bool cond, int area = KDE_DEFAULT_DEBUG_AREA)
 { return cond ? kDebug(area) : kDebugDevNull(); }
 

Attachment: signature.asc
Description: Digital signature


Reply to: