Wireshark-dev: Re: [Wireshark-dev] Warnings from Qt

From: Pascal Quantin <pascal@xxxxxxxxxxxxx>
Date: Mon, 4 Nov 2019 15:31:05 +0100


Le lun. 4 nov. 2019 à 16:27, Joakim Karlsson <oakimk@xxxxxxxxx> a écrit :
And I getting some other warnings:

16:21:36.990     Main Warn CaptureEvent [ 2 ]:  1
16:21:36.994     Main Warn CaptureEvent [ 2 ]:  2
16:21:37.042     Main Warn CaptureEvent [ 2 ]:  4
16:21:39.416     Main Warn CaptureEvent [ 2 ]:  8
16:21:39.418     Main Warn CaptureEvent [ 2 ]:  16

this started after  https://code.wireshark.org/review/#/c/34937/  

Now that we have qDebug() activated by default, I guess we should comment its use in capture_file.cpp :)


//Joakim

On Wed, 30 Oct 2019 at 18:32, Gerald Combs <gerald@xxxxxxxxxxxxx> wrote:
On 10/29/19 9:00 AM, Anders Broman via Wireshark-dev wrote:
> Hi,
>
> Recently I’m getting:
>
> 16:14:09.906     Main Warn DirectWrite: CreateFontFaceFromHDC() failed
> (Indicates an error in an input file such as a font file.) for
> QFontDef(Family="Fixedsys", pointsize=9.75, pixelsize=15, styleHint=5,
> weight=50, stretch=100, hintingPreference=0) LOGFONT("Fixedsys", lfWidth=0,
> lfHeight=-15) dpi=96

I can duplicate the issue here by changing the main window font preference to Fixedsys. It looks like it might be due to https://bugreports.qt.io/browse/QTBUG-57180. A fix was backported to the 5.12 branch recently, so it should hopefully be in 5.12.6: https://codereview.qt-project.org/c/qt/qtbase/+/277322.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe