Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

[Beta call system] Button to end call disappear when video is on

Open ruicruzpt opened this issue 9 years ago • 13 comments

Bug description

When video is on on the new beta call system, the red button to end the call does not appear. However if I click on it's place it will end the call. (sugestion: if video is on, put the button on the top screen)

Steps to reproduce

  • enable beta calls fom advanced menu
  • call any user who can did the same
  • enable video and see no red button

Device info

Device: Sansumg S6 Android version: 6.x

Link to debug log

https://gist.github.com/anonymous/66f22ef80d2cd8441c5aa9c855ddf9ea

ruicruzpt avatar Feb 15 '17 15:02 ruicruzpt

That is related to https://github.com/WhisperSystems/Signal-Android/commit/f3e47f7b608a6beb77b6732d676b47c56184248c and shouldn't be a bug. If you tap somewhere on the screen, the button and the info on top should appear again.

Shenkaa avatar Feb 15 '17 16:02 Shenkaa

The info on top is always visible. But the button is not. Even if I tap on the top bar with the name of the person I'm calling.

Is this a diferent behavior that what you've posted, I assume?

ruicruzpt avatar Feb 15 '17 16:02 ruicruzpt

During a call (without video) it should look like this: signal_call

And if the person on the other site of the call enables the video, the button + info disappears (minimizes) and it should look as follows: signal_video_call

To get the button + info back, you just tap on the screen (video). With another tap they minimizes again.

Edit

After some trying, I can reproduce the same/a similar bug. But it only appears on an older and weaker device. And now if I click at the place of the button, the call ends. Also the buttons for the speaker, mute and video are working. signal_call_bug

Edit 2

I've just called someone with an OnePlus One and the same bug occurred. It's probably not the hardware.

Shenkaa avatar Feb 15 '17 18:02 Shenkaa

Thanks @Shenkaa can you include anything more about how you're able to reproduce this?

moxie0 avatar Feb 16 '17 07:02 moxie0

Hi,

@Shenkaa thanks! I was feeling a bit alone here. :)

@moxie0 basicly I just made a call as I submit on my initial bug report. I tested this with two contsts and they bot have Android. I don't have any Signal-iOS persons who I do videos with. So I'm not sure if this is an Android only bug.

ruicruzpt avatar Feb 16 '17 08:02 ruicruzpt

I'll add a "me too!" here. Call controls disappear when other party turns on video and taping the screen pulls the top bar up but doesn't show the end call button at the bottom. To get the controls to properly show up, I have to go to another screen line home then reopen the call from the notification bar.

Also on a Samsung Marshmallow device.

tsdmgz avatar Feb 16 '17 15:02 tsdmgz

@moxie0 I've tried it on four devices (Samsung Galaxy Ace 2, Wileyfox Swift, OnePlus One & OnePlus 3) now and can reproduce it on three of them. I noticed that the only device, on which the bug does not appear, has software buttons.

After that I activated the software buttons on the two OnePlus devices. And lo and behold.. the bug no longer occurs! Swiched back to hardware buttons and the bug is occuring again.. @ruicruzpt and @tsdmgz both have a Samsung device, so both with hardware buttons and this bug.

I also noticed, that when the call button minimizes, it disappears behind the software buttons. On devices with hardware buttons, there is a small gap between the bottom of the screen (slightly smaller than the height of the software buttons) behind which the button disappears.

Shenkaa avatar Feb 16 '17 18:02 Shenkaa

@Shenkaa nice investigation! i'll see if i can find a phone with hardware buttons

moxie0 avatar Feb 16 '17 19:02 moxie0

@Shenkaa I just made a call on a OnePlus One, enabled video, and when I tap on the screen the end call button animates up and down without incident. Is there a step I'm missing? (I do notice the small gap between the bottom of the screen and the height of the would-be software buttons that it disappears behind, though.)

moxie0 avatar Feb 16 '17 20:02 moxie0

@moxie0 If you call the OnePlus One, activate the video firstly on the other device. After that activate the video (tap the minimized camera button) on the OnePlus and tap on the screen to maximaze the info + button. The bug should occure now.

Edit: If not, activate/deactivate the camera in the minimized form on the OnePlus and tap after that on the screen again.

Shenkaa avatar Feb 16 '17 20:02 Shenkaa

Thanks @Shenkaa , definitely an Android bug. That should work around it

moxie0 avatar Feb 16 '17 21:02 moxie0

Jep, I tested it on my 4.4.4 test device and the error did not occur (just a little unsmoothed animation)! Thanks!

Shenkaa avatar Feb 16 '17 21:02 Shenkaa

@Shenkaa yeah it's gonna be glitchy on affected devices, thanks for confirming!

moxie0 avatar Feb 16 '17 23:02 moxie0