Bug #115

UserListIcons Icons display only 17 Pixels x 20 Pixels

Added by Andrew Xavier about 8 years ago. Updated about 7 years ago.

Status:NewStart date:03/30/2011
Priority:NormalDue date:05/30/2011
Assignee:Valentin Manthei% Done:

0%

Category:-Estimated time:1.00 hour
Target version:-

Description

Hello,

I would like to report that all Icons in UserListIcons are shortened to 17 Pixels wide and 20 Pixels Long when users prefixed with an unsupported mode enter a channel. This does not occur for non-prefixed user, but to all users on a channel whom contain a person with modes that are +y and +Y on my IRC server (Non- qhaov modes). Basically, a small part of the icon is cut off from the bottom of each user's icon under this circumstance. If you should need help investigating this (using my IRCd), please respond to this Issue report.

avatars.jpg - cropped user list items (5.95 KB) Robert V, 10/03/2011 05:59 pm

History

#1 Updated by Kevin Glazenburg about 8 years ago

Valentin said at #103:

We currently only support qaohv.

Maybe that's the problem?

#2 Updated by Andrew Xavier about 8 years ago

It appears in addition to the problems with prefixing, the same issue occurs on join with only supported mode types. It appears to take the image two be loaded twice for it to fully load. I.e. normal user joins the channel, 17 PX width displays, when another person is to join or user with 17 PX image /cycle's the channel or leaves and rejoins it, the image is fully loaded. This may be an error in how LightIRC gets these image files, don't know. Please check into this new information.

#3 Updated by Andrew Xavier about 8 years ago

Full image also loads upon setting of a new user mode i.e. operator +h's user in question, full image loads.

#4 Updated by Kevin Glazenburg about 8 years ago

Andrew Xavier Wrote:

If you should need help investigating this (using my IRCd), please respond to this Issue report.

Do you have a url or something for me? ?

#5 Updated by Andrew Xavier about 8 years ago

Yes, you may attempt to replicate the issue at therepublicirc.tk you will see a difference between the first and second load of all icons.

#6 Updated by Kevin Glazenburg about 8 years ago

I was able to reproduce this issue on therepublicirc.tk.

#7 Updated by Robert V over 7 years ago

I have the same problem. I tried to use larger icons (35x35), fetched from the user's avatar in my forum. In general, this seems to be possible, as it displays nicely after a user has joined the channel. However, immediately after loading the chat, only the top part is displayed. I attached a screenshot.

I don't think that the image itself is cropped as the nickname is centered vertically. For this, the height of the image must be known. I think there might be a UI refresh missing after the image has been loaded so the height of the list item can be set correctly. A different way would be set the height of the list items manually, but I did not find a way to do this.

Hope this can be fixed. :)

#8 Updated by Valentin Manthei about 7 years ago

Is this still a problem? Can anyone post a lightIRC configuration where this happens?

Also available in: Atom PDF