Score:3

Unable to "quit" the latest version of Viber

cn flag

I installed the latest version (18.2.0.2) of Viber from the .deb package provided at https://www.viber.com/en/download/

After installing the new version, I noticed that there is no way to terminate the Viber application using GUI: The "Quit" option for the application menu does nothing. As in the previous versions, closing the main window does not terminate the application (it continues to run on the background); however, contrary to previous versions, using the right-click (system) menu of the application and selecting Quit does not terminate the application.

When I ran it from command line and then tried to "quit" the application, I see this message on the terminal window:

qt.qml.context: qrc:/Resources/QML/MainWindow.qml:68:5 Parameter "close" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.

To terminate Viber I have to kill it using -1.

Is there a practical way to fix this, so that Viber users do not have to resort to command line to stop (and restart) Viber whenever they need?

in flag
I do not use the application, but does the [Alt]+[F4] keyboard shortcut work? That should close the application
FedKad avatar
cn flag
No. The window is closed, but the application continues running on the background. (I updated my question).
Score:6
ga flag

That's a known bug*. Something changed in Viber tray icon handling. Right click menu could be broken on KDE Plasma as well.

You can workaround it with such steps:

  1. Install dbus-x11 package (which contains CLI utility dbus-launch)

    sudo apt install dbus-x11

  2. Kill viber instances

    pkill -f -9 viber

  3. Try to launch it on a terminal with dbus-launch

    dbus-launch /opt/viber/Viber

  4. Check if right click works. It's not perfect but works from few tries

  5. Modify Viber launcher

    a) On the original Ubuntu (with GNOME) you can install menulibre package for that

    b) You can do it manually on a terminal

    sudo nano /usr/share/applications/viber.desktop

*https://github.com/flathub/com.viber.Viber/issues/4#issuecomment-1280456307

FedKad avatar
cn flag
Thanks. I tested and it acts as you described. So, that's an improvement for me!
Angelos Pikoulas avatar
hr flag
Thanks, it worked like a charm!
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.