I've done a pretty deep dive into the source, and I can tell there's a lot I have to learn about the internals of QX before I can really track this one down.
In the case of iconHtml columns, I'm pretty sure that the problem stems from the fact that the QxIconHtml used in the blank rows has no icon source, and the QxImageManager expands the URL of "" to "". This causes broken images. I submitted a patch earlier to QxImageManager that would expand "" to a blank.gif. Sebastian wasn't sure that was the right thing to do, and I completely understand that. I just had another thought, and that was to change QxIconHtml to only add the image HTML if the icon URI is not "". This seems to fix QxIconHtml under Mozilla, but it still results in a little "invisible" 1x1 icon under MSIE. I did a little digging into this, but I'm getting nowhere. When the QxIconHtml is constructed, it has no icon, and no height or width. I'm not sure how the image and height/width are supposed to be reset when you add data rows to the QxListView. But I've attached my patch that fixes the iconHtml columns under Mozilla, in case it's of any use. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Hugh Gibson > Sent: Thursday, March 02, 2006 10:23 AM > To: [email protected] > Subject: Re: [qooxdoo-devel] image issues in QxListView > > > > Sebastian, any progress on tracking down the sources of these > > > problems? It's making icons in list views unusable. > > > > No, this is currently not on my list. Someone other has an > interest to > > fix it? > > Well, it's a fundamental problem in qooxdoo so it should go > on a list somewhere (now, where is that bug-tracking package? ;-) ). > > Could you at least take a look at the example code and give a > first-guess gut feel on what the problems might be? That > would only take you five minutes. Then one of us lesser > mortals can take a look. > > Jason, I work a short week so won't be able to take a look at > this until Monday, so if you want to delve into the qooxdoo > code over the weekend, be my guest! > > Hugh > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language that extends applications into web and > mobile media. Attend the live webcast and join the prime > developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > dat=121642 > _______________________________________________ > Qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >
QxIconHtml.js.patch
Description: QxIconHtml.js.patch
