Wireshark-bugs: [Wireshark-bugs] [Bug 4081] New: "Save As" over existing file may produce hidden
Date: Fri, 2 Oct 2009 08:14:27 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4081

           Summary: "Save As" over existing file may produce hidden popup
                    window
           Product: Wireshark
           Version: 1.2.2
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: beth.tridium@xxxxxxxxx


Build Information:
Version 1.2.2 (SVN Rev 29910)

Copyright 1998-2009 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.16.2, with GLib 2.20.3, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with c-ares 1.6.0, with Lua 5.1, with GnuTLS 2.8.1, with Gcrypt 1.4.4, with MIT
Kerberos, with GeoIP, with PortAudio V19-devel (built Sep 14 2009), with
AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1
beta5
(packet.dll version 4.1.0.1452), based on libpcap version 1.0.0, GnuTLS 2.8.1,
Gcrypt 1.4.4, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729


--

If you use "Save As" to save over a file created earlier in the same Wireshark
session (i.e. that did not exist before opening Wireshark), you get two
dialogs: 

  (1) the usual Windows-style dialog titled "Wireshark: Save file as" saying
"foo.pcap already exists.  Do you want to replace it?"  

AND
  (2) the older-style Wireshark popup (with the big red Do Not Enter icon and
bold font) saying "Capture file: 'foo.pcap' already exists!  Please choose a
different filename."


The problem is that you can't see (2) because it is hidden behind the Save As
dialog!  Even if the Save As dialog is not directly on top of it, you can't
access (2) because (1) has the focus.  And as soon as you press OK on (1), a
new Save As dialog pops up and grabs the focus again.  Moving the Save As
dialog doesn't help, because the window does not refresh behind it so you get a
mess.

The ONLY way to get out of this is to hit Cancel, either on the Save As dialog
or on (1).  (I.e., you cannot complete the Save As action.)


To recreate the issue:
----------------------
1. Open Wireshark (I used 1.2.2 on Win XP)
2. Capture packets or open an existing capture file
3. Save or Save As to a new filename, e.g. "foo.pcap"
4. Save As (again) to the same new filename
5. When popup asks "Do you want to replace it?", click Yes

At this point you will get a new Save As dialog.  Do steps 4 & 5 again to
verify the problem repeats itself.  Move the Save As dialog to see the outline
of popup (2), but you can't read the message or close it.

NOTE:  If the file already exists before you open Wireshark, this problem
doesn't seem to occur.


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