Wireshark-bugs: [Wireshark-bugs] [Bug 7774] New: OS X Wireshark launcher makes assumptions that
Date: Sun, 30 Sep 2012 11:46:31 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7774

           Summary: OS X Wireshark launcher makes assumptions that haven't
                    been true since Tiger (breaks Mountain Lion)
           Product: Wireshark
           Version: 1.8.2
          Platform: x86
        OS/Version: Mac OS X 10.7
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: jeremyhu@xxxxxxxxx


Build Information:
64bit Intel DMG
--
Launching Wireshark on Mountain Lion with XQuartz installed presents the user
with a dialog asking where X11 is.  This is horrible.  Ever since Leopard, X11
applications have been able to "just run" without needing to first launch X11
directly.

Please just use the $DISPLAY that is given to you.  If $DISPLAY isn't set, you
can try launching X11.app as a fallback, but launching X11.app should not be
your first recourse.

A quick strings dump of the launcher shows just how dated its logic is:



$ strings Wireshark 
MenuBar
Wireshark on Mac OS X
While Wireshark is open, its windows can be displayed or hidden by displaying
or hiding the X11 application.
The first time this version of Wireshark is run it may take several minutes
before the main window is displayed while font caches are built.
script
openDoc
Initialization Error
-Error getting script from application bundle.
.Error getting openDoc from application bundle.
#Error initing Apple Event handlers.
Error loading MenuBar.nib.
tell application "X11" to activate
test -d "$HOME/.wireshark" || mkdir "$HOME/.wireshark"; touch
"$HOME/.wireshark/.fccache-new"
Get X11 for Panther
Failed to start X11
Wireshark.app requires Apple's X11, which is freely downloadable from Apple's
website for Panther (10.3.x) users and available as an optional install from
the installation DVD for Tiger (10.4.x) users.
Please install X11 and restart Wireshark.
http://www.apple.com/downloads/macosx/apple/macosx_updates/x11formacosx.html
Platypus App: PID %d killed brutally

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.