Summary: | 'Audio Call' button opens call-ui although the call-ui-window is already open | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Lukas Schneiderbauer <lukas.schneiderbauer> |
Component: | call-ui | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | heri+kde, kde, mayank25080562 |
Priority: | NOR | ||
Version: | 0.5.0 | ||
Target Milestone: | Future | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/telepathy-call-ui/70c319c79aee4c4829587cfa7a53a3e1518378f6 | Version Fixed In: | 0.8.1 |
Sentry Crash Report: |
Description
Lukas Schneiderbauer
2012-10-28 13:59:27 UTC
Confirmed bug in Call-UI. It is always up to a handler when told to handleChanenls to check if it is already handling the channel. Current code does not. Does this persist in 0.6.0? Yes. This also happens with the "Video Call" button. Can this be solved, by disabling the button soon the button is clicked, and then re-enabling it once the call-ui is closed ? >Can this be solved, by disabling the button soon the button is clicked, a What would happen then if you opened a video call from the contact list, and then opened a text chat? >and then re-enabling it once the call-ui is closed ? how will you know when this happens? We could make use of chat logger, logging in a message once you start a video call, and logging again when you hangup, thus knowing when to disable and when to re-enable again ? No that's a massive hack. The simplest approach is for the call-ui to see if it's already handling a call when it's told to handle the second one. It's all in the same process. See #1 Yeah right! I was inspired to do this, as in gmail chat, you get to see when you started a call, and when it ended. But to check whether it is handling a call, one would be needing a global parameter to check for, right ? Git commit b4626ae5b866464d9abfa2762b979224dbb4b589 by Martin Klapetek, on behalf of mayank jha. Committed on 18/03/2014 at 15:22. Pushed by mklapetek into branch 'kde-telepathy-0.8'. Removes duplication of call-ui window for a single channel REVIEW: 116623 FIXED-IN: 0.8.1 M +5 -3 src/call-handler.cpp M +2 -0 src/call-handler.h http://commits.kde.org/telepathy-call-ui/b4626ae5b866464d9abfa2762b979224dbb4b589 Git commit 70c319c79aee4c4829587cfa7a53a3e1518378f6 by David Edmundson, on behalf of Vadim A. Misbakh-Soloviov. Committed on 15/05/2014 at 15:10. Pushed by davidedmundson into branch 'kde-telepathy-0.8'. Properly removes duplication of call-ui window for a single channel. Fixes issue, made by b4626ae5b866464d9abfa2762b979224dbb4b589, where call-ui dont make call at all, due to the typo in condition. REVIEW: 118151 M +1 -1 src/call-handler.cpp http://commits.kde.org/telepathy-call-ui/70c319c79aee4c4829587cfa7a53a3e1518378f6 |