zynthian / zynthian-issue-tracking

Centralized Issue Tracking for Zynthian Project
https://github.com/orgs/zynthian/projects/1
11 stars 3 forks source link

Scrolling for long titles during selection #991

Open STGitUser opened 4 years ago

STGitUser commented 4 years ago

In certain cases the UI can be ambiguous because of long file names.

For instance, using LinuxSampler to select SFZ’s. If SFZ/Other is chosen, there are a list of titles that look identical “sonatina/Sonatina Symphonic Orc”. The unique part of each SFZ name is off-screen on a Zynthian V3.

Automatically scrolling long titles like this would be a nice feature. This is already implemented in the actual instrument UI but not in the selection screen.

Also, is there a setting to change the scroll rate? If not this would be useful as well to speed up selection instead of waiting for the current rather slow scroll rate.

jofemodo commented 4 years ago

This can't be implemented easily with the current tkinter listbox widget. We should rename these soundfont files ...

sehrgut commented 4 years ago

Does the widget allow a listbox to have items of varying height? An alternative solution could be wrapping long names to multiple lines.

jofemodo commented 4 years ago

No, item height is fixed. Anyway, i don't like having multi-line items. As the problem is really marginal and affecting only a tiny % of the total preset library, i would concentrate on shorting the names when they are too long.

Having a list of these looong-name presets would help to implement a good shorting strategy. I think most of them, if not all, are LinuxSampler SF2 Soundfonts.

Regards,