View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001389||OpenMPT||User Interface||public||2020-11-20 06:22||2023-04-28 17:38|
|Reporter||Alex TEHb||Assigned To|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Summary||0001389: "Properties" instruments in the console menu of the tree view file browser.|
It would be desirable in the console menu of the conductor of OMPT (the left part below) to have the Properties button.
When at instruments similar names, it is not really convenient to open the third-party browser and to watch that Flute 1 has size 45Kb, and Flute 2 - 3.4Mb.
I understand that for each format it is necessary to do the media-info... Therefore, I do not insist...
|Tags||No tags attached.|
|Has the bug occurred in previous versions?|
|Tested code revision (in case you know it)|
It might even be possible to show trivial information such as filesize in a tooltip, without having to open the right-click menu. Anything else should probably not be done automatically though, as it can be potentially a very slow operation to first fully load the instrument and then show its sample properties.
Initially, I wanted the size to be shown near the file in a column. But it takes the place on the screen, and it and so is not enough. Now I understand that also time for a miscalculation of all tools will be spent...
As a first step, OpenMPT 1.31 will show the file size (and modification date) in the status bar when selecting a file in the sample browser.
There won't be any preview of file properties such as bit depth and length for now, as the only way for OpenMPT to retrieve this information is to fully decode the file, which can take a long time with long samples. This would either have to be done in a background thread (so showing the information might take a while), or only by clicking on a button to reveal that information (but then you could just quickly load the samples into the module with Ctrl+Enter to get the same results).
I think in our dialogs we should decide on the type of file.
Maybe there could be an option to have MPT precache the info, say, at opening the Samples/Instruments folder, and saved to a txt file, in the same way the plugins are ready at each session, with the availability of rescanning. This would allow the user to choose to wait.
If the cache file differs from others (expansion or the name), and will accelerate loading, then it will be plus! And OMPT will use it, and the person will be able to find the necessary information in one file list.
Eventually, some cache might be put in place but this is not a simple task (and would still have to run in a background thread), hence don't expect it anytime soon.
|2020-11-20 06:22||Alex TEHb||New Issue|
|2020-11-20 18:47||Saga Musix||Summary||"Properties" instruments in the console menu of the conductor. => "Properties" instruments in the console menu of the tree view file browser.|
|2020-11-20 18:58||Saga Musix||Note Added: 0004514|
|2020-11-21 02:36||Alex TEHb||Note Added: 0004515|
|2023-03-22 21:56||Saga Musix||Note Added: 0005635|
|2023-03-22 23:50||Alex TEHb||Note Added: 0005636|
|2023-04-27 17:14||Saga Musix||Relationship added||has duplicate 0001301|
|2023-04-28 06:13||harbinger||Note Added: 0005699|
|2023-04-28 08:45||Alex TEHb||Note Added: 0005700|
|2023-04-28 17:38||Saga Musix||Note Added: 0005702|