![]() |
#1 |
Nothing to say...
Join Date: Sep 2000
Location: UK
Posts: 23,102
|
Winamp Freeform skin engine bug thread
This is your one stop shop for reporting bugs in the winamp freeform skinning engine.
Notice something that's broken?, noticed something that dosn't work correct? then report it here. A description of the problem would be a help, any example code you are using would be an even bigger help and any working examples of your bugs would be even better. Remember this ISN'T a feature request thread, it's for bugs only. Any non bug related posts will be removed in an effort to keep this thread simple and easy to follow...... |
![]() |
![]() |
![]() |
#2 |
Major Dude
Join Date: Aug 2002
Location: 18 inches from hell
Posts: 736
|
system.selectFile() is having a bug. It gives an assertion error whenver used. Moreover, can we know the exact purpose of that? Currently, i assume it opens a file dialog box and returns the file path of the file selected.
Edit> martin.deimos It seems that this is broken somewhere deeper inside the wasabi engine. I think this might have been broken due to the move from wa3 to wa5. My MAKI contribs.: ![]() My WebSite My Blog My Skins: fnk 32 Rioport v1 Sienna Burning Steel My Saying: Eat healthy, Stay fit... Die Anyway |
![]() |
![]() |
![]() |
#3 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
First list from me.. will probably add more later.
note: Jones, if you feel any of theese aren't to be considered bugs, feel free to remove those. |
![]() |
![]() |
![]() |
#4 |
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,388
|
I have a few to add to the list, I'll make small skins to illustrate the problems. Here's my first one, there seems to be a problem where if you have multiple transparent layers on top of each other, and you have desktop alpha enabled, areas that should be a solid color start to become transparent.
In the attached skin, the white circle should be solid, but I have placed several transparent layers over it and it is now significantly see-through. |
![]() |
![]() |
![]() |
#5 |
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
Timer
using shadow="1" on timer text shifts the shadow top left (rather than bottom right), positive/negative x,y values have no affect time elapsed/remaining has no affected if specified Gammagroups gammagroup "Text" is the only gammagroup available for fonts, cannot use another name, has no affect |
![]() |
![]() |
![]() |
#6 | |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
Quote:
Truetype fonts use color id's, and then you can put gammagroups on the color id's.. <color id="font0.color" value="128,128,128" gammagroup="font0"/> <text id="font0" font="arial" color="font0.color"/> Bitmap fonts have a small trick to allow for gammagroups: <bitmap id="font1" file="font1.png" gammagroup="font1"/> <bitmapfont id="font1.font" file="font1"/> this also makes it possible to include a bitmap font into another png, and only use the parts of that png that you want for the specific font. like so: <bitmap id="font2" file="fontandotherstuff.png" x="0" y="100" w="100" h="20" gammagroup="font2"/> <bitmapfont id="font2.font" file="font2"/> smart eh? ![]() |
|
![]() |
![]() |
![]() |
#7 |
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
i realise the stuff with the bitmap fonts
![]() it was more to do with the gammagroup="font0" on the colour id for true type font, this is the one that doesnt seem to have any affect, well at least on the test skin i had a few minutes play with |
![]() |
![]() |
![]() |
#8 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
well, it works fine in D-Reliction if you check it out.. It's used alot in that skin..
|
![]() |
![]() |
![]() |
#9 |
Major Dude
|
- getVisBand() gives weird values if right-channel is taken but works fine with the left channel.
System.getVisBand(0, 0); // works System.getVisBand(1, 0); // not - <eqvis> does not respond to gammagroups - object.getID() gives an assertion fault when used with a Container object. - Layout.onMouseEnterLayout() & Layout.onMouseLeaveLayout() does not respond. - Browser.onDocumentComplete(String url) is not getting called all the time. - setClipboardText(String text) does not work. although only very few uses this, it might be good to get it fixed. i think its good for debugging. - system.selectFile() as mention by rohan already. can we request for new features? if so, i have a few. ![]() - sound effects. - system.getScreenResWidth() & system.getScreenResHeight() (getViewPortWidth just not enough sometimes) - Album Art support. maybe a new guiObject child called <albumart/> thats all i could remember for now. ![]() |
![]() |
![]() |
![]() |
#10 |
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
and ofcourse the Gradient xml object like all of has realized.
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
![]() |
![]() |
![]() |
#11 | |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
Quote:
Gradients work fine afaik... the wasabi.player base skin is full of them, and I've ported that skin to wa5 without any problems.. |
|
![]() |
![]() |
![]() |
#12 |
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,388
|
The problem with the <gradient> element, at least in WA, don't know about WP, is that it doesn't seem to render the gradient in a straight line, even when specified. Check out the attached file. You can't tell at larger sizes, but resized down to a narrow space the miscalculation becomes apparent when hot pink starts showing up.
|
![]() |
![]() |
![]() |
#13 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
ah, ok, I know what you mean now.. don't even need to check the file... yea, w.p had that too in tooltips. But that's the only place I've seen it...
|
![]() |
![]() |
![]() |
#14 |
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,388
|
Another one I'd like to add, although I'm not sure it ever actually worked, is that the "elementframes" way of using <animatedlayer> is broken. I read about it here and it would have been great for a skin I recently did that had some crazy 500+ frame animation because the filmstip method was getting out of hand and turned out to be a very limiting factor. The attached skin file seems to be correct based on that documentation, but it doesn't do anything.
|
![]() |
![]() |
![]() |
#15 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
more bugs from me:
Theese are all about the <playlisteditor/> object and the sidecar. <PlaylistEditor id="pl.editor" fitparent="1" main="1"/> <Wasabi:TabSheet id="pl.sidecar" windowtype="plsc" type="2" visible="0"/>
plus, since the <playlisteditor/> object supports columns, it would be easy to add a playlist which shows only what you want it to show. Edit: Oh yea, btw, I have some skin updates/bugfixes to the default Winamp3 theme, if you're interested in merging them into the one in gen_ff. I originally made them for Wasabi.player but wasabi is wasabi, so they should work just the same in gen_ff. Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin (plague-edit) Winamp3_Default skin (plague fixes) | Opal Redemption | X-Slant | wa2skin.wac Last edited by Plague; 29th September 2005 at 14:22. |
![]() |
![]() |
![]() |
#16 | |
Guest
Posts: n/a
|
Quote:
|
|
![]() |
![]() |
#17 |
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,388
|
I forgot to mention, the <gradient> object also dos not seem to support gammagroups.
|
![]() |
![]() |
![]() |
#18 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
yes it does, but for some reason you have to refresh the skin (maybe even restart winamp) in order for it to have any effect..
|
![]() |
![]() |
![]() |
#19 | |
Senior Member
|
Quote:
and (suggestion) it would be GREAT if we had some control over gammagroups via maki. /edit: and yes, mc.exe has bug in compiling (probably this is the reason and maybe it's gen_ff bug not mc...) when trying to use List object as string array. |
|
![]() |
![]() |
![]() |
#20 |
Major Dude
|
here's another bug.
getPlayItemMetaDataString(String metadataname); does not return the current song metadata when you load a new playlist. it returns metadata of first song in the playlist not the current playing one. |
![]() |
![]() |
![]() |
#21 |
Senior Member
Join Date: Nov 2004
Location: Valencia, CA
Posts: 304
|
Not sure if this could be classified as a bug or not, but it'd be nice if changes to studio.xnf got written to the file immediately instead of waiting until Winamp is closed.
|
![]() |
![]() |
![]() |
#22 | |
Major Dude
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
another 'bug'..
ttf fonts use ALOT of cpu power if the text is changing alot (try using a timer with milliseconds, it'll kill the cpu).. Bitmap fonts doesn't use much cpu power at all.. |
![]() |
![]() |
![]() |
#24 |
Major Dude
|
another bug which slob's thread reminded me.
cursor tag on guiObjects only work on button objects and does not work on some OS. |
![]() |
![]() |
![]() |
#25 |
Senior Member
|
Else bug:
Tooltips doesn't appear if timer in MAKI frequently updates XML params of objects (or something other). Example: I want make the text with on-fly-chagable color. I hope it will be corrected. |
![]() |
![]() |
![]() |
#26 |
Major Dude
|
another bug: instance_id tag on group definitions does not work, scripts cant pick up the instance_id.
|
![]() |
![]() |
![]() |
#28 |
Guest
Posts: n/a
|
The seeker in modern skins lags behind with some filetypes, such as .ogg, .flac and .wav, but not with .mp3 or .mpg. I mean that if you click on or draw the seeker to move to a position, it briefly flashes back to the previous location and only then moves to the correct new location. This doesn't happen in classic skins. It's only a small bug, but that's what this thread is for.
|
![]() |
![]() |
#29 |
Major Dude
Join Date: Aug 2002
Location: 18 inches from hell
Posts: 736
|
About gradients and eqvis not supporting gammagroups, I think it is so because gradients and eqvis both contain colors that may or may not belong to a same shade, so... applying a single gammgroup to them is rather not logical. But, in eqvis there are three parameters: colortop, colormiddle and colorbottom. You can give the params colors like say... colortop="my.color.top", for colormiddle="my.color.middle" and for colorbottom="my.color.bottom". Then you can alos define the following elements:
<color id="my.color.top" value="0,128,215" gammagroup="mygammagroup"/> <color id="my.color.middle" value="100,128,200" gammagroup="somegammagroup"/> and so on.... Hope it works. And yep, same for the gradient. My MAKI contribs.: ![]() My WebSite My Blog My Skins: fnk 32 Rioport v1 Sienna Burning Steel My Saying: Eat healthy, Stay fit... Die Anyway |
![]() |
![]() |
![]() |
#30 |
Major Dude
|
nope tried that already with eqvis. still wont work.
![]() |
![]() |
![]() |
![]() |
#31 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
gradients can be done as bitmaps in the elements (thus allowing for gammagroups), and then used as regular layers..
for example: PHP Code:
PHP Code:
|
![]() |
![]() |
![]() |
#32 |
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,388
|
I had tried that bitmap gradient method when I read about it, but I couldn't get it to work.
@rohan, unfortunately color ids do not appear to work within the gradient points attribute. Edit: Interesting, your gradient code DOES work, but only with the "mode" attribute specified which I had not seen before. Where did you read about this attribute and what other values are available to assign to it? I guessed "rectangular" and "linear", but it didn't work. Another edit: Ah, by digging through the source here it seems that it would expect a value of either "linear" or "circular" but I guess something is still whacked. The "linear" value does not seem to have any effect on the <bitmap> method, and the "circular" value does not seem to have any effect on the <gradient> method. Last edited by rpeterclark; 20th October 2005 at 15:20. |
![]() |
![]() |
![]() |
#33 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
it defaults to linear if no mode is specified and it works fine, almost.
There's one bug with linear that I have noticed: you can't do a horisontal gradient, only vertical or diagonal. As in, one of the 'y' values need to be set, but none of the 'x' values need to be set in order to make it work. so I can do theese: PHP Code:
PHP Code:
edit: btw, the eqvis doesn't seem to be able to have gammagroups at all, like mentioned earlier. The best thing would be to make it accept colorid's for each color and then make gammagroups for those. Same with regular vis really, instead of, or as a complement to, the current way of doing it with one gammagroup for all bands. edit2: actually, it would be nice if regular gradients (not the bitmap one's I've shown in this post) could accept colorid's aswell, so they could use gammagroups. Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin (plague-edit) Winamp3_Default skin (plague fixes) | Opal Redemption | X-Slant | wa2skin.wac Last edited by Plague; 21st October 2005 at 13:38. |
![]() |
![]() |
![]() |
#34 |
Guest
Posts: n/a
|
Another small bug: the thumb of the balance slider disappears when the slider is used and then set back to the center position, if you use a vertical slider. A working example can be found in Rectangular.
|
![]() |
![]() |
#35 |
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
yep. had this bugtoo in a skin i programmed.
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
![]() |
![]() |
![]() |
#36 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
another bug:
isVideo() isn't reliable. if I for example do a PHP Code:
I'm not sure it'll do this on all video formats tho. |
![]() |
![]() |
![]() |
#37 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
two more bugs..
the first one is a revisit to the discussion about gradients and gammagrouping. I previously said gammagroups work with gradients if the gradients are made as bitmap elements. However, I was not currently aware that regular gradients PHP Code:
If gradients are used this way, changing colorthemes will only have effect after a skin refresh.. Should be simple enough to fix.. I previously also stated that bitmap element gradients have this bug, but that's not true.. gradients done as bitmap elements respond instantly to colortheme changes. The second bug is with <wasabi:hslider/> and <wasabi:vslider/>. they don't respond to an action="" tag, for example: <slider action="volume"/> works, but <wasabi:hslider action="volume"/> doesn't work. The only difference between a <slider/> and a <wasabi:hslider/> is that the second one is pre-skinned with system-elements, and that's the only thing that should differ. But since the wasabi one is an XUI, something prevents it from getting the action tag. I think it's the embed_xui line that's not linking all stuff correctly. same thing with the tooltip tag actually, and that's the same with all XUI's I know of, except wasabi:button. The strange thing is that wasabi:button works fine with both action and tooltip.. |
![]() |
![]() |
![]() |
#38 |
Major Dude
|
yes Plaque, sliders dont seem to react to any "action" tag changes. i dont think its the embed_xui though because even if you do <sendparams ..> still wont work. and even if you do in a script slider.setXMLParam("action","...") still wont respond.
|
![]() |
![]() |
![]() |
#39 |
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
actually, if I create a control script for it that forwards, let's say '_action', to 'action' in onSetXUIParam, it will work.. that's why I think it has to do with embed_xui..
in anyway, it's a bug that's annoying the crap out of me... ![]() now, about the isVideo() bug I mentioned earlier: I've found out that it only seem to happen when using Christophe's in_mplayer plugin instead of in_dshow. So it seems like the problem is with that plugin, not maki. However, it's still a problem. |
![]() |
![]() |
![]() |
#40 |
Major Dude
Join Date: Jan 2006
Location: /\/¯¯¯¯¯\/\ , South-Africa
Posts: 1,030
|
Focus bug: When using winamp with a skin with more than one components in a single window the focus of the mouse and keyboard should be what the mouse last clicked. For skins with component/s this should be like this, evering else must be kept as it is at the moment.
Can't open 3d party plugins with a button.(Only works with Video,Libr,Avs,Playlist) If you use a horizontal slider for the preamp it only goes from 0-127...Not like it should from -127 to 127. PLEASE fix the focus bug because this make SingleUI skins useless. ClassicPro© v2.01 : This plugin allows you to use cPro skins in Winamp. ClassicPro skins are all SUI skins and loads very quickly. ClassicPro skins is even easier to skin than Winamp Classic skins. A new layout have been added since version 2. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|