Virtual Table and rowSpan: is not transparent for decoration

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Virtual Table and rowSpan: is not transparent for decoration

Marcel Ruff-3
Hi,

I'm using the current trunk svn of qooxdoo.

I have a virtual Table (qx.ui.virtual.layer.WidgetCellSpan)
with a Atom and 48x48 icon with transparent
background as a CellWidget.

If I apply a
   cellWidget.setDecorator("table-scroller-header");
it is nicely displayed on normal cells,
but NOT on the cell which is a colSpan.

Thanks,
Marcel

--
Marcel Ruff
http://www.xmlBlaster.org
http://watchee.net
Phone: +49 7551 309371


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Virtual Table and rowSpan: is not transparent for decoration

Fabian Jakobs
Administrator
Hi Marcel,

> Hi,
>
> I'm using the current trunk svn of qooxdoo.
>
> I have a virtual Table (qx.ui.virtual.layer.WidgetCellSpan)
> with a Atom and 48x48 icon with transparent
> background as a CellWidget.
>
> If I apply a
>    cellWidget.setDecorator("table-scroller-header");
> it is nicely displayed on normal cells,
> but NOT on the cell which is a colSpan.
>  
I've opened a bug report for this issue
<http://bugzilla.qooxdoo.org/show_bug.cgi?id=2275>. Feel free to report
virtual widget issues directly to our Bugzilla and assign them to me. I
appreciate that you give this code a real life check. Since you are
probably the first person using this code outside of the qooxdoo core
team I' very interested in any kind of feedback. What do you like, where
do you have problems, etc.

Best Fabian

--
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[hidden email]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Virtual Table and rowSpan: is not transparent for decoration

Marcel Ruff-3
Fabian,

thank you, it is good to know you take care of,
this gives me safety to continue with my approach!

I'm testing the table with 20000 entries and it scales beautifully.

But one thing i need to clarify:

I have visible about 12 rows (of my 20000) with 9 columns.
When i scroll on step down (mouse click on bottom scrollbar triangle)
I would expect one call per column to
  getCellWidget()
but unfortunately there are about 100 (I didn't count them precisely),
as if everything visible is reloaded.
Even that I take those from a pool I still need to asign the tooltip,
the icon and text.
This makes scrolling not a joy.

What triggers so many reloads?
Shouldn't the library maintain its own cache of visible items?

Thanks
Marcel

> Feel free to report
> virtual widget issues directly to our Bugzilla and assign them to me. I
> appreciate that you give this code a real life check. Since you are
> probably the first person using this code outside of the qooxdoo core
> team I' very interested in any kind of feedback. What do you like, where
> do you have problems, etc.
>
> Best Fabian
>  

--
Marcel Ruff
http://www.xmlBlaster.org
http://watchee.net
Phone: +49 7551 309371


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Virtual Table and rowSpan: is not transparent for decoration

Fabian Jakobs
Administrator
Marcel Ruff schrieb:

> Fabian,
>
> thank you, it is good to know you take care of,
> this gives me safety to continue with my approach!
>
> I'm testing the table with 20000 entries and it scales beautifully.
>
> But one thing i need to clarify:
>
> I have visible about 12 rows (of my 20000) with 9 columns.
> When i scroll on step down (mouse click on bottom scrollbar triangle)
> I would expect one call per column to
>   getCellWidget()
> but unfortunately there are about 100 (I didn't count them precisely),
> as if everything visible is reloaded.
> Even that I take those from a pool I still need to asign the tooltip,
> the icon and text.
> This makes scrolling not a joy.
>
> What triggers so many reloads?
> Shouldn't the library maintain its own cache of visible items?
>  
The widget layer is supposed to only request the new cells. Could you
open a bug for this as well?

Best Fabian

--
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[hidden email]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Virtual Table no caching of visible CellWidgets

Marcel Ruff-3
Fabian Jakobs schrieb:

> Marcel Ruff schrieb:
>  
>> Fabian,
>>
>> thank you, it is good to know you take care of,
>> this gives me safety to continue with my approach!
>>
>> I'm testing the table with 20000 entries and it scales beautifully.
>>
>> But one thing i need to clarify:
>>
>> I have visible about 12 rows (of my 20000) with 9 columns.
>> When i scroll on step down (mouse click on bottom scrollbar triangle)
>> I would expect one call per column to
>>   getCellWidget()
>> but unfortunately there are about 100 (I didn't count them precisely),
>> as if everything visible is reloaded.
>> Even that I take those from a pool I still need to asign the tooltip,
>> the icon and text.
>> This makes scrolling not a joy.
>>
>> What triggers so many reloads?
>> Shouldn't the library maintain its own cache of visible items?
>>  
>>    
> The widget layer is supposed to only request the new cells. Could you
> open a bug for this as well?
>
> Best Fabian
>  
http://bugzilla.qooxdoo.org/show_bug.cgi?id=2305

Thanks
Marcel

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Virtual Table no caching of visible CellWidgets

Marcel Ruff-3
Hi again,

I hope it is OK to ask:
Is there a proximate schedule when this is fixed?
(Not to offend you, just that I know if I need to code some workaround
myself)

Thanks
Marcel

> Fabian Jakobs schrieb:
>  
>> Marcel Ruff schrieb:
>>  
>>    
>>> Fabian,
>>>
>>> thank you, it is good to know you take care of,
>>> this gives me safety to continue with my approach!
>>>
>>> I'm testing the table with 20000 entries and it scales beautifully.
>>>
>>> But one thing i need to clarify:
>>>
>>> I have visible about 12 rows (of my 20000) with 9 columns.
>>> When i scroll on step down (mouse click on bottom scrollbar triangle)
>>> I would expect one call per column to
>>>   getCellWidget()
>>> but unfortunately there are about 100 (I didn't count them precisely),
>>> as if everything visible is reloaded.
>>> Even that I take those from a pool I still need to asign the tooltip,
>>> the icon and text.
>>> This makes scrolling not a joy.
>>>
>>> What triggers so many reloads?
>>> Shouldn't the library maintain its own cache of visible items?
>>>  
>>>    
>>>      
>> The widget layer is supposed to only request the new cells. Could you
>> open a bug for this as well?
>>
>> Best Fabian
>>  
>>    
> http://bugzilla.qooxdoo.org/show_bug.cgi?id=2305
>
> Thanks
> Marcel
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>  


--
Marcel Ruff
http://www.xmlBlaster.org
http://watchee.net
Phone: +49 7551 309371


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Virtual Table no caching of visible CellWidgets

Fabian Jakobs
Administrator
Marcel Ruff schrieb:
> Hi again,
>
> I hope it is OK to ask:
> Is there a proximate schedule when this is fixed?
> (Not to offend you, just that I know if I need to code some workaround
> myself)
>  
It won't make it into the 1.0 release. I hope I can resume work on the
virtual widget stuff in Q1 2010. So it might take a few months until it
is fixed.

Best Fabian



> Thanks
> Marcel
>  
>> Fabian Jakobs schrieb:
>>  
>>    
>>> Marcel Ruff schrieb:
>>>  
>>>    
>>>      
>>>> Fabian,
>>>>
>>>> thank you, it is good to know you take care of,
>>>> this gives me safety to continue with my approach!
>>>>
>>>> I'm testing the table with 20000 entries and it scales beautifully.
>>>>
>>>> But one thing i need to clarify:
>>>>
>>>> I have visible about 12 rows (of my 20000) with 9 columns.
>>>> When i scroll on step down (mouse click on bottom scrollbar triangle)
>>>> I would expect one call per column to
>>>>   getCellWidget()
>>>> but unfortunately there are about 100 (I didn't count them precisely),
>>>> as if everything visible is reloaded.
>>>> Even that I take those from a pool I still need to asign the tooltip,
>>>> the icon and text.
>>>> This makes scrolling not a joy.
>>>>
>>>> What triggers so many reloads?
>>>> Shouldn't the library maintain its own cache of visible items?
>>>>  
>>>>    
>>>>      
>>>>        
>>> The widget layer is supposed to only request the new cells. Could you
>>> open a bug for this as well?
>>>
>>> Best Fabian
>>>  
>>>    
>>>      
>> http://bugzilla.qooxdoo.org/show_bug.cgi?id=2305
>>
>> Thanks
>> Marcel
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports &#45; New Free Runtime and 30 Day Trial
>> Check out the new simplified licensign option that enables unlimited
>> royalty&#45;free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>  
>>    
>
>
>  


--
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[hidden email]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel