Closed Bug 355894 Opened 19 years ago Closed 19 years ago

Open file dialog doesn't allow me to open XUL documents

Categories

(Core :: Widget: Cocoa, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: hwaara, Assigned: hwaara)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Tested in today's trunk (20061008), where it's broken, whereas it worked in 20060925 (pre-Cocoa widgets). Steps to reproduce: 1. Choose File > Open... 2. Try to choose a XUL file Result: It's greyed out, you can't choose them. Since drag and drop is also not working, there's no way AFAICS to open XUL files right now. :/
Attached patch Fix v1 (obsolete) — Splinter Review
Here's a fix. Make cocoa respect the "*" filter, which means "all files".
Attachment #241596 - Flags: review?(joshmoz)
Comment on attachment 241596 [details] [diff] [review] Fix v1 You're leaking giantFilterString when you return early.
Attachment #241596 - Flags: review?(joshmoz) → review-
Attached patch Fix v2Splinter Review
Thanks for catching that, Josh. Here's a patch which autoreleases that, to avoid the issue.
Assignee: joshmoz → hwaara
Attachment #241596 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #241861 - Flags: review?(joshmoz)
Attachment #241861 - Flags: review?(joshmoz) → review+
Attachment #241861 - Flags: superreview?(mikepinkerton)
Comment on attachment 241861 [details] [diff] [review] Fix v2 Checked in before I saw the sr-request (sorry!), but Josh says it's fine.
Attachment #241861 - Flags: superreview?(mikepinkerton)
Fixed on trunk
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment on attachment 241861 [details] [diff] [review] Fix v2 sr=pink
Attachment #241861 - Flags: superreview?
Attachment #241861 - Flags: superreview? → superreview+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: