Displaying long track names

Effects, Recipes, Interfacing with other software, etc.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
pshute
Posts: 181
Joined: Sat Feb 18, 2012 9:39 am
Operating System: Please select

Displaying long track names

Post by pshute » Fri Nov 23, 2012 8:57 pm

Long track names displayed in the Track Control Panel are cut off after about 10 characters. The only way to see the full name is to click on the Track Drop-Down Menu and on Name to rename it.

Ideas to let one see the whole name:
- Allow the control Panel to be widened
- Display the name on two lines
- Display the start and the end of long names, e.g. "Very long track name" is displayed as "Very...name"
- Display the full name as a tooltip when you hover over it
- Display the name of the selected track in the status bar, near the "actual rate"

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Displaying long track names

Post by steve » Fri Nov 23, 2012 10:06 pm

There is a new setting in Preferences that you might like to try:
Edit menu > Preferences > Interface > Show track name in waveform display
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

pshute
Posts: 181
Joined: Sat Feb 18, 2012 9:39 am
Operating System: Please select

Re: Displaying long track names

Post by pshute » Fri Nov 23, 2012 11:03 pm

steve wrote:There is a new setting in Preferences that you might like to try:
Edit menu > Preferences > Interface > Show track name in waveform display
Nice! I didn't think of putting it there.

pshute
Posts: 181
Joined: Sat Feb 18, 2012 9:39 am
Operating System: Please select

Re: Displaying long track names

Post by pshute » Sat Dec 01, 2012 10:14 pm

steve wrote:There is a new setting in Preferences that you might like to try:
Edit menu > Preferences > Interface > Show track name in waveform display
How come sometimes the name is shown in black, and sometimes in yellow? It looks like it changes when you're scrolling down, just as a name starts to go off the top of the screen. It and the one in the next track turn yellow, but not the one after that.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Displaying long track names

Post by steve » Sun Dec 02, 2012 9:34 pm

pshute wrote:How come sometimes the name is shown in black, and sometimes in yellow?
Do you have any label tracks?
I get names in black after a label track (which I think is a bug) but not otherwise.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

pshute
Posts: 181
Joined: Sat Feb 18, 2012 9:39 am
Operating System: Please select

Re: Displaying long track names

Post by pshute » Sun Dec 02, 2012 9:58 pm

steve wrote:
pshute wrote:How come sometimes the name is shown in black, and sometimes in yellow?
Do you have any label tracks?
I get names in black after a label track (which I think is a bug) but not otherwise.
Yes, I've got lots of them. So the colour is meant to be black for label tracks and yellow for audio tracks?

The yellow is quite readable, sometimes more so when there's a spectrogram displayed. It might be handy at times to be able to toggle the colour.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Displaying long track names

Post by steve » Sun Dec 02, 2012 10:03 pm

pshute wrote: It might be handy at times to be able to toggle the colour.
That would be a feature request. Please feel free to post it here: http://forum.audacityteam.org/viewforum.php?f=20
Interestingly the original version of "display names in audio track" did allow the colour to be set by the user, but I think there were problems implementing this reliably on all platforms.
pshute wrote:So the colour is meant to be black for label tracks and yellow for audio tracks?
The names are supposed to be yellow in audio tracks.
Names in tracks is only for audio tracks as far as I'm aware.
Are you getting names in label tracks?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

pshute
Posts: 181
Joined: Sat Feb 18, 2012 9:39 am
Operating System: Please select

Re: Displaying long track names

Post by pshute » Sun Dec 02, 2012 10:12 pm

steve wrote:
pshute wrote:So the colour is meant to be black for label tracks and yellow for audio tracks?
The names are supposed to be yellow in audio tracks.
Names in tracks is only for audio tracks as far as I'm aware.
Are you getting names in label tracks?
No, I'm not - sorry, I thought I remembered that it did. (Why don't they?)

I see what you mean by them being black after a label track. However, if you have another label track further down below some more audio tracks, the name colour of the audio tracks in between the label tracks changes as you scroll up and down.

It's a great feature, by the way. It's much easier to identify my tracks now.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Displaying long track names

Post by steve » Tue Dec 04, 2012 3:55 am

pshute wrote:However, if you have another label track further down below some more audio tracks, the name colour of the audio tracks in between the label tracks changes as you scroll up and down.
Yes I see that too.
There is obviously a bug here. I've asked Edgar (who wrote the original version of this feature) if he has any idea what the problem is. I'll see if he can shed some light on it before I submit a bug report.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Displaying long track names

Post by Edgar » Tue Dec 04, 2012 5:41 am

steve wrote: There is obviously a bug here. I've asked Edgar (who wrote the original version of this feature) if he has any idea what the problem is. I'll see if he can shed some light on it before I submit a bug report.
Unfortunately, I did not really have anything to do with developing this feature. After one of the Developers implemented a very bare-bones version I offered some thoughts on making the feature more user-friendly. None of my code was used but I might have been instrumental in getting the color changed to yellow.

I just tried out SVN HEAD and I see the bug. In my customized version that I run I do not have the bug. The code that I use to draw in the track names is significantly different from the production code. I have extended the concept of drawing the track name in for all of the other appropriate track types (MIDI, spectrogram, others? – but not time tracks and label tracks). Because of this the text drawing code was moved to where it belongs, not where it currently is. The place where the text drawing code currently resides (as I recall) only gets colorized when the track is opened and subsequent refreshes don't get colorized – this was the bug that I pointed out (and showed how to fix) many months ago.

This is a trivial bug fix and any of the Developers could fix it in a couple of minutes.

Post Reply