Ubuntu ofSystemLoadDialog not working?

I’m using Ubuntu 22.04 with OF version: of_v0.11.2_linux64gcc6_release

When I try running the command ofSystemLoadDialog or ofSystemSaveDialog 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`

Hmm that is weird.
If you put the call in ofApp::setup does it do anything ( without the check for key press )?

Also you can try putting this at the top of ofApp::setup


Could you also try the nightly build of OF ( bottom of the download page ).


I tried running ofSystemSaveDialog in setup and the same problem (no dialog box, no error). Also setting the log level to OF_LOG_VERBOSE doesn’t show any extra errors either.

same problem with the nightly build.