Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744814 - net-im/zoom - code snippets not working in chat
Summary: net-im/zoom - code snippets not working in chat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-26 14:16 UTC by Chris
Modified: 2020-09-28 19:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2020-09-26 14:16:11 UTC
The code snippet feature in chat does not seem to work with the Gentoo zoom package. I suspect this is related to a bundled library (as it does work with the official zoom package), but am unable to determine what library or dependency may be missing. ldd and scanelf listings all appear present on my system.

The behavior is as follows:
 - cannot see code snippets sent by other users in chat
 - cannot submit a code snippet (the code snippet window pops up and text can be entered, but the 'Create snippet' button does nothing)

When launching zoom from CLI, the Gentoo package throws many errors not seen when launching the Zoom official package. For example:

qrc:/qml/MeetingInfoNormal.qml:60:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }

qrc:/qml/IMMessageDelegate.qml:10: TypeError: Cannot read property 'width' of null

qrc:/qml/RecentChatList.qml:42: TypeError: Cannot read property 'width' of null

Thanks.
Comment 1 Larry the Git Cow gentoo-dev 2020-09-27 18:29:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e7b4de3599d6ca395f049e320dc165d8e311f09

commit 3e7b4de3599d6ca395f049e320dc165d8e311f09
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-09-27 18:28:13 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-09-27 18:28:51 +0000

    net-im/zoom: Depend on dev-libs/quazip.
    
    Bug: https://bugs.gentoo.org/744814
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 .../{zoom-5.3.465578.0920.ebuild => zoom-5.3.465578.0920-r1.ebuild}     | 2 ++
 1 file changed, 2 insertions(+)
Comment 2 Ulrich Müller gentoo-dev 2020-09-27 18:31:14 UTC
I believe that I can reproduce the problem (after I found out how to enable that code snippet button in settings).

Please test zoom-5.3.465578.0920-r1 which adds a dependency on net-libs/quazip.
Comment 3 Ulrich Müller gentoo-dev 2020-09-27 21:00:14 UTC
(In reply to Ulrich Müller from comment #2)
> Please test zoom-5.3.465578.0920-r1 which adds a dependency on
> net-libs/quazip.

This should read dev-libs/quazip.
Comment 4 Chris 2020-09-28 12:19:21 UTC
Unfortunately this does not seem to address the issues I described.
Comment 5 Ulrich Müller gentoo-dev 2020-09-28 15:38:58 UTC
Not much more that I can do here. No source code that we could look into. :(
Comment 6 Ulrich Müller gentoo-dev 2020-09-28 15:59:51 UTC
This is what I get when debugging with strace:

With net-im/zoom-5.3.465578.0920 I see the following in strace output, after clicking the "Create snippet" button in the "Create Code Snippet" window:

openat(AT_FDCWD, "./haswell/liblibquazip.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "./haswell/liblibquazip", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "./haswell/libquazip.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "./haswell/libquazip", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "./libquazip.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "./libquazip", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

So it fails to open libquazip.so. Note that the above sequence of openat calls only appears as soon as I press the snippet button.

With net-im/zoom-5.3.465578.0920-r1, I get this:

openat(AT_FDCWD, "./haswell/liblibquazip.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (N
o such file or directory)
openat(AT_FDCWD, "./haswell/liblibquazip", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No s
uch file or directory)
openat(AT_FDCWD, "./haswell/libquazip.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No s
uch file or directory)
openat(AT_FDCWD, "./haswell/libquazip", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
 file or directory)
openat(AT_FDCWD, "./libquazip.so", O_RDONLY|O_CLOEXEC) = 83

So for -r1 it succeeds opening the lib, and creates the code snippet for me.

(In reply to Chris from comment #4)
> Unfortunately this does not seem to address the issues I described.

I don't doubt this, but I don't know why it is different on your system.
Comment 7 Chris 2020-09-28 17:05:10 UTC
I'll see if I can run with strace to gather more info. I get the code snippet pop-up, but cannot submit the content. Can you confirm that you actually can send the code snippet?

Thanks.
Comment 8 Chris 2020-09-28 19:03:16 UTC
I just re-ran Zoom with strace and could not reproduce the issue. Ran without strace, and still cannot reproduce the issue. I am unsure what changed between my earlier test and now as I had restarted Zoom after updating. I think it's safe to call this closed. Thanks for the assist.