It's not possible expand and register "Dictionary service, type: service/text".

Bug #163144 reported by finder_o
2
Affects Status Importance Assigned to Milestone
Coccinella
Fix Released
Low
Mats

Bug Description

It's not possible expanf service of type service/text with name "Dictionary service" on server jabbim.sk and register it. This service provides vocabulary for translation between languages.
I use Coccinella v 0.96.3 cvs.

Revision history for this message
Mats (matsben) wrote :

The disco protocol has a flaw that it doesn't identify items as being "file" or "directory" which is natural for tree structures. I have therefore an ad hoc scheme where I list branch categories, serice/* now added.

But that doesn't help since I don't get 'disco info' generally for the childrens of each item. The reason can be simple to understand if you consider a conference service with thousands of room. Instead I have an ad hoc scheme:

    # If number children smaller than this do disco#info.
    variable discoInfoLimit 12

which is clearly not an optimal solution. Not sure what the best fix would be.
Side note: disco info is needed to figure out if registration is possible.
One way would be to expand an items info result into the disco tree. The drawback is that it would mix items with features which can be very confusing. Doing disco info before popping up the menu can be very slow and can annoy the user. I need to think about it.

Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Mats (matsben) wrote :

Another way could be to add a menu entry "Investigate..." which displays a new dialog with all its features listed and with some action buttons "Register", "Search", "Enter Room", "Create Room", etc. This approach would allow a separation of the items of the disco tree from an items features and corresponding actions. Not sure how good it is.

Revision history for this message
Mats (matsben) wrote :

There was a simpler way. I just make sure that an item in the disco tree is sent a disco info in case not done so before each time it is selected. So just click on it, wait a few secs, and then right click it to get the popup menu, and pick Register. Just tested and it works. Note that service/text is not officially registered with http://www.xmpp.org/registrar/disco-categories.html. Added an icon for it nevertheless.

Changed in coccinella:
status: Confirmed → Fix Committed
sander (s-devrieze)
Changed in coccinella:
milestone: none → 0.96.4
sander (s-devrieze)
Changed in coccinella:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.