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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Themes Broken with 3.7: Syntax change?
« previous next »
  • Print
Pages: [1] 2

Author Topic: Themes Broken with 3.7: Syntax change?  (Read 4103 times)

Offline Bockrox

  • Member
  • *
  • Posts: 26
Themes Broken with 3.7: Syntax change?
« on: December 22, 2010, 02:58:51 AM »
I am using Rockbox on an iPod 5 video. It looks like all of my themes have broken with the upgrade to 3.7 (and a later upgrade to 3.7.1 did not fix the problem).

Some themes are very close to normal -- Pen & Paper Plus is a good example. However, most of them (even rockbox_default) are very mangled. All themes have a very raw top toolbar (like the one seen here) and most have a very small font and a very small scrolling area. Does any of this sound familiar?

I would be very happy to provide a screenshot if there is a way to do so.

What could have caused this? Did the theme format change between 3.6 and 3.7?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Themes Broken with 3.7: Syntax change?
« Reply #1 on: December 22, 2010, 07:16:08 AM »
Quote from: Bockrox on December 22, 2010, 02:58:51 AM
I am using Rockbox on an iPod 5 video. It looks like all of my themes have broken with the upgrade to 3.7 (and a later upgrade to 3.7.1 did not fix the problem).

Yes. See the Release Notes for 3.7.

Quote
All themes have a very raw top toolbar (like the one seen here) and most have a very small font and a very small scrolling area. Does any of this sound familiar?

You're missing the fonts package.

Quote
What could have caused this? Did the theme format change between 3.6 and 3.7?

yes, it was intentional and is documented.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Bockrox

  • Member
  • *
  • Posts: 26
Re: Themes Broken with 3.7: Syntax change?
« Reply #2 on: December 22, 2010, 07:40:23 PM »
Ah great. Thanks for all of the very useful information. (I did check the release notes previously, but didn't see anything about themes. I guess I should have searched the word "skin".)

Is there anything the Rockbox team can do to ensure more stability in the future? I appreciate that you guys are always improving this little language, but from my perspective as a user, all I know is that upgrading to 3.7 broke all of my themes. I could imagine little issues like this driving new users away from the (otherwise fantastic) software.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Themes Broken with 3.7: Syntax change?
« Reply #3 on: January 03, 2011, 02:27:55 PM »
The change was for a specific reason (mostly related to internal code).  If something needs changing to make it better then it will happen, but only if really necessary.  The theme language won't change for every release.  There is sometimes a choice between maintaining compatibility and future improvements.  If it isn't possible to have both, then we go for making things better.

The change was well documented, there is a wiki page covering exactly what changes happened, we released a tool to update old theme files etc. etc.

Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Bockrox

  • Member
  • *
  • Posts: 26
Re: Themes Broken with 3.7: Syntax change?
« Reply #4 on: January 04, 2011, 12:41:33 AM »
Quote from: AlexP on January 03, 2011, 02:27:55 PM
The change was for a specific reason (mostly related to internal code).  If something needs changing to make it better then it will happen, but only if really necessary.  The theme language won't change for every release.  There is sometimes a choice between maintaining compatibility and future improvements.  If it isn't possible to have both, then we go for making things better.

I understand and agree. I'm definitely not against making improvements to the language -- sometimes backwards-compatibility needs to be broken to move forward. I totally understand, respect, and agree with that.

Quote from: AlexP on January 03, 2011, 02:27:55 PM
The change was well documented, there is a wiki page covering exactly what changes happened, we released a tool to update old theme files etc. etc.

It was well documented for developers, but not for users. As a user, my themes broke and I had no idea why. There was no notification of the changes and no explanation for the strange behavior. From a design perspective, the software should provide good feedback -- it should make the user aware of what is happening and why.

I try not to make criticisms without offering a solution, so here's my solution: Why not provide a lightweight compatibility check like Firefox does? "This theme will not work with your version and has been disabled. Continue anyway?" Thoughts?
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Themes Broken with 3.7: Syntax change?
« Reply #5 on: January 04, 2011, 01:12:17 AM »
Quote from: Bockrox on January 04, 2011, 12:41:33 AM
It was well documented for developers, but not for users. As a user, my themes broke and I had no idea why. There was no notification of the changes and no explanation for the strange behavior.


That is entirely untrue, if you followed the forums you would have known it was coming, received warning it was going to happen, and known when it did happen.

There was no lack of discussion around it.


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

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Themes Broken with 3.7: Syntax change?
« Reply #6 on: January 04, 2011, 01:19:59 AM »
Basically, Rockbox can't know if it's simple a bad WPS or if it's an "old" WPS unless it contains the entire old WPS definition too, which would more or less defeat the point of removing it. So there's no way for Rockbox to tell you "this is an outdated WPS." It could pop up something when it fails to load a theme, but the fact that it fails to load the theme is evident anyway, isn't it? Getting the fallback theme is a pretty clear indication it failed.

But http://www.rockbox.org/wiki/MajorChanges which is the best place to get an overview of changes between releases mentions the skin breaking change, and links to a page that details it. You even mention that you read the release notes, so it's hardly fair to say "there was no notification" when it's right there, including explanation. "I didn't see the notification" or "I didn't know the right term to recognize the notification was relevant" is hardly the same as there not being one. I don't think it's fair to expect all users to follow the forums, but if you don't actually read through the release notes before upgrading (and click links) what happens to you can hardly be considered anyone else's fault.
Logged

Offline Bockrox

  • Member
  • *
  • Posts: 26
Re: Themes Broken with 3.7: Syntax change?
« Reply #7 on: January 05, 2011, 09:42:01 PM »
Quote from: [St.] on January 04, 2011, 01:12:17 AM
That is entirely untrue, if you followed the forums you would have known it was coming, received warning it was going to happen, and known when it did happen.

There was no lack of discussion around it.
[St.]

I don't mean to step on any toes here, but I still say it's bad design. Don Norman calls it "visibility" -- few users are going to notice a new post in the forums before doing an upgrade, but most users would notice a notification from the Rockbox firmware or Rockbox Utility.

Post Merge: January 06, 2011, 12:00:16 AM
Quote from: Llorean on January 04, 2011, 01:19:59 AM
Basically, Rockbox can't know if it's simple a bad WPS or if it's an "old" WPS unless it contains the entire old WPS definition too, which would more or less defeat the point of removing it. So there's no way for Rockbox to tell you "this is an outdated WPS."

Rockbox doesn't have the ability to know this now, but it could. To do this, you could require that the theme identifies what version of the theme language it is compatible with. A simple line in one of the files -- "theme_version=3" or something like that.

Quote from: Llorean on January 04, 2011, 01:19:59 AM
It could pop up something when it fails to load a theme, but the fact that it fails to load the theme is evident anyway, isn't it?

Evident yes, but certainly not attractive. (In fact, it isn't especially evident either. When I saw my broken themes, I had no idea what was going on. Did I install something incorrectly? Is my iPod defective? Is this a bug in the firmware? Rockbox provides no real feedback of what's going other than "Something is wrong.")

Quote from: Llorean on January 04, 2011, 01:19:59 AM
But http://www.rockbox.org/wiki/MajorChanges which is the best place to get an overview of changes between releases mentions the skin breaking change, and links to a page that details it. You even mention that you read the release notes, so it's hardly fair to say "there was no notification" when it's right there, including explanation. "I didn't see the notification" or "I didn't know the right term to recognize the notification was relevant" is hardly the same as there not being one.

Yes, I agree. I should have read more carefully.

Quote from: Llorean on January 04, 2011, 01:19:59 AM
I don't think it's fair to expect all users to follow the forums, but if you don't actually read through the release notes before upgrading (and click links) what happens to you can hardly be considered anyone else's fault.

I disagree with this. When is the last time you read the Firefox release notes? Probably never. Has this lack of research ever resulted in your confusion? Probably not. Even without reading release notes, Firefox users are never confused about what is going on -- they aren't surprised when an extension stops working, for example.

I think this is because Firefox has a fairly elegant update notifier -- "We notice you upgraded to Firefox 4, but Adblock is not compatible with Firefox 4. It is being disabled now."
« Last Edit: January 06, 2011, 12:04:11 AM by Bockrox »
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Themes Broken with 3.7: Syntax change?
« Reply #8 on: January 06, 2011, 03:38:46 AM »
Quote from: Bockrox on January 05, 2011, 09:42:01 PM
When is the last time you read the Firefox release notes? Probably never.

Ignorance to the documentation, whether deliberate or not, is not the fault of the product.

It certainly cannot be the fault of the software if you blindly installed it without thinking that there may be consequences attached to doing so.

I flatly refuse to believe that anyone can say that there was a lack of notification, or is a lack of documentation about the theme breaking changes introduced.



[St.]
« Last Edit: January 06, 2011, 03:48:48 AM by [St.] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Bockrox

  • Member
  • *
  • Posts: 26
Re: Themes Broken with 3.7: Syntax change?
« Reply #9 on: January 06, 2011, 11:29:38 AM »
Quote from: [St.] on January 06, 2011, 03:38:46 AM
Ignorance to the documentation, whether deliberate or not, is not the fault of the product.

I still disagree. Just having something on paper doesn't allow us to wash our hands of the issue. The information needs to be presented to the user when he needs it and where he needs it. I am willfully ignorant of the Firefox documentation, but this has never caused me grief in all my years of using it.

Quote from: [St.] on January 06, 2011, 03:38:46 AM
It certainly cannot be the fault of the software if you blindly installed it without thinking that there may be consequences attached to doing so.

Again, I frequently upgrade Firefox blindly, but I have never been seen an extension break completely without warning.

Quote from: [St.] on January 06, 2011, 03:38:46 AM
I flatly refuse to believe that anyone can say that there was a lack of notification, or is a lack of documentation about the theme breaking changes introduced.

There was not a lack of documentation, but I believe there certainly was a lack of notification -- neither the Rockbox Utility nor the Rockbox firmware told me anything about these breaking changes. These are the two core pieces of software I was interacting with during the upgrade, so I believe the information should have been presented there.

I still argue that a better approach would be the one Firefox takes. The Rockbox firmware could notify me when a theme is out of date, disable it, and then instruct me to upgrade it.

It looks like we're just going to have to agree to disagree. I would, however, recommend that the Rockbox team pull in more developers interested in usability, as I think this conversation could benefit from more of those perspectives.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Themes Broken with 3.7: Syntax change?
« Reply #10 on: January 06, 2011, 12:24:54 PM »
Quote from: Bockrox on January 06, 2011, 11:29:38 AM
I am willfully ignorant of the Firefox documentation, but this has never caused me grief in all my years of using it.

How many firefox extensions or themes have you developed?
Logged

Offline Bockrox

  • Member
  • *
  • Posts: 26
Re: Themes Broken with 3.7: Syntax change?
« Reply #11 on: January 06, 2011, 12:59:33 PM »
Quote from: gevaerts on January 06, 2011, 12:24:54 PM
How many firefox extensions or themes have you developed?

None, but I have shared ideas that were well-received by Mozilla employees. Why is this relevant?
« Last Edit: January 06, 2011, 01:04:41 PM by Bockrox »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Themes Broken with 3.7: Syntax change?
« Reply #12 on: January 06, 2011, 02:08:14 PM »
I think one thing you may have missed is that not all themes broke. If you read http://www.rockbox.org/wiki/SkinBreakingChange you'll see that only some themes became unusuable - those that made use of the changed tags.

A version string wouldn't do any good because that would end up rejecting perfectly compatible themes as well. As I said earlier, about the only improvement really reasonable is it popping up something to explain when the theme fails to load. Rather than comment on this, it seems like you've decided you're just here to argue.

Rockbox exists in an environment very different than Firefox. Comparing how themes are loaded to how Firefox extensions are handled is hardly useful as they don't exist within the same limitations, nor follow similar rules.

Quote
I would, however, recommend that the Rockbox team pull in more developers interested in usability, as I think this conversation could benefit from more of those perspectives.
also seems to suggest you aren't to familiar with open source in general.  There is no "Rockbox foundation" like there is for Mozilla. There is no guiding force. Knowledge of how the Mozilla project seems to do things isn't as useful here as you may think it is. What developers we get is strictly limited by who shows up with interest in helping to contribute.

Rather than saying we should pull in more developers interested in usability, the ideal response is that you start becoming involved with the programming side and *become* one of those developers. Submit some patches that show how you think it should work. If your response is "I don't know how to program", well now's always a good time to start learning.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Themes Broken with 3.7: Syntax change?
« Reply #13 on: January 06, 2011, 02:27:05 PM »
Quote from: Bockrox on January 06, 2011, 12:59:33 PM
Quote from: gevaerts on January 06, 2011, 12:24:54 PM
How many firefox extensions or themes have you developed?

None, but I have shared ideas that were well-received by Mozilla employees. Why is this relevant?

Sorry, I misread your first post. I thought you meant these were themes that you had created, in which case it is relevant. On re-reading I see I was wrong there.
Logged

Offline Bockrox

  • Member
  • *
  • Posts: 26
Re: Themes Broken with 3.7: Syntax change?
« Reply #14 on: January 06, 2011, 04:20:04 PM »
Quote from: gevaerts on January 06, 2011, 02:27:05 PM
Sorry, I misread your first post. I thought you meant these were themes that you had created, in which case it is relevant. On re-reading I see I was wrong there.

Ah, no problem.

As it happens, I have created Rockbox themes, but I've been approaching this issue from a user's perspective. I agree that theme developers were given ample warning about the changes.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Themes Broken with 3.7: Syntax change?
 

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

Page created in 0.109 seconds with 14 queries.