Hello,
I’m not able to configure the pathdialog in a way, that it does not open the last visited folder. There is the “Use last directory” but it doesnt change anything if it’s 0 or 1. It doesn’t change anything if i set an specific initial directory or default or value. The problem is that the path is for the VideoPlayer-node. If the VideopPlayer node does not get a proper path-input, there is an error and the complete elementa-gui will not be rendered/working.
Do you know about the problem or what I’m dong wrong?
Hello,
here’s a small testpatch. there’s an other problem as well:
I can’t crop the SKImage-output of the VideoPlayer-node. I have to take a detour via toImage and fromImage. That works, but’s not the nice way. Do you know how to solve this in a better way?
thanks!
Matthias path-test.vl (13.0 KB)
That sounds odd :-) I just tried here and got the expected behavior :
Set the Initial Directory to my Downloads folder
Enabled Use Last Directory
Opening and closing the dialog when picking a file always brings back to the latest browsed folder, as expected
Disabling Use Last Directory brings me to my Downloads folder
If you could share the exact steps you are taking and describe the behavior you’re encountering, that would help. I would suggest using the help patch Use a PathDialog so that we can start from the same point.
Hey,
I use the help patch. I think I found the problem: if you pick a file on the Initial Directory and not just the Directory without a specific file, it won’t work. If you right click on the Initial-Directorypin the file-dialog opens and you have to chose a file…
It seems so, that the Initial-Directorypin can work only with the pure directorypath.
Matthias
Hey, thanks for the tip. There seems to be another problem with the pathdialog: if you open it, the complete rendering output freezes - on all renderer/windows.
Matthias