Closed Bug 509468 Opened 15 years ago Closed 15 years ago

Decide what to do with "Get me out of here" button (name, action)

Categories

(Camino Graveyard :: Security, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino2.0

People

(Reporter: alqahira, Assigned: murph)

References

()

Details

(Keywords: polish, Whiteboard: l10n [camino-2.0])

Attachments

(2 files, 3 obsolete files)

+++ This bug was initially created as a clone of Bug #480207 +++

In bug 480207 we left untouched the issue of the "Get me out of here" button.

In Firefox, it goes Home (and to "Start" if Home is a blocked site)
In Safari, the equivalent button closes the page (and is called "Close")
In Opera, the equivalent button goes Home (and is called "Go to Home Page")

We currently go Back:

* "Get me out of here" is great emotionally, it doesn't clearly indicate to the user what concretely will happen
* What happens if you arrive on a bad site via a redirect? 
* If we keep using "Get me out of here" as a button name, we should add "!" (like Firefox 3.5)
Flags: camino2.0b4+
I vote for closing the page; simple and effective.
(In reply to comment #1)
> I vote for closing the page; simple and effective.

Per the meeting, "make it so!"
Attached patch Patch (obsolete) — Splinter Review
Change to Close Page.
Assignee: nobody → murph
Attachment #394063 - Flags: review?(alqahira)
Actually, is it our plan to do the same for the "Get Me Out" button on the blocker bar?
Comment on attachment 394063 [details] [diff] [review]
Patch

Updating the patch to include the blocker bar as well.
Attachment #394063 - Attachment is obsolete: true
Attachment #394063 - Flags: review?(alqahira)
Attached patch Patch, v2 (obsolete) — Splinter Review
This time includes the bar as well.  Requesting behavior and button label approval from Smokey first.

New SafeBrowsingBar.nib to follow, since I feel we should of course indicate on the button that it will close the page.
Attachment #394279 - Flags: review?(alqahira)
Attached file SafeBrowsingBar.nib (obsolete) —
Changes the get me out button title to "Close Page"
Attachment #394280 - Attachment is patch: false
Attachment #394280 - Attachment mime type: text/plain → application/zip
My source tree was mistakingly out of date when generating the last patch.  Refreshed to apply successfully now.
Attachment #394279 - Attachment is obsolete: true
Attachment #394325 - Flags: review?(alqahira)
Attachment #394279 - Flags: review?(alqahira)
As per IRC, Updated the warning label to indicate it is just a placeholder and does not need localization in the nib.
Attachment #394280 - Attachment is obsolete: true
Comment on attachment 394325 [details] [diff] [review]
Patch, v2 (From updated source tree)

>Index: resources/localized/English.lproj/Localizable.strings.in
>===================================================================

>-"GetMeOutButtonLabel" = "Get me out of here!";
>+"GetMeOutButtonLabel" = "Close Page";
> "IgnoreWarningButtonLabel" = "Ignore this warning";


>Index: src/browser/BrowserWrapper.mm
>===================================================================

>-// IBAction from the safe browsing bar, sent from the "Get me out of here" button.
>+// Sent when the user chooses to leave a dangerous page via the "Get Me Out" button.

Using spaces in the button reference there seems a bit odd, since we have no button whose key or label is "Get Me Out".  Maybe use the whole key there?  Dunno.

Anyway, behavior is good, "Close Page" looks good as the label, and the nib looks fine (save our friend bug 509670); r=ardissone
Attachment #394325 - Flags: superreview?(stuart.morgan+bugzilla)
Attachment #394325 - Flags: review?(alqahira)
Attachment #394325 - Flags: review+
Comment on attachment 394325 [details] [diff] [review]
Patch, v2 (From updated source tree)

sr=smorgan, but I'm with Smokey on using getMeOutButton or similar in the comment.
Attachment #394325 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Checked in on CAMINO_2_0_BRANCH and cvs trunk, including the nib fix for bug 509670.  

I went with "Close Page" to address Stuart's/my comment, because the other comment appeared to be wanting to use the literal button name in quotes:

> // IBAction from the safe browsing bar, sent from the "Report Incorrect Site" button.

However, as it turns out, that's not exactly literal button name, so we may want to change that comment, too.  That comment is at least close enough that it shouldn't become ambiguous over time, though.  (Also, the "Report an error…" button name doesn't have a corresponding key in Localizable.strings, since it's nib-only, so that does argue for using the literal English button names.)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: l10n → l10n [camino-2.0]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: