#24 — Transitions look broken for timed Portlets
by
Harald Friessnegger
—
last modified
Apr 21, 2010 11:01 AM
| State | Resolved |
|---|---|
| Version: | 0.8.1a3 |
| Area | User interface |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Harald Friessnegger |
| Submitted on | Apr 20, 2010 |
| Responsible | Nathan Van Gheem |
| Target release: |
—
|
the *first time* the timed portlet is running the fade effect looks broken:
instead of
fade out
change image
fade in
it does:
fade out and fade in again
switch to next image
testing on localhost fade in and switch to next image happen very fast, but one can still see that there is something wrong
if you can't reproduce it on your machine, i'll mail you a link to one of our development servers.
instead of
fade out
change image
fade in
it does:
fade out and fade in again
switch to next image
testing on localhost fade in and switch to next image happen very fast, but one can still see that there is something wrong
if you can't reproduce it on your machine, i'll mail you a link to one of our development servers.
- Steps to reproduce:
- create a gallery
create a gallery portlet (timed)
navigate to the page that shows the portlet
Added by
Nathan Van Gheem
on
Apr 20, 2010 02:44 PM
Any chance you're using Plone 4? There was a fix for the portlet with that in the newer versions of ptg. Otherwise, I'll try to take a look at it later tonight. Thanks for the report.
Issue state:
Unconfirmed
→
Confirmed
Responsible manager:
(UNASSIGNED)
→
vangheem
Added by
Harald Friessnegger
on
Apr 20, 2010 02:46 PM
i found out, that the porltet is using the size specified in the gallery-settings view.if one chooses large there, also the portlet is using image_large.
such a unnecessary large scale together with slower connections might lead to the problem described above.
can we simply use a smaller scale for the portlet?
Added by
Harald Friessnegger
on
Apr 20, 2010 02:48 PM
i'm using plone4.0b2 and ptg trunk rev115771
Added by
Nathan Van Gheem
on
Apr 21, 2010 01:57 AM
fixed in trunk
Issue state:
Confirmed
→
Resolved
Added by
Harald Friessnegger
on
Apr 21, 2010 08:24 AM
transitions look good now, thanks for fixing this so fast ;-)
Issue state:
Resolved
→
Confirmed
i want to re-raise another question posted above:
do you think it's necessary to load the image_large scale in a portlet? image_mini or image_preview should be enough for this.
in case one sets the size to large in gallery_settings a portlet displaying this gallery uses image_large.
shouldn't portlet use image_preview in any case?
Added by
Nathan Van Gheem
on
Apr 21, 2010 11:01 AM
Yes, the portlet should use image large. What should happen is that the it detects the best scale to use for the size of the portlet.
Issue state:
Confirmed
→
Resolved
I looked into getting this done last night, but it wasn't completely easy as it's somewhat a limitation of the design. In order to render the galleries faster, I cache the images retrieved. This is especially important when retrieving flickr or picasa galleries. When I cache them, I only cache the size that is selected at the time. What needs to be done is to cache all sizes and then it'll be possible in the portlet to grab whatever size is preferred there.
I'm going to close this issue and open a new one for this.
For now I suggest making another gallery the is essentially a mirror of the other gallery until this gets implemented.
No responses can be added.
If you can, please log in before submitting a reaction.
