[Bug 273991] Mark message as ... submenu grows way too big when user has defined many tags

Sven Wehner sven at atelophobia.de
Fri Sep 23 00:53:32 BST 2011


https://bugs.kde.org/show_bug.cgi?id=273991





--- Comment #4 from Sven Wehner <sven atelophobia de>  2011-09-22 23:53:31 ---
Created an attachment (id=63873)
 --> (http://bugs.kde.org/attachment.cgi?id=63873)
First attempt to split the tags menu into multiple pages

This second patch (it needs the first one, because of the compareName() method)
does two things:
1. It adds a small set of the most prioritized tags (atm: 7).
2. It adds the alphabetically sorted tags in sets of 20 tags to a menu, then
adds a submenu "More Tags" which also includes 20 tags and another submenu...

Note to 1.: This is currently completely useless! Since there seems to be no
tags with a priority property set. And therefore, the "Top Tags" are the first
in the alphabet... :(

Note to 2.: This is rather a dirty hack. Now there are a lot of submenus, which
makes it quite painful to find a specific tag.
Maybe a search field could help...


Disclaimer: Please note, that this patch is a mere attempt to help some real
developer to actually better the situation. Please do not even consider to
apply this patch! I didn't even took the time to check if I need to clean up
the memory...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list