Re: [Wireshark-dev] Warnings from Qt

2019-11-04 Thread Roland Knall
There is already work being done to address this

Am Mo., 4. Nov. 2019 um 15:32 Uhr schrieb Pascal Quantin <
pas...@wireshark.org>:

>
>
> Le lun. 4 nov. 2019 à 16:27, Joakim Karlsson  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  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 
>>> Archives:https://www.wireshark.org/lists/wireshark-dev
>>> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>>>  mailto:wireshark-dev-requ...@wireshark.org
>>> ?subject=unsubscribe
>>
>>
>> ___
>> Sent via:Wireshark-dev mailing list 
>> Archives:https://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>>  mailto:wireshark-dev-requ...@wireshark.org
>> ?subject=unsubscribe
>
> ___
> Sent via:Wireshark-dev mailing list 
> Archives:https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>  mailto:wireshark-dev-requ...@wireshark.org
> ?subject=unsubscribe
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] Warnings from Qt

2019-11-04 Thread Pascal Quantin
Le lun. 4 nov. 2019 à 16:27, Joakim Karlsson  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  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 
>> Archives:https://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>>  mailto:wireshark-dev-requ...@wireshark.org
>> ?subject=unsubscribe
>
> ___
> Sent via:Wireshark-dev mailing list 
> Archives:https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>  mailto:wireshark-dev-requ...@wireshark.org
> ?subject=unsubscribe
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] Warnings from Qt

2019-11-04 Thread Joakim Karlsson
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/

//Joakim

On Wed, 30 Oct 2019 at 18:32, Gerald Combs  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 
> Archives:https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>  mailto:wireshark-dev-requ...@wireshark.org
> ?subject=unsubscribe
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] Warnings from Qt

2019-10-30 Thread Gerald Combs
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 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe