brummer10 / Mamba

Virtual Midi keyboard and Midi Live Looper for Jack Audio Connection Kit
BSD Zero Clause License
76 stars 5 forks source link

mamba browsing limit ? #16

Closed trebmuh closed 4 years ago

trebmuh commented 4 years ago

mamba-browser-limit

I don't know/understand why, but when I'm trying to load a SF, it looks like my /usr/share/ folder doesn't display things after the "./marco/ subfolder". Might that be a limitation because of the great number of /usr/share/ 's subfolders?

Edit: Mamba 1.4

This is the same with LANG=C mamba:

mamba-browsing-limit-en

brummer10 commented 4 years ago

Hi @trebmuh There is no limit set for entry's in the file browser, it's just a list displayed. I've 435 folders in share, all displayed well. How many been yours? What is the name of the folder after /usr/share/macro (in alphabetic order). I see (on the slider position) that they are in the list, but didn't displayed somehow.

trebmuh commented 4 years ago

Hi @brummer10 Answering your questions:

Houston4444 commented 4 years ago

same here, entries are not displayed after /usr/share/midi. I have 520 folders in /usr/share/ /usr/share/midi is my 285th folder

brummer10 commented 4 years ago

I'm a bit puzzled, I've for example in /usr/share/man/man8 1020 entry's, which are all shown correctly. I noticed now that, if folders contain more then 2000 entry's cairo can't hold a surface great enough to hold all entry's and the app quit (I've a assert controlling the surface creation which will trough then). But that have nothing to do with the issue you describe here. Is it possible you send me a list of your /usr/share/ so I could experiment with it to find the culprit. ` ls -d /usr/share/ > listOfFiles.txt`

trebmuh commented 4 years ago

Here we go. listOfFiles.txt

Edit : LZK-3 MATE

Houston4444 commented 4 years ago

Here we go too. Same distribution as @trebmuh , different DE. (Librazik3 based on Debian Buster, KDE Plasma).

listOfFiles.txt

brummer10 commented 4 years ago

Hi @trebmuh, @Houston4444 Thanks for reporting the issue and send the listOfFiles. I think I found the culprit and could fix it so far. Let me know if it works for you as well.

trebmuh commented 4 years ago

Nice one @brummer10 , it works! Closing here then.

PS: I made a 1.4 hot-fix version package for LZK-3 users.

Popolon commented 4 years ago

I confirm the issue on Archlinux with XFCE too. I made a symlink from the ~/ directory to access /usr/share/soundfonts/ directory until next release with fix.

brummer10 commented 4 years ago

You could use the mamba-git package for now, https://aur.archlinux.org/packages/mamba-git/ it should include the fix (given that it pull the last git version)

Popolon commented 4 years ago

The package was updated, and it works fine. Strangly he can't see symlinks, I believe I used it ??? At least it works perfectly. FreePats soundfonts are really good with mamba :).

brummer10 commented 4 years ago

@Popolon Good catch. I've indeed mixed that up. Thanks for your feedback, I've fixed that now and symlinks will work again after updated the package.