openframeworks / openframeworks/openFrameworks
[ubuntu] ofSystemLoadDialog doesn't work
@ofTheo is already working on this.
Since Jan 12, 2023.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
I'm using Ubuntu 22.04 with OF version: of_v0.11.2_linux64gcc6_release
When I try running the command ofSystemLoadDialog nothing happens, no error messages or any other indications of a problem.
This is a simplified version illustrating the problem:
`#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
}
//--------------------------------------------------------------
void ofApp::update(){
}
//--------------------------------------------------------------
void ofApp::draw(){
}
//--------------------------------------------------------------
void ofApp::keyPressed(int key){
if(key==' ')
{
ofFileDialogResult result = ofSystemLoadDialog("Load file");
if(result.bSuccess) {
string path = result.getPath();
// load your file at `path`
}
}
}
`
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.