BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
403 stars 207 forks source link

Focus issue on Linux (KDE) #551

Open xstable opened 2 years ago

xstable commented 2 years ago

To Reproduce

Linphone is open. I got an incoming call. I pick up the call and see a second window:

image

I can open other Windows (other applications) which put linphone in the background (behind those opend windows). If I close the above windows, I can see the two linphone windows again. All fine till here. BUT, if I other windows above the linphone windows, and I click ot the icon in the Tray image

Only the main-window of linphone come back to focus. The window with the current call stay's invisible.

Expected behavior

Window of current call should be connected with the main-window of linphone, so that if linphone-main-window get back the focus, the current call window also should come back to the foreground.

In my opinion it would be a much nicer and smoother usability to not have an additional window, but put those current call-sections into the main-window. Maybe with a tapped pane to be able to manage multiple calls.

Desktop (please complete the following information):

mbrouillet commented 1 year ago

I totally agree on this. Finding back the current call window once a (long) call is ended, and confirming it is hung up (before saying anything unrelated to someone else) calls for a UX improvement. Suggestions :

Thank you for this great version of Linphone. I've been searching for a good VOIP SIP linux client for more than 10 years and this is it.

mbrouillet commented 1 year ago

Here is my workaround : 

  1. Put this in a local file ~/local/bin/bringuplinphone.sh
    #!/bin/bash
    /usr/bin/wmctrl -a Appels || /usr/bin/wmctrl -a Linphone || /usr/bin/linphone
  2. Run chmod +x ~/local/bin/bringuplinphone.sh
  3. Assign it to a key.

In the above, Appels is the title of the window during a phone conversation, in French. In your language it may be different. Adapt to your needs.

You may need to install wmctrl : sudo apt install wmctrl