Bug 48196 - No information on why tubes close
Summary: No information on why tubes close
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 07:32 UTC by Will Thompson
Modified: 2019-12-03 20:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Will Thompson 2012-04-02 07:32:57 UTC
Currently, if you have a tube you don't want, the only way to get rid of it is to Close() it. Equally, if a tube closes up for some reason, the only way the CM can report it is by emitting Closed. There's no API for explicitly rejecting an offered tube, or for propagating errors.

From test_offer_invalidated_before_open in tests/dbus/dbus-tube.c in tp-glib:

  /* FIXME: this isn't a particularly good error… it's just what comes out when
   * the channel gets closed from under us, and there isn't really API on
   * DBusTube to give a better error.
   */
  g_assert_error (test->error, TP_DBUS_ERRORS, TP_DBUS_ERROR_OBJECT_REMOVED);
Comment 1 GitLab Migration User 2019-12-03 20:26:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-spec/issues/135.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.