Open Bug 246370 Opened 20 years ago Updated 2 years ago

Can't upload ~timeless/mozilla/camino/resources/localized/English.lproj/MainMenu.nib/objects.nib

Categories

(Core :: XUL, defect)

PowerPC
macOS
defect

Tracking

()

People

(Reporter: timeless, Unassigned)

Details

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a2) Gecko/20040608
Camino/0.8+

toolkit: cocoa

I consider this a bug in the filepicker, it's ok if we fix xpcom, but i don't
care. The filepicker lets me enter the path, so we should deal with it.

steps:
0. su timeless -
   cvs co mozilla/camino.mk
   cd mozilla
   curl -o .mozconfig
http://viper.haque.net/~timeless/mozconfig/doppler/camino.mozconfig
   make -f camino.mk
   chmod -R oug+r mozilla
   logout
   cd
~timeless/obj-powerpc-apple-darwin7.4.0-camino/camino/build/Camino.app/Contents/MacOS
   ./Camino &
1. load the create attachment page from this bug
2. enter:
~timeless/mozilla/camino/resources/localized/English.lproj/MainMenu.nib/objects.nib
3. select (*) Auto Detect
4. provide a description
5. submit

Expected Results:
  Attachment created.

Acceptable Results not satisfying requirements for this bug (covered elsewhere):
  A pretty warning from mozilla that it can't read the file specified.

Actual Results:
  Bugzilla tolds me that I tried to attach an empty file.

Cause:
  nsLocalFile(for macosx) doesn't handle ~username although the camino native
filepicker does.

Fix:
  filepicker wrapper should convert the filepath into something which xpcom does
handle.

Acceptable Alternate Fix:
  fix nsLocalFile(for macosx) to handle ~username.
Widget, not GFX.
Assignee: sfraser → jag
Component: GFX: Mac → XP Toolkit/Widgets
QA Contact: jrgmorrison
Since you can't actually enter anything in an input type=file any more after bug 258875 landed (and I'm not entirely clear on whether that ability will ever be coming back), is this FIXED now?
Assignee: jag → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.