Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

datapath messed in windows after using file open dialog #819

hvfrancesco opened this Issue Nov 22, 2011 · 7 comments


None yet
6 participants

i'm experiencing troubles in windows when i use a system file-opening dialog from openframeworks. after using it Data root path seems to get pointing to a wrong location, causing troubles e.g. true type fonts not loading.
if I use the open-file dialog once again to open a file in root folder of the application, then the data path is reset correctly.
using ofSetDataPathRoot() doens't seem to fix the issue, or maybe I'm not using it correctly.

forgot to mention that things work perfectly on linux

I'm having exactly the same problem, tried reseting the directory and listing it again after openning the dialog window, but still not working. Tested of07, win7 64 ans 32 bits


bilderbuchi commented Sep 13, 2012

pushing back to 0073 as per #1523 (comment)


ofTheo commented Mar 9, 2013

is this fixed - or still an outstanding issue?
looking at #1523 - my feeling is that we should try and fix this issue separately from a complete re-write of ofToDataPath -> Poco::Path

its a big enough change that we should really treat ofToDataPath -> Poco::Path as a feature request.
and develop a bugfix for this very specific issue.

curious what @arturoc @elliotwoods think.
#1523 is going to be much trickier to test/merge than a bugfix for this very specific bug.

@ofTheo ofTheo was assigned Jul 7, 2013


kylemcdonald commented Jul 16, 2013

@elliotwoods so has #1523 resolved this or is it still outstanding?

@LeoColomb maybe you could take a look?


elliotwoods commented Jul 17, 2013

this is fixed at

Just tested now using dirListExample with an ofSystemLoadDialog at the top of the program and the example works fine.


bilderbuchi commented Jul 17, 2013

closing, then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment