Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] Add a "Find Next" button?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Tue, 12 Jul 2005 12:23:05 -0700 (PDT)
Graeme Hewson said:

> There's only one "find" button in the Mozilla and Acroread popups,
> labelled "Find" and "Find Again" respectively; the functions are
> identical.  The advantage is that it's possible to rapidly step through
> the data by pressing just the Enter key on the keyboard.

I'm reading this via Web mail, so I hit Command+F (which should tell you
what type of machine I'm reading this on :-)) and the resulting Find
dialog box has "Previous" and "Next" buttons.  "Next" is the default (as
in "throbbing blue"; see previous parenthetican note), so the "return" key
does a forward search.

There's no Cancel button, but you can click the red "X" button on the
title bar to close the Find dialog  box.  The Apple Human Interface
Guidelines page on dialogs:

    http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGWindows/chapter_17_section_6.html#//apple_ref/doc/uid/20000957-20000961-BACFBACB

says "Modeless.Enables users to change settings in a dialog while still
interacting with document windows; the Find window in many word processors
is an example of a modeless dialog. Modeless dialogs have title bar
controls (close, minimize, and zoom buttons)."  I.e., the Find dialog is
modeless, and modeless dialogs don't have a Cancel button; you close them
with the title bar close button.

The GNOME Human Interface Guidelines:

    http://developer.gnome.org/projects/gup/hig/2.0/windows-dialog.html#dialog-buttons

just refer you to the guidelines for alert boxes:

    http://developer.gnome.org/projects/gup/hig/2.0/windows-alert.html#alert-button-order

(I'm not sure that is appropriate for modeless dialogs), and those say
"Give all alerts an affirmative button that dismisses the alert and
performs the action suggested in the primary text. Provide a Cancel button
for all alerts displayed in response to a user actions[sic], such as
Quit." - I'm not sure whether that'd apply to Find or not; I guess Find
pops up "in response to a user actions".

The Windows HIG equivalent:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwue/html/ch09d.asp

specifically discusses Find and Replace dialog boxes; the example they
give has "Find Next" and "Cancel" buttons, with no option for searching
backwards.  Some apps have, I think, a "Search backwards" check box; I
don't know whether all Windows apps that support backwards searching do.