[jitsi-dev] Blank Main Window - Contacts list


#1

Hi, I have the same issue as posted here http://lists.jitsi.org/pipermail/dev/2012-September/000331.html and here http://lists.jitsi.org/pipermail/dev/2012-September/000332.html about a year ago by someone else who is using Archlinux as well, I'm currently trying to package a usable version of Jitsi for the Archlinux AUR for everyone to enjoy. I believe this is the best SIP client out there, with that said:

Attached is every single log you can imagine, but if something is missing let me know. Here is what it's included inside jitsi-main-window-blank.tar.gz:
blank-main-window-contactslist.jpg | screenshot of the issue
allfiles-installed-with-jitsi | all the files that where installed by PKGBUILD
jitsi.sh | this is how I run jitsi
jitsi.sh-output | the stdout of jitsi.sh
ls-output-of-all-dirs | 'ls' command ran on every pertinent directory
ant-make-run-stdout
ant-rebuild-stdout
ant-rebuild-test-stdout
acounts.properties-without-password
PKGBUILD-this-is-how-I-built-jitsi | contains everything I do to install it on my system
test-reports | contains the result of ant rebuild test
dotjitsi-user-dir | ~/.jitsi/ with default config and logs generated by running the program once

Info:
ant rebuild test - executed with an iptel.org account, no second sip account
xorg X11, DWM window manager http://dwm.suckless.org/, session wise .xinitrc does all the work session wise. Archlinux 64 bit, AMD Phenom(tm) II X4 965 Processor.
Apache Ant(TM) version 1.9.1 compiled on May 22 2013
java version "1.7.0_40"
OpenJDK Runtime Environment (IcedTea 2.4.0) (ArchLinux build 7.u40_2.4.0-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.0-b40, mixed mode)

Here is what doesn't work:
Main Window: completely blank no status, picture icon, dialpad, contact list or anything else that should be inside [see screen-shot in files attached]

Here is what works so far:
Receiving Calls and call stability/input-output devices changing in the middle of the call: [perfect]
Notification Window: change in sound hardware, new call received, can't establish connection to sip account [perfect]
Settings Window: [perfect]
Sharing Screen: [only works when sharing my screen, nobody can share it with me]

Thank you Jitsi devs!

jitsi-main-window-blank.tar.gz (1.66 MB)


#2

I've managed to fix this, it wasn't the code at all but a peculiarity
with java's handling of unknown windows managers like DWM, previous
similar issues:
http://lists.jitsi.org/pipermail/dev/2012-September/000331.html and
here http://lists.jitsi.org/pipermail/dev/2012-September/000332.html

Information about the fix can be found here:
http://awesome.naquadah.org/wiki/Problems_with_Java

Specific for Archlinux:
https://wiki.archlinux.org/index.php/Dwm#Fixing_misbehaving_Java_applications
https://bbs.archlinux.org/viewtopic.php?id=159016

In a nutshell the fix is to do the following before invoking jitsi
I recommend you read the naquadah.org link though:
# Enable this for non-reparenting window managers
export _JAVA_AWT_WM_NONREPARENTING=1

It's worth noting that this applies to the package jre7-openjdk in my case and I believe it
does not work with the java binaries that you get directly from their
site (if they are different at all) because they have not applied the
patch that reads the exported env parameter.

Thanks to anybody who tried to help but found themselves startled by the
lack of errors. If that was the case at all.