[Interest] xcb: moved mouse to .... spamming console

Koehne Kai Kai.Koehne at theqtcompany.com
Mon Feb 23 09:03:40 CET 2015



> -----Original Message-----
> From: interest-bounces+kai.koehne=theqtcompany.com at qt-project.org
> [mailto:interest-bounces+kai.koehne=theqtcompany.com at qt-project.org]
> On Behalf Of Guido Seifert
> Sent: Saturday, February 21, 2015 1:15 PM
> To: interest at qt-project.org
> Subject: Re: [Interest] xcb: moved mouse to .... spamming console
> 
> True. This important part did my quick grep not show. :-) Now I have to figure
> out where the qtlogging.ini came from. :-/

set QT_LOGGING_DEBUG environment variable to true. It should tell you.


> [...]
> > > > qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:
> > > qDebug("xcb: moved mouse to %4d, %4d; button state %X",
> > > mev->event_x,
> > > mev->event_y, static_cast<unsigned int>(m_buttons));
> > >
> > > Normal qDebug... no logging category.
> > >
> >
> > That's true but it's in an if
> > (Q_UNLIKELY(lcQpaXInput().isDebugEnabled()))
> > which tests if the logging category is enabled.

It's a bit weird though to test for a logging category, but then not log into it ... 


> Maybe logging mouse movements is a bit too much though...

I agree:

https://codereview.qt-project.org/#/c/106961/

Regards

Kai



More information about the Interest mailing list