savoirfairelinux issueshttps://git.jami.net/groups/savoirfairelinux/-/issues2021-08-23T19:15:07Zhttps://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/505Corrupted ~/.cache/Jami/qmlcache leads to application crashing (Qt)2021-08-23T19:15:07ZMaxim CournoyerCorrupted ~/.cache/Jami/qmlcache leads to application crashing (Qt)## Describe your environment
Please specify the following:
- OS: GNU/Linux
- Jami version: any recent jami-qt client
- What build you are using: Guix
## Steps to reproduce
Not sure how to trigger the cache corruption, it seems to com...## Describe your environment
Please specify the following:
- OS: GNU/Linux
- Jami version: any recent jami-qt client
- What build you are using: Guix
## Steps to reproduce
Not sure how to trigger the cache corruption, it seems to come from changes from the C++ code base and or Qt. When the condition occurs, it crashes consistenly.
- Can you reproduce the bug: at will
- Steps:
1. get the qmlcache into a corrupted state (repro unknown)
2. try launching jami-qt
- Actual result:
Qt crashes.
- Expected result:
No crash, Jami runs.
## Workaround:
`rm -rf ~/.cache/Jami/qmlcache`
We need to come up with safeguards against this serious problem. There are hints as to how to go about it at the end of https://bugreports.qt.io/browse/QTBUG-85967?jql=text%20~%20%22qmlcache%20crash%22:
> Qt does not analyze all your properties to see if anything you use in QML changed in C++. That would be quite difficult. Incrementing the import versions should indeed help as that would also force you to change the QML code in order to import the new version. This, in turn, triggers a cache invalidation via a checksum mismatch on the QML code.https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/504Build error glib.h not found2021-08-30T15:07:12ZFuchtelJockelBuild error glib.h not foundI'm trying to build jami-qt with flatpak but get the glib.h not found error. I added the following to the CMakeLists.txt:
```diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec83cb5..888ae6b 100644
--- a/CMakeLists.txt
+++ b/CMake...I'm trying to build jami-qt with flatpak but get the glib.h not found error. I added the following to the CMakeLists.txt:
```diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec83cb5..888ae6b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -242,6 +242,12 @@ else()
find_package(PkgConfig REQUIRED)
+ pkg_check_modules(GLIB REQUIRED glib-2.0)
+ if(GLIB_FOUND)
+ add_definitions(${GLIB_CFLAGS_OTHER})
+ message(${GLIB_CFLAGS_OTHER})
+ endif()
+
pkg_check_modules(LIBNM libnm)
if(LIBNM_FOUND)
add_definitions(-DUSE_LIBNM)
@@ -294,7 +300,8 @@ else()
include_directories(${LRC_SRC_PATH}
${LIBNM_INCLUDE_DIRS}
${LIBNOTIFY_INCLUDE_DIRS}
- ${LIBGDKPIXBUF_INCLUDE_DIRS})
+ ${LIBGDKPIXBUF_INCLUDE_DIRS}
+ ${GLIB_INCLUDE_DIRS})
set(JAMI_DATA_PREFIX "${CMAKE_INSTALL_PREFIX}/share")
@@ -419,7 +426,8 @@ else()
${X11}
${LIBNM_LIBRARIES}
${LIBNOTIFY_LIBRARIES}
- ${LIBGDKPIXBUF_LIBRARIES})
+ ${LIBGDKPIXBUF_LIBRARIES}
+ ${GLIB_LIBRARIES})
# Installation rules
install(TARGETS jami-qt
```
This fixes the not found error but results in a new error:
```
/run/build/jami-qt/src/connectivitymonitor.cpp: In constructor ‘ConnectivityMonitor::ConnectivityMonitor(QObject*)’:
/run/build/jami-qt/src/connectivitymonitor.cpp:224:5: error: ‘GCancellable’ was not declared in this scope
224 | GCancellable * cancellable = g_cancellable_new();
| ^~~~~~~~~~~~
/run/build/jami-qt/src/connectivitymonitor.cpp:224:20: error: ‘cancellable’ was not declared in this scope
224 | GCancellable * cancellable = g_cancellable_new();
| ^~~~~~~~~~~
/run/build/jami-qt/src/connectivitymonitor.cpp:224:34: error: ‘g_cancellable_new’ was not declared in this scope
224 | GCancellable * cancellable = g_cancellable_new();
| ^~~~~~~~~~~~~~~~~
```
This is where my abilities are at an end.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/614video configuration issue causes crashes2022-07-05T18:05:27ZFuchtelJockelvideo configuration issue causes crashesFor some reason the dring.yml gets set to:
```yml
video:
decodingAccelerated: true
encodingAccelerated: false
```
Jami will crash if set so when using the webcam.
setting it to:
```yml
video:
decodingAccelerated: true
encodingAc...For some reason the dring.yml gets set to:
```yml
video:
decodingAccelerated: true
encodingAccelerated: false
```
Jami will crash if set so when using the webcam.
setting it to:
```yml
video:
decodingAccelerated: true
encodingAccelerated: true
```
will prevent the crashhttps://git.jami.net/savoirfairelinux/jami-libclient/-/issues/488emoji.css missing from CMakeLists.txt2021-08-24T10:33:58ZFuchtelJockelemoji.css missing from CMakeLists.txtThis is needed to build the gnome client.
```diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 29b9f1c2..a981ba01 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -384,6 +384,7 @@ SET(libringclient_WEB_chatview
src/web-chatv...This is needed to build the gnome client.
```diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 29b9f1c2..a981ba01 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -384,6 +384,7 @@ SET(libringclient_WEB_chatview
src/web-chatview/chatview.js
src/web-chatview/jed.js
src/web-chatview/emoji.js
+ src/web-chatview/emoji.css
src/web-chatview/linkify-html.js
src/web-chatview/linkify-string.js
src/web-chatview/linkify.js
```https://git.jami.net/savoirfairelinux/jami-client-gnome/-/issues/1272FreeBSD support2021-08-24T15:38:41ZxliivFreeBSD supportI'd like to run Jami on FreeBSD.
According to Wiki it's possible
![image](/uploads/bae1349616ee16602f2f5341cc8a3d41/image.png)
However, i think it refers the old version (thanks to jbeich from Discord for finding it out)
1. https://en...I'd like to run Jami on FreeBSD.
According to Wiki it's possible
![image](/uploads/bae1349616ee16602f2f5341cc8a3d41/image.png)
However, i think it refers the old version (thanks to jbeich from Discord for finding it out)
1. https://en.wikipedia.org/w/index.php?title=Jami_%28software%29&diff=prev&oldid=720506711
1. https://www.freshports.org/net-im/ring-gnomehttps://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/503Rename device2021-09-26T07:43:27ZovariRename deviceOn Android, the device can be renamed in the Account Profile. `This device` field has a pen which can be tapped to change the name of the device.
1. Can the `This device` field also be shown on GNU/Linux client-qt?
2. How can the name ...On Android, the device can be renamed in the Account Profile. `This device` field has a pen which can be tapped to change the name of the device.
1. Can the `This device` field also be shown on GNU/Linux client-qt?
2. How can the name of the device be changed using the GUI on GNU/Linux client-qt?
3. <s>Updating the name of the `This device` field on an Android device, doesn't seem to update the name shown on linked GNU/Linux client-qt and another client-android device. How long does it take to update?</s> Renamed it again and now it worked
4. In the `This device` field, can the device ID please also be shown like they are shown in the linked devices?
Thank you
Linux Mint 20.2 Cinnamon<br>
client-qt 202108172029https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/502Unable to revoke a device/remove a device from the list of linked devices2021-09-07T18:01:36ZovariUnable to revoke a device/remove a device from the list of linked devicesUnable to revoke a device.
client-android shows a message with title `Can't revoke device` with message `Unknown device.`
If the device is unknown, how can the device be removed from the list?
client-qt does not revoke the device and ...Unable to revoke a device.
client-android shows a message with title `Can't revoke device` with message `Unknown device.`
If the device is unknown, how can the device be removed from the list?
client-qt does not revoke the device and provides no feedback.
Can client-qt please show a message if it was unable to revoke a device like Android does?
Please advise if you need a screenshot from the Android device.
Thank you
client-andriod 20210812-01
Linux Mint 20.2 Cinnamon<br>
client-qt 202108172029https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/501Revoke a device with dark theme2021-10-01T19:37:30ZovariRevoke a device with dark themeDoesn't seem to be in dark theme and the `Cancel` button is not shown.
![image](/uploads/60085347bb05146662c3d154d10d46af/image.png)
However, if the cursor is placed where the `Cancel` button is, it shows again.
![image](/uploads/18b6...Doesn't seem to be in dark theme and the `Cancel` button is not shown.
![image](/uploads/60085347bb05146662c3d154d10d46af/image.png)
However, if the cursor is placed where the `Cancel` button is, it shows again.
![image](/uploads/18b6d416acf0d9abe77e06ba36e13c86/image.png)
When any character is in the password field, the `Remove` button disappears.
![image](/uploads/c7f51328444831a4bc26779d56ebe309/image.png)
However, if the cursor is placed where the `Remove` button is, it shows again. Similar to the `Cancel` button
![image](/uploads/46b32451ee686932f3c69f58a93ac71f/image.png)
Thank you
Linux Mint 20.2 Cinnamon<br>
client-qt Version: 202108172029https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/613pjnath: Leak of STUN TCP socket2021-08-25T13:48:27ZOlivier Dionpjnath: Leak of STUN TCP socketFound by agents:
- [alice.scm](/uploads/45a2005456b023cdd47fff56787fafb5/passive-agent.scm)
- [bob.scm](/uploads/220e091417951aebfa9b3ac52253e013/desc.scm)
Progression of TCP leak (Alice side):
- [lsof.log](/uploads/c1f1d55f0f2b2...Found by agents:
- [alice.scm](/uploads/45a2005456b023cdd47fff56787fafb5/passive-agent.scm)
- [bob.scm](/uploads/220e091417951aebfa9b3ac52253e013/desc.scm)
Progression of TCP leak (Alice side):
- [lsof.log](/uploads/c1f1d55f0f2b2f2e1fb666888216d864/lsof.log)
Trace of `socket(*, SOCK_STREAM, *)` (Alice side):
- [tcp-trace.txt](/uploads/2a14a06a7cb876d8fca99065f06c6f06/tcp-trace.txt)
Matching progression against the trace, leaks seem to follow this pattern:
```
pj_sock_socket at /daemon/contrib/native/pjproject/pjlib/build/../src/pj/sock_bsd.c:583
pj_stun_sock_connect at /daemon/contrib/native/pjproject/pjnath/build/../src/pjnath/stun_sock.c:1315
pj_stun_sock_connect_active at /daemon/contrib/native/pjproject/pjnath/build/../src/pjnath/stun_sock.c:1436
ice_wait_tcp_connection at /daemon/contrib/native/pjproject/pjnath/build/../src/pjnath/ice_strans.c:2741
perform_check at /daemon/contrib/native/pjproject/pjnath/build/../src/pjnath/ice_session.c:2662
start_periodic_check at /daemon/contrib/native/pjproject/pjnath/build/../src/pjnath/ice_session.c:2814
periodic_timer at /daemon/contrib/native/pjproject/pjnath/build/../src/pjnath/ice_session.c:2921
pj_timer_heap_poll at /daemon/contrib/native/pjproject/pjlib/build/../src/pj/timer.c:915
jami::IceTransport::Impl::handleEvents(unsigned int) at /daemon/src/ice_transport.cpp:544
[...]
```Olivier DionOlivier Dionhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/612sipcall: Invalid address IP family of account's ICE option2021-08-25T17:44:14ZOlivier Dionsipcall: Invalid address IP family of account's ICE optionSee [gdb.txt](/uploads/80bea4f9be460450799a35d7c7d4de17/gdb.txt) Thread 35.See [gdb.txt](/uploads/80bea4f9be460450799a35d7c7d4de17/gdb.txt) Thread 35.https://git.jami.net/savoirfairelinux/jami-packaging/-/issues/106Packaging debian 112021-08-25T14:26:03ZSébastien BlinPackaging debian 11Amin BandaliAmin Bandalihttps://git.jami.net/savoirfairelinux/jami-client-android/-/issues/986Dot not always showing when the account is online2022-04-29T15:34:35ZovariDot not always showing when the account is onlineDot in bottom right of the avatar not always showing when the account is online. Please see image below.
![image](/uploads/352f03bb3cf02b7c8d78b220b3350bd2/image.png)
client-android 20210812-01Dot in bottom right of the avatar not always showing when the account is online. Please see image below.
![image](/uploads/352f03bb3cf02b7c8d78b220b3350bd2/image.png)
client-android 20210812-01https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/498Call: client stays in full screen when hangup fullscreen call2021-08-19T21:57:40ZovariCall: client stays in full screen when hangup fullscreen call1. Make an intercom audio call
2. Answer the call
3. Double-click to make the client full screen
4. End the call
Jami remains in full screen mode with the contact list on the left. Double-clicking does not exit full screen mode. Can onl...1. Make an intercom audio call
2. Answer the call
3. Double-click to make the client full screen
4. End the call
Jami remains in full screen mode with the contact list on the left. Double-clicking does not exit full screen mode. Can only see the Jami program. Jami window minimize, restore and exit buttons on the top right are not available in full screen mode either. Can not see the Linux mint panel or anything else.
When a call is ended, should Jami also automatically exit full screen mode?
What do you think?
Thank you
Linux Mint 20.2 Cinnamon<br>
Jami client-qt Version: 202108172029
cf. https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/339https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/497Emoji reaction2021-08-18T19:47:18ZovariEmoji reactionReact by temporarily changing your avatar to an emoji.
https://jitsi-hacks.cketti.eu/hacks/emoji_reaction/
![image](/uploads/53a4338fc1e8d24d8bc0f9177d860bdc/image.png)
# Installation
Drag the following link into your browser’s bookm...React by temporarily changing your avatar to an emoji.
https://jitsi-hacks.cketti.eu/hacks/emoji_reaction/
![image](/uploads/53a4338fc1e8d24d8bc0f9177d860bdc/image.png)
# Installation
Drag the following link into your browser’s bookmark bar: [Emoji reaction](javascript:(function()%7Bfunction%20callback()%7B%7Dvar%20s%3Ddocument.createElement(%22script%22)%3Bs.src%3D%22https%3A%2F%2Fjitsi-hacks.cketti.eu%2Femoji-reaction.js%22%3Bif(s.addEventListener)%7Bs.addEventListener(%22load%22%2Ccallback%2Cfalse)%7Delse%20if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)())
If the link doesn't work, here is the code:<br>
`javascript:(function()%7Bfunction%20callback()%7B%7Dvar%20s%3Ddocument.createElement(%22script%22)%3Bs.src%3D%22https%3A%2F%2Fjitsi-hacks.cketti.eu%2Femoji-reaction.js%22%3Bif(s.addEventListener)%7Bs.addEventListener(%22load%22%2Ccallback%2Cfalse)%7Delse%20if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)()`
To inject the script click the link in the bookmark bar while the Jitsi Meet tab is active. The effects only last until the next page reload.
# Usage
Once the hack is loaded a new “smiley” button will be visible in the toolbar.
![smiley button in toolbar](/uploads/4c27ff53b493c36a31fed783a242c0c5/image.png)
Press that button to activate the functionality.
![image](/uploads/35ae01fe55d68b4d8be36836c1bd7c11/image.png)
In the dialog that appears select one of the emojis. Your avatar will be changed to the selected emoji image for 30 seconds and then switch back to the previous avatar.
# Limitations
Avatars are usually not displayed to participants when your camera is enabled. In that case nobody will see your emoji reaction 😞
Edit: Perhaps an overlay (superpostion) with the emoji reaction could be added? https://github.com/cketti/jitsi-hacks/issues/9
# How does it work?
The script uses Jitsi’s functionality to change the avatar URL. It remembers the previous avatar URL and switches back to it after 30 seconds.
# Source Code
Find [emoji-reaction.js](https://github.com/cketti/jitsi-hacks/blob/main/docs/emoji-reaction.js) on GitHub.
Thank youhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/611Reorder video tiles via drag and drop2021-08-18T19:43:04ZovariReorder video tiles via drag and dropReorder video tiles via drag and drop.
https://jitsi-hacks.cketti.eu/hacks/reorder/
![image](/uploads/90539430a84e1b31e755b4b68f3d3e0a/image.png)
# Installation
Drag the following link into your browser’s bookmark bar: [Reorder video...Reorder video tiles via drag and drop.
https://jitsi-hacks.cketti.eu/hacks/reorder/
![image](/uploads/90539430a84e1b31e755b4b68f3d3e0a/image.png)
# Installation
Drag the following link into your browser’s bookmark bar: [Reorder video tiles](javascript:(function()%7Bfunction%20callback()%7B%7Dvar%20s%3Ddocument.createElement(%22script%22)%3Bs.src%3D%22https%3A%2F%2Fjitsi-hacks.cketti.eu%2Freorder.js%22%3Bif(s.addEventListener)%7Bs.addEventListener(%22load%22%2Ccallback%2Cfalse)%7Delse%20if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)())
If the link doesn't work, here is the code:<br>
`javascript:(function()%7Bfunction%20callback()%7B%7Dvar%20s%3Ddocument.createElement(%22script%22)%3Bs.src%3D%22https%3A%2F%2Fjitsi-hacks.cketti.eu%2Freorder.js%22%3Bif(s.addEventListener)%7Bs.addEventListener(%22load%22%2Ccallback%2Cfalse)%7Delse%20if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)()`
To inject the script click the link in the bookmark bar while the Jitsi Meet tab is active. The effects only last until the next page reload.
# Usage
Once the hack is loaded you can reorder videos in tile view via drag and drop.
How does it work?
The script utilizes the [Dragula](https://bevacqua.github.io/dragula/) library to allow reordering video tiles via drag and drop.
# Source Code
Find [reorder.js](https://github.com/cketti/jitsi-hacks/blob/main/docs/reorder.js) on GitHub.https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/610ICE/SIPCall - possible race condition in ICE initialization2021-09-15T14:23:37ZMohamed ChibaniICE/SIPCall - possible race condition in ICE initializationPossible race condition between JamiAccount::SIPStartCall() and SIPCall::initIceMediaTransport(). SIPCall::addLocalIceAttributes() is called by SIPStartCall() before the ice session is fully setup.
```
[1628703709.408|52540|ice_transpor...Possible race condition between JamiAccount::SIPStartCall() and SIPCall::initIceMediaTransport(). SIPCall::addLocalIceAttributes() is called by SIPStartCall() before the ice session is fully setup.
```
[1628703709.408|52540|ice_transport.cpp :791 ] [ice:0x7fff99480f00] added host stun config for UDP transport
[1628703709.422|52540|ice_transport.cpp :566 ] [ice:0x7fff99480f00] UDP initialization success
[1628703709.422|52540|ice_transport.cpp :630 ] [ice:0x7fff99480f00] as master
[1628703709.426|52540|ice_transport.cpp :766 ] [ice:0x7fff99480f00] (local) ufrag=132de820, pwd=057ba91211155276119d9083
[1628703709.430|52686|sipcall.cpp :1642 ] [call:438314284593258] no media ICE transport, SDP not changed
[1628703709.432|52686|sipcall.cpp :686 ] [call:438314284593258] Set new invite session [0x7fff94133328]
[1628703709.436|52540|sipcall.cpp :2935 ] [call:438314284593258] Successfully created media ICE transport
```Mohamed ChibaniSébastien BlinMohamed Chibanihttps://git.jami.net/savoirfairelinux/jami-project/-/issues/1288Initial audio mode2021-08-18T19:49:25ZovariInitial audio modePlease watch https://youtu.be/gGr-O3jEbLk?t=103 related to LiveWebinar
Initial audio mode
1. **Q&A – Participant questions**<br>
Only presenters can talk and participants can ask for permission to speak
2. **Meeting – Discussion mode**<...Please watch https://youtu.be/gGr-O3jEbLk?t=103 related to LiveWebinar
Initial audio mode
1. **Q&A – Participant questions**<br>
Only presenters can talk and participants can ask for permission to speak
2. **Meeting – Discussion mode**<br>
All participants can talk and are able to activate their audio and video by themselves
3. **Webinar – Presentation mode**<br>
Only presenters can talk and participants can listen
What do you think?
Thank youhttps://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/496Linked Devices: Unable to delete linked accounts. Solution: Please add a hori...2021-11-04T20:16:56ZovariLinked Devices: Unable to delete linked accounts. Solution: Please add a horizontal scroll barUnable to delete a linked account. The buttons to the far right can not be reached.
1. Should there be a horizontal scroll bar?
2. Should right-click on a device bring up the option to delete a linked device?
3. Should the delete button...Unable to delete a linked account. The buttons to the far right can not be reached.
1. Should there be a horizontal scroll bar?
2. Should right-click on a device bring up the option to delete a linked device?
3. Should the delete buttons be moved to the front or underneath the string?
![image](/uploads/224d0cd0ec26c2b17b689080fa3b9407/image.png)
Thank youhttps://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/495Settings: button label cut and string extends outside of container2021-10-29T09:17:36ZovariSettings: button label cut and string extends outside of container1. Open Settings
2. Advanced Account Settings
3. `Add default moderator` **Bug**: Should this button be wider as the button label has an ellipsis?
4. `Find a user or search for a conversation` **Bug**: string extends out of the box. Shou...1. Open Settings
2. Advanced Account Settings
3. `Add default moderator` **Bug**: Should this button be wider as the button label has an ellipsis?
4. `Find a user or search for a conversation` **Bug**: string extends out of the box. Should the dialog be made wider?
What do you think?
Thank you
![image](/uploads/84326fe956fc99348e23ba5e9adc3d7b/image.png)
cf. https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/301https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/494Change button label from `Delete account` to `Remove account` and add toolTip...2023-06-26T21:55:00ZovariChange button label from `Delete account` to `Remove account` and add toolTipText `Remove account from only this device`Should a toolTipText be added to the `Delete account` button?
This might help screen readers?
![image](/uploads/098f718ab73c2983b27afa22993d0a4b/image.png)
What do you think?
Thank youShould a toolTipText be added to the `Delete account` button?
This might help screen readers?
![image](/uploads/098f718ab73c2983b27afa22993d0a4b/image.png)
What do you think?
Thank you