openframeworks / openframeworks/openFrameworks

replace ofFileDialogResult with string vector or ofFile vector

Open
#3,264 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core feature
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

ofFileDialogResult seems like a kludge. It would be cleaner to return a vector of file paths as either strings or ofFiles. An empty vector return would indicate no paths were selected.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ofFileDialogResult API, its platform-specific implementations, and all callers. Review how selected paths and cancellation are currently represented, then define the replacement return type and update the relevant behavior and tests to cover multiple selections and an empty result.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, desktop
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.