https://bugs.winehq.org/show_bug.cgi?id=46055
Bug ID: 46055 Summary: FL Studio 20: Built-in file browser incorrectly shows image files alongside plugins in plugin database Product: Wine Version: 3.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ajduck@outlook.com Distribution: ---
Created attachment 62640 --> https://bugs.winehq.org/attachment.cgi?id=62640 What it should look like (on Windows)
FL Studio has a built-in file browser on the left. It can be used to load plugins in a folder called "plugin database". The plugins can have images associated with them that show as thumbnails.
A basic description of how this works: when FL is installed or first used a folder called "plugin database" is created (the default location is ~/Documents/Image-Line/FL Studio/Presets/Plugin database/). In either "Effects" or "Generators", for each plugin there is a set of 3 files: .fst, .png and .nfo.
The .fst is a FL Studio state file and is the file that loads the plugin. The .png is the thumbnail for the plugin. The .nfo (which has the same name as the .fst) basically points to the image and probably all of them contain only "Bitmap=Plugin.png".
On Windows, the plugin database folder viewed from FL's file browser only lists the .fst files (with the pictures shown as a thumbnail for the .fst file) and hides the actual .png files that are referred to in the .nfo. See "What it should look like (on Windows)" image attached.
On Wine, the plugin database folder doesn't replicate this behaviour and lists the .png files alongside the .fst files. See "What it shouldn't look like (on Wine)" image.
Steps to reproduce:
1. Download FL Studio (link at bottom of this post) and install it. Skip ASIO4ALL installation if it comes up. 2. Open FL. It will load a project file on first startup. You can either just stay on that or go to File > New (if there's no text, press F12 -> F3 -> n, if a prompt comes up press n again). 3. On the left is the file browser sidebar. Click the button that has a plug icon (the last button of three) at the top of that sidebar. 4. Click on either the "Effects" or "Generators" folders, and then click on one of the subfolders. The .png files will be in the list, which doesn't happen on Windows.
Tested in a clean wineprefix.
OS: elementary OS 5.0 Juno (based on Ubuntu 18.04) Tested on Wine 3.19 but 3.18 also had this bug.
----------
Download link: http://demodownload.image-line.com/flstudio/flstudio_win_20.0.5.681.exe
$ sha1sum flstudio_win_20.0.5.681.exe 11901b66a65c526203dacbab7ec6a3c61edb1553 flstudio_win_20.0.5.681.exe