ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] qtshark startup time ~1 minute just printing messages

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Mon, 09 Sep 2013 15:48:52 -0700
On 9/9/13 3:18 PM, Joerg Mayer wrote:
> On Mon, Sep 09, 2013 at 05:38:27PM -0400, Evan Huus wrote:
>> This is actually quite reproducible (on my machine at least). If I maximize
>> the qtshark window immediately upon startup then the splash seems to do a
>> full-window redraw for every change, and takes a significantly
>> longer-than-usual amount of time to finish.
> 
> Ah, that explains that last time I got annoyed by this it was more like
> 1,75 minutes. The window was larger.

What happens if you disable antialiasing in the overlay or set its
opacity to 1.0? I can't duplicate this (to any appreciable level, at
least) on any of my test machines.
Index: ui/qt/splash_overlay.cpp
===================================================================
--- ui/qt/splash_overlay.cpp	(revision 51907)
+++ ui/qt/splash_overlay.cpp	(working copy)
@@ -190,9 +190,9 @@
 
     QPainter painter(this);
 
-    painter.setRenderHint(QPainter::Antialiasing);
+//    painter.setRenderHint(QPainter::Antialiasing);
     painter.setBrush(QColor(tango_aluminium_6));
-    painter.setOpacity(0.4);
+//    painter.setOpacity(0.4);
     painter.drawRect(rect());
 }