Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix journal palettes when missing contact connection #570

Merged

Conversation

tchx84
Copy link
Member

@tchx84 tchx84 commented Aug 25, 2015

When the journal palettes are being created, it checks whether
or not there are friends to be added to the send-to menu. This
check is being done via the file_transfer_available helper.

The helper uses the telepathy connection watcher and, under some
circunstances that I haven't been able to reproduce, the connections
in the watcher cannot be reached via the DBus interface.

When this happens, an unhandled DBusException is thrown, breaking
the palette. In other words, the journal palettes are not being
displayed anymore until the shell session is restarted.

This issue was noticed running on Ubuntu 14.04. Created a ticket to
track the source of this issue in SL#4887.

This patch improves the robustness of this helper, but it logs the error
so we don't loose track of this issue.

Signed-off-by: Martin Abente Lahaye tch@sugarlabs.org

When the journal palettes are being created, it checks whether
or not there are friends to be added to the send-to menu. This
check is being done via the file_transfer_available helper.

The helper uses the telepathy connection watcher and, under some
circunstances that I haven't been able to reproduce, the connections
in the watcher cannot be reached via the DBus interface.

When this happens, an unhandled DBusException is thrown, breaking
the palette. In other words, the journal palettes are not being
displayed anymore until the shell session is restarted.

This issue was noticed running on Ubuntu 14.04. Created a ticket to
track the source of this issue in SL#4887.

This patch improves the robustness of this helper, but it logs the error
so we don't loose track of this issue.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
@godiard godiard merged commit 9eaae3d into sugarlabs:master Aug 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants