GNOME Bugzilla – Bug 630331
Empty category name gets cluttered
Last modified: 2010-10-07 11:53:28 UTC
1. Open categories.xml 2. Add a category with blank name: <category a="" searchable="1"/> 3. Open evolution, contacts, see how the category dropdown box contains a item named after random (actually the same every time) message HEADER, spanning over multiple lines and making the dropdown box huge.
Thanks for a bug report. I see a bug that one can add a category with an empty name. It's an obvious bug, because every category should have a name, thus I'll probably convert this bug report to this issue. Also because I do not understand what you mean by "making dropdown box huge". The width is used by the width of categories edit, and height depends on the count of categories. Could you explain more/add a screen shot what you mean, please?
(In reply to comment #1) > Also because I do not understand what you mean by "making dropdown box huge". > The width is used by the width of categories edit, and height depends on the > count of categories. Could you explain more/add a screen shot what you mean, > please? Sounds like the label where the category name should be is getting filled with random junk in memory. Along with not letting the user create them in the first place, the XML parser should check for and discard unnamed categories.
(In reply to comment #2) > Sounds like the label where the category name should be is getting filled with > random junk in memory. Along with not letting the user create them in the > first place, the XML parser should check for and discard unnamed categories. Thank you Matthew, this is true. These two checks should repair the issue. Thanks for making Evolution better. Irrelevant: For me this happened to be as wide as half the screen and contained multiple linebreaks, so the dropdown box happened to end up big. Not only the menu, which opens, but the button too.
I addressed this issue in bug #630361, thus I'm marking this one as a duplicate of the other. *** This bug has been marked as a duplicate of bug 630361 ***