Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Issues opening KBM and SCL files #38

Open
tank-trax opened this issue Feb 20, 2020 · 6 comments
Open

Linux Issues opening KBM and SCL files #38

tank-trax opened this issue Feb 20, 2020 · 6 comments

Comments

@tank-trax
Copy link

when opening an SCL or KBM file on Windows it will open in the default Dexed folder

%USERNAME%/Application Data/DigitalSuburban/Dexed/

and display the correct file type

selecting SCL
dexed 01

selecting KBM
dexed 02

on Linux the folder that is opened is~/and it allows for All Files without filtering, whether KBM or SCL is selected

dexed 03

ideally it would open the default folder

~/.local/share/DigitalSuburban/Dexed

and allow for filter by file type

this may be of help, in the file

dexed/libs/vst3sdk/vstgui4/vstgui/lib/cfileselector.cpp

const CFileExtension& CNewFileSelector::getAllFilesExtension ()
{
	static CFileExtension allFilesExtension ("All Files", "");
	return allFilesExtension;
}
@baconpaul
Copy link
Collaborator

So I’m just using the juce api to do this but perhaps I can figure out a patch to juce using the breadcrumbs you have given here!!

@baconpaul
Copy link
Collaborator

Oh and this is in the standalone or in a daw? Thanks!!

@tank-trax
Copy link
Author

Either/Or. It behaves the same as a VST or Standalone.

@tank-trax
Copy link
Author

tank-trax commented Feb 20, 2020

for the file locations looks to be in Source/PluginData.cpp around line 483
void DexedAudioProcessor::resolvAppDir()

haven't deciphered how or where to get the file association filtered :-)

also for the files it's easy enough to delete All Files and manually type in .scl which will filter by extension

@baconpaul
Copy link
Collaborator

FileChooser fc( "Please select an KBM File", File(), "*.kbm" );

So this is where the open happens. The problem is basically that it seems the linux JUCE API is ignoring the filter setting in the dialog. I’ll poke at that one day and see if there’s anything I’m missing in how I call it

@tank-trax
Copy link
Author

I noticed that section too and...

Please select a KBM File

Please select an SCL File

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants