View Single Post
Old 03-14-2011, 11:01 AM   #104
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Hello,

Quote:
Originally Posted by Mackx View Post
The problem is that the tags are normally not extracted from the database into memory. Therefore it is not that easy to determine the tags that are 'present' in the current set of documents.
Sorry, can't understand.
As I understand, tags are extracted before selecting which documents will be shown, not the other way.


Quote:
Originally Posted by Mackx View Post
So I experimented with another 'interface' for selecting extra tags using a dialog.
[...]
Please give me your feedback.
What about a list of ("operation", "tag") dropboxes inside a scrolled vbox:

Code:
+-----------------------------+
|                             |
| Label here                  |
|                             |
|   |     v|    |tag1    v|   |
|   |and  v|    |tag2    v|   |
|   |or   v|    |tag3    v|   |
|   |not  v|    |tag4    v|   |
|        |ADD ROW|            |
|                             |
| Result:                     |
|  tag1 & tag2 or tag3 !tag4  |
|                             |
+-----------------------------+

Problems with this design:
- disambiguation "(tag1 & tag2) | tag3" or "tag1 & (tag2 | tag3)"?
- list (and dialog) could grow too much => use a scrolledwindow for the verticalbox


Iņigo
Iņigo is offline   Reply With Quote