WindowsCE nsIFilePicker getFolder doesn't work

RESOLVED FIXED

Status

()

RESOLVED FIXED
13 years ago
9 years ago

People

(Reporter: mgalli, Assigned: blassey)

Tracking

({mobile})

unspecified
ARM
Windows CE
mobile
Points:
---

Firefox Tracking Flags

(fennec1.0-wm+)

Details

Attachments

(2 attachments)

(Reporter)

Description

13 years ago
In preferences.js, we currently have a workaround, where we use open the filepicker in nsIFilePicker.modeSave. The ideal would be the impl supporting nsIFilePicket.modeGetFolder. 

With that ready, then we shall also update the following function in preferences.js
---

function downloadChooseFolder() {

  const nsIFilePicker = Components.interfaces.nsIFilePicker;
  var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
-  fp.init(window, null, nsIFilePicker.modeSave);

...

+  fp.init(window, null, nsIFilePicker.modeGetFolder);

Updated

13 years ago
Summary: Minimo Preferences -> Download Pane needs getFolder → WindowsCE nsIFilePicker getFolder doesn't work

Updated

11 years ago
Assignee: dougt → nobody
Component: General → Widget: Win32
Keywords: mobile
Product: Minimo → Core
QA Contact: chofmann → win32
Version: WinCE → unspecified

Comment 1

10 years ago
the file picker on windows mobile has been disabled.

Updated

10 years ago
tracking-fennec: --- → 1.0-wm+
(Assignee)

Comment 2

10 years ago
taking..
Assignee: nobody → bugmail
Status: NEW → ASSIGNED
OS: Windows XP → Windows CE
Hardware: x86 → ARM
Created attachment 388571 [details] [diff] [review]
uses  OFN_PROJECT flag for GetOpenFileNameW
Attachment #388571 - Flags: review?(doug.turner)
Created attachment 388572 [details]
screen shot

Updated

9 years ago
Attachment #388571 - Flags: review?(doug.turner) → review+
Attachment #388572 - Attachment is patch: false
Attachment #388572 - Attachment mime type: text/plain → image/png
pushed http://hg.mozilla.org/mozilla-central/rev/0db3d7d6ed63
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.