[jitsi-dev] Some tooltips cover large areas making the main window unusable


#1

Hello, there is a small issue with the tooltips on the main window,
they sometimes cover a very large area and forces you to move the
mouse out and wait for the tooltip to disappear in order to continue
using jitsi. I've tracked down the issue to msn contacts which have a
"description" in their profile. The cause of the problem might be the
use of unnecessary new-line characters in the tooltips, i don't know
if these new-line characters would be coming from msn or inserted by
jitsi, but in either case, i think they should be removed.

I've already created an issue in jira
http://java.net/jira/browse/JITSI-972 where you can find some
screenshots demonstrating the problem, but since i failed to follow
correct procedure this issue has been close, so i wish to discuss it
here in order to reopen this issue.

P.S. I have setup a development environment for jitsi, if someone
could point me to where these tooltips are getting set, i might be
able to provide a patch to fix it.

Thanks for this nice piece of software.


#2

I've tracked down the issue to msn contacts which have a
"description" in their profile. The cause of the problem might be the
use of unnecessary new-line characters in the tooltips, i don't know
if these new-line characters would be coming from msn or inserted by
jitsi, but in either case, i think they should be removed.

This is definitely not limited to MSN. I see the same expansion on Emil's Jabber contact.

Thanks for this nice piece of software.

Thank you for your kind words!

Regards,
Ingo


#3

You are right, this happens whenever a contact sets a status message
and is not unique to MSN contacts. Looks like this bug was introduced
when applying patch from issue 946 which can be found here
http://java.net/jira/browse/JITSI-946 . I've created a patch but since
i don't have a fully working devel environment yet, i can't run the
project tests and was hoping someone could test it for me. I did some
usage based testing and everything is fine so far but i plan to
continue using my svn build and will report back if i find any issues.
Waiting for my issue #JITSI-972 to be reopened to upload the patch to
the issue itself. If there is anything else i need to upload let me
know.

Cheers.

fix-wrong-tooltip-height.diff (786 Bytes)

ยทยทยท

On Mon, Aug 1, 2011 at 2:55 PM, Bauersachs Ingo <ingo.bauersachs@fhnw.ch> wrote:

I've tracked down the issue to msn contacts which have a
"description" in their profile. The cause of the problem might be the
use of unnecessary new-line characters in the tooltips, i don't know
if these new-line characters would be coming from msn or inserted by
jitsi, but in either case, i think they should be removed.

This is definitely not limited to MSN. I see the same expansion on Emil's Jabber contact.

Thanks for this nice piece of software.

Thank you for your kind words!

Regards,
Ingo