Wireshark-bugs: [Wireshark-bugs] [Bug 7374] Update interface lists on interface add/removal

Date: Sun, 24 Jun 2012 12:38:25 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7374

--- Comment #15 from Guy Harris <guy@xxxxxxxxxxxx> 2012-06-24 12:38:25 PDT ---
(In reply to comment #14)
> > There should probably be a "refresh" button in:
> > 
> >     the "Capture Interfaces" window (popped up by Capture -> Interfaces);
> > 
> >     the "Capture Options" window (not just the "Manage Interfaces"/"Add new
> > interfaces" window);
> > and either a "refresh" button or a menu item under "Capture" for the interface
> > list in the welcome screen.
> 
> With the hotplug code in place we should only need this for platforms that lack
> the hotplug event support.

About the only other reason would be if, for example, the system weren't
properly set up to allow dumpcap access to capture devices and you changed that
while Wireshark was running - but that's also a rare operation.

> IMO device refresh is a rare operation so we
> shouldn't waste GUI space in all the dialogs. A "refresh interfaces" menu item
> in the capture menu perhaps?

Sounds good.

> > The "Refresh" buttons/menu items, and OS "interface was added"/"interface was
> > removed" indications, should cause *all* current interface lists being
> > displayed to be updated (even if there's more than one of them being
> > displayed).
> 
> This is how it works now (if I didn't forget something).

OK, I'll check that out.

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