Bug 332103 - Enhancement: Improve interface to sort contacts by tags
Summary: Enhancement: Improve interface to sort contacts by tags
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 275985 330335 333925 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-13 17:06 UTC by Gerion
Modified: 2015-11-24 11:53 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerion 2014-03-13 17:06:23 UTC
In owncloud contacts can only be sorted by tags. I would love it to see this feature in kaddressbook, too because of sorting by tags is much more flexible than sorting with static folders.
Currently kaddressbook supports tags so only the interface has to be changed.

Reproducible: Always
Comment 1 Jonathan Marten 2014-04-26 18:49:46 UTC
*** Bug 333925 has been marked as a duplicate of this bug. ***
Comment 2 Jonathan Marten 2014-04-28 10:42:26 UTC
Category filter GUI: https://git.reviewboard.kde.org/r/117834/
Comment 3 Gerion 2014-04-28 19:44:29 UTC
Thank you for your work! It is exactly the feature I thought about.

To the answer of Laurent Montel:
I don't know qt really, but imho a qcombobox let you choose only one categorie/tag. A list like the patch implements let you choose more tags the same time, e.g. family and near friends to send a groupmail to them etc...
Comment 4 Laurent Montel 2014-04-29 06:30:47 UTC
(In reply to comment #3)
> Thank you for your work! It is exactly the feature I thought about.
> 
> To the answer of Laurent Montel:
> I don't know qt really, but imho a qcombobox let you choose only one
> categorie/tag. A list like the patch implements let you choose more tags the
> same time, e.g. family and near friends to send a groupmail to them etc...

As you told you don't know qt really :)
we can have a qcombobox where we can select multi element see KPIm::kcheckcombobox
So we can do it with combobox.
Comment 5 Philippe ROUBACH 2014-04-29 07:20:32 UTC
why you don't use the existing tool in kmail for kaddressbook ?

why differenty gui for 2 apps of kontact ?

i would prefer in kontact this : same function => same gui

in the future i imagine this same tool for akgregator and knotes etc.

and more : why you don't unify  a search tool for all kde app using baloo ?
Comment 6 Jonathan Marten 2014-04-29 08:08:34 UTC
I'll investigate the combo box option.  Not sure whether the same quicksearch as in kmail (comment #5) is appropriate, as what the address book really needs is a filter rather than a search.  Please add any further comments to the reviewboard page so that all the discussion can be kept together there.
Comment 7 Jonathan Marten 2014-05-02 20:19:38 UTC
Git commit 0a92fb453bad60345291d4e585d6266a41c84dae by Jonathan Marten.
Committed on 02/05/2014 at 20:14.
Pushed by marten into branch 'master'.

KAddressBook: Add a category filter

This is a widget which by default appears to the right of the
quick search bar.  Checking or unchecking categories in this list
filters the entries that are shown.
REVIEW:117834
FIXED-IN:4.14
GUI:

M  +2    -0    kaddressbook/CMakeLists.txt
A  +150  -0    kaddressbook/categoryfilterproxymodel.cpp     [License: LGPL (v2+)]
A  +86   -0    kaddressbook/categoryfilterproxymodel.h     [License: LGPL (v2+)]
A  +316  -0    kaddressbook/categoryselectwidget.cpp     [License: LGPL (v2+)]
A  +87   -0    kaddressbook/categoryselectwidget.h     [License: LGPL (v2+)]
M  +2    -1    kaddressbook/kaddressbookui.rc
M  +24   -4    kaddressbook/mainwidget.cpp
M  +5    -0    kaddressbook/mainwidget.h
M  +2    -1    kaddressbook/settings/kaddressbook.kcfg

http://commits.kde.org/kdepim/0a92fb453bad60345291d4e585d6266a41c84dae
Comment 8 Jonathan Marten 2015-11-24 11:51:05 UTC
*** Bug 330335 has been marked as a duplicate of this bug. ***
Comment 9 Jonathan Marten 2015-11-24 11:53:58 UTC
*** Bug 275985 has been marked as a duplicate of this bug. ***