When Camino is hidden with multiple tabs, attempting to quit it should unhide it with confirm-close-on-quit dialog

VERIFIED FIXED in Camino1.0

Status

defect
VERIFIED FIXED
14 years ago
12 years ago

People

(Reporter: samuel.sidler+old, Assigned: sfraser_bugs)

Tracking

({fixed1.8})

unspecified
Camino1.0
PowerPC
macOS
Dependency tree / graph

Details

Attachments

(1 attachment)

If a user has a window with multiple tabs and hides Camino, then selects "Quit"
from the dock icon menu, Camino should re-appear from it's hide and bring up the
"Confirm Multiple Tab Close" allowing the user to confirm before they close.

STR:
1. Open multiple tabs
2. Hide Camino
3. Select Quit from Camino's dock icon

Actual Results:
Camino's dock icon just bounces.

Expected Results:
Camino should come back from hiding with the dialog up.
Assignee

Comment 1

14 years ago
I'm not sure how to fix this. We're stuck inside of -runModalForWindow.
Status: NEW → ASSIGNED
Target Milestone: --- → Camino1.0

Comment 2

14 years ago
The same happens if one uses COMMAND+TAB to select Camino then hit Q without
releasing COMMAND.
Are we/should we be calling makeKeyAndOrderFront: on the window first?
Assignee

Comment 4

14 years ago
(In reply to comment #3)
> Are we/should we be calling makeKeyAndOrderFront: on the window first?

We aren't, and should not be (according to the docs).
Assignee

Comment 5

14 years ago
I think this is the safest way; activate the app before showing the dialog. I
tried running an NSRunAlertPanel() in a test app in the same way, and it does
activate the app.
Assignee

Comment 6

14 years ago
Fixed on trunk and branch.
Status: ASSIGNED → RESOLVED
Last Resolved: 14 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.