GNOME Bugzilla – Bug 417145
Long note titles make tray menu too wide
Last modified: 2009-10-04 00:48:03 UTC
Please describe the problem: Very long titles make the tray menu too wide to fit screen. The right most part is not shown. Nobody will probably make so long titles on desktop computers that this will show but it might be an issue with portable devices. Steps to reproduce: 1. Make a new note 2. Add a very long note title to it 3. Open tray menu Actual results: Menu becomes too wide and doesn't show the whole title and pins. Expected results: Long titles could be truncated on the tray to make the menu to fit screen Does this happen every time? Other information:
I guess we need to truncate long titles in the menu.
I just noticed this while playing with the new tasks addin. I never did long notes names but I created a long task name and saw the same thing happen. I think the tomboy tray popup should have a max width; 300px should be enough, else it looks very "empty" if you have one long title and the rest is normal sized.
Anyone want to patch this? :-)
It's fixed in svn r1872 with a hardcoded max length of 40 characters. We may get a bug report that this number is too high or too low or should be based on screen resolution... on the other hand, we may not, so let's just see how it goes!
Note that r1875 removed the gconf key added in 1872... apparently they don't like you committing string changes during String Freeze (go figure), and that's what happens when you add a new gconf key. There's a misnomer in my previous comment, that is, the 40 character limit was not "hardcoded", but was the default value of the gconf key. What is currently in subversion gets rid of the string changes and hardcodes the value into Tray.cs.
Marking this for 0.11.x so we get the gconf stuff put back in.
Setting the default assignee and QA Contact to "tomboy-maint@gnome.bugs".
Just FYI, I bumped the truncation length to 100 from 40 in change #1991. Still not sure if this is long enough, but 100 characters seems enough to identify individual notes, whereas 45 was not for me... things like recurring meeting notes where the date was appended to the title could not be disambiguated. We may want to bump this to 150 or 200 by default.
What's the status here? Why is this not "fixed"? What's missing?
(In reply to comment #9) > What's the status here? Why is this not "fixed"? What's missing? > Might want to double-check that this is configurable by a key that's in the GConf Schema
Yup, just waiting on a gconf schema pref.
Fixed.