Wireshark-bugs: [Wireshark-bugs] [Bug 12582] (Qt5) app menus won't pull down

Date: Sat, 30 Jul 2016 22:05:35 +0000

Comment # 4 on bug 12582 from
(In reply to Gerald Combs from comment #3)
> We currently call the main window's show() function at line 503 in
> wireshark-qt.cpp. We might need to add calls to activateWindow() and raise()
> as well.

I tried that with wireshark 2.0.5 (see diff below), but it didn't help -- the
original menu problem persists. As far as I can tell, adding these calls had no
effect on anything.

--- wireshark-qt.cpp.orig    2016-07-27 12:26:43.000000000 -0600
+++ wireshark-qt.cpp    2016-07-30 15:59:31.000000000 -0600
@@ -769,6 +769,8 @@
     // Init the main window (and splash)
     main_w = new(MainWindow);
     main_w->show();
+    main_w->activateWindow();
+    main_w->raise();
     // We may not need a queued connection here but it would seem to make
sense
     // to force the issue.
     main_w->connect(&ws_app, SIGNAL(openCaptureFile(QString,QString,unsigned
int)),


You are receiving this mail because:
  • You are watching all bug changes.