Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Need help with my WPS :/
« previous next »
  • Print
Pages: [1] 2

Author Topic: Need help with my WPS :/  (Read 11809 times)

Offline Biont

  • Member
  • *
  • Posts: 49
Need help with my WPS :/
« on: November 11, 2009, 12:27:09 PM »
Hello everyone.

I've been working on my (touch enabled) theme for my Cowon D2 for 2 weeks now and it's getting better and better.

Sadly, I've encountered a weird glitch that clips off about 15px of the album art when playback is paused (which causes an options menu to pop up)

After spending the whole afternoon looking for what causes this, I give up and ask you. I know this one is more complicated than most standard themes, but I can't solve this without help :-\ ???


Here are some instructions about how to use the theme:
http://img134.imageshack.us/img134/9197/fidelity.jpg

and here is the theme itself:
http://www.mediafire.com/download.php?m1l03x2jijk


Any help would be greatly appreciated.  :D


EDIT: This won't work with the D2 simulator found at the extras page since it's outdated. Also the touchscreen mode had to be set to absolute point, of course
« Last Edit: November 11, 2009, 12:56:06 PM by Biont »
Logged

Offline moonscapex

  • Artist
  • Member
  • *
  • Posts: 75
  • Linux User - 5 Rockbox Installs
    • MoonscapeX's Build
Re: Need help with my WPS :/
« Reply #1 on: November 15, 2009, 07:57:47 PM »
Wow, impressive WPS.  Im guessing that when paused, a viewpoint or image is shown that is overlapping with the album art.  Thats all I would think.
Logged
MoonscapeX's Build Sansa E200 (v2)   //\\  //\\oonscapeX
Rockbox Album Art Downloader          //  \\//  \\@gmail.com

Offline Biont

  • Member
  • *
  • Posts: 49
Re: Need help with my WPS :/
« Reply #2 on: November 16, 2009, 03:32:26 PM »
Thank you for your answer, I'm glad you you like the WPS :D.


But If the problem really is an overlapping viewport/image, I haven't been able to find it for a pretty long time now :-\ (Though I admit I haven't looked at the WPS for some days since the screen buffer is full and I can't do anything substantial anymore)

That doesn't neccessarily mean it's not the actual problem, I'm probably just "blind" from looking at my own code for so long.
But I already spend hours looking for that damn overlapping viewport and it's just not there^^

Also, the glitch pretty randomly appears at the top of the screen. I once made a small change to the WPS and then it appeared a few pixels below the options screen, which didn't make any sense at all. From what I learned, it shouldn't behave like that if overlapping viewports are the problem

I'm really out of ideas here.....


Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Need help with my WPS :/
« Reply #3 on: November 16, 2009, 06:21:34 PM »
Can you post a screenshot of the problem?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Biont

  • Member
  • *
  • Posts: 49
Re: Need help with my WPS :/
« Reply #4 on: November 17, 2009, 09:59:59 AM »
Sure.

I also attached a screen of the WPS is playing mode so you can see the exact difference
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Need help with my WPS :/
« Reply #5 on: November 17, 2009, 12:24:57 PM »
The album art is shown in viewport c. The options pop-up is shown in viewport d.
Both are shown by %?mp<-|%Vdc|%Vdd|-|-|-|-|-|->, which means that c should be shown while playing, and d while paused. They are not shown anywhere else in the wps.

This means that I think there is indeed a bug, but the result of that bug is not that the AA is clipped while paused, it's that parts of the AA are shown at all.
Logged

Offline perfectdrug

  • Artist
  • Member
  • *
  • Posts: 103
Re: Need help with my WPS :/
« Reply #6 on: November 17, 2009, 01:32:32 PM »
a current build simulator shows this behaviour also while seeking.
Logged
uʍop ǝpısdn < sbuıʇʇǝs pɔ1 < ʎɐ1dsıp < sbuıʇʇǝs 1ɐɹǝuǝb

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Need help with my WPS :/
« Reply #7 on: November 17, 2009, 01:43:14 PM »
Quote from: perfectdrug on November 17, 2009, 01:32:32 PM
a current build simulator shows this behaviour also while seeking.

Not surprising. The %?mp line doesn't specify anything for statuses other than play and pause. That means that the same redraw bug occurs (i.e., AA does not get cleared)
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Need help with my WPS :/
« Reply #8 on: November 17, 2009, 02:19:52 PM »
I cant see anything obvious in the skins... if I get a chance I'll look at it in the sim tonight... I'm wondering if its a wierd interaction between the wps and sbs though
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Biont

  • Member
  • *
  • Posts: 49
Re: Need help with my WPS :/
« Reply #9 on: November 17, 2009, 02:30:53 PM »
Quote from: gevaerts on November 17, 2009, 12:24:57 PM
This means that I think there is indeed a bug, but the result of that bug is not that the AA is clipped while paused, it's that parts of the AA are shown at all.

Sadly, that's the only way to make the WPS work as intended. I tried to put the AA in the background several times, but then the AA just wouldn't show up at all. Also the touch areas need to be in conditional viewports.

@JdGordon: I also thought this might be the problem, but there are no overlapping viewports there, either. I played around with the UI viewport setting, but it didn't help.
It'd be great if you had a look at it, anyway :)



....I know I'm asking the WPS to do things it's not designed for. I just hope it still can be solved with the WPS code I'm familiar with. If it's a problem with the skin enige itself, I can't do anything (which is very annoying to me)
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Need help with my WPS :/
« Reply #10 on: November 17, 2009, 02:34:32 PM »
Quote from: Biont on November 17, 2009, 02:30:53 PM
....I know I'm asking the WPS to do things it's not designed for. I just hope it still can be solved with the WPS code I'm familiar with. If it's a problem with the skin enige itself, I can't do anything (which is very annoying to me)

screw that... this theme is damn impressive and definitely should be working :)  (/me needs to get his touchscreen targets going again)
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Biont

  • Member
  • *
  • Posts: 49
Re: Need help with my WPS :/
« Reply #11 on: November 17, 2009, 02:35:48 PM »
Hehe....thanks for the heads up :D
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Need help with my WPS :/
« Reply #12 on: November 17, 2009, 02:43:47 PM »
OK, I found the cleared line issue.

The %mp line is wrong. It needs to be
%?mp<|%Vdc|%Vdd||||||>
(these are not "set parameter to default" bits).

That gets rid of the '-' character shown at the beginning of the cleared line.
The cleared line itself is caused by the line ending at the end of the %mp line. One solution for that would be to move the entire %mp line out of any active viewport, e.g. by putting it right at the beginning of the file (I tried just before the %V|8...). I believe you should also be able to do it by placing comment markers at the end of the line to eat the newline character, but I couldn't get that to work.

The AA area is still cleared every time there's a full redraw (after e.g. context menu, quickscreen, backlight off,...) while not in "playing" state. I can't think of a way to fix that right now.
Logged

Offline perfectdrug

  • Artist
  • Member
  • *
  • Posts: 103
Re: Need help with my WPS :/
« Reply #13 on: November 17, 2009, 03:02:27 PM »
Cool, can you post an updated version, when it is finished?
I would like to port it to portrait mode for e.g. the mini2440. If I may.
Logged
uʍop ǝpısdn < sbuıʇʇǝs pɔ1 < ʎɐ1dsıp < sbuıʇʇǝs 1ɐɹǝuǝb

Offline Biont

  • Member
  • *
  • Posts: 49
Re: Need help with my WPS :/
« Reply #14 on: November 18, 2009, 02:48:04 PM »
Thank you so much ;D

Okay now it is fixed

Here is the most recent version (with "custom font" and custom iconset):
http://www.mediafire.com/?zymzymeygmn

I hope there will be a theme site for the D2 soon :)



Also, can I please draw your attention to this thread that was moved to the feature ideas forum that noone reads:
http://forums.rockbox.org/index.php?topic=23083.0

My theme could be so incredibly much more awesome if there were some more tokens to work with


@perfectdrug: Sure! Just mention me somewhere ;)
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Need help with my WPS :/
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.122 seconds with 20 queries.