Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken theming of custom themes on 1.3 alpha master #6391

Closed
Rossmaxx opened this issue May 2, 2022 · 7 comments
Closed

broken theming of custom themes on 1.3 alpha master #6391

Rossmaxx opened this issue May 2, 2022 · 7 comments
Labels

Comments

@Rossmaxx
Copy link
Contributor

Rossmaxx commented May 2, 2022

Bug Summary

i am running 1.2 and 1.3 on the same system and have encountered some bugs related to theming.

expected (as seen on 1.2)
1 2 themed

when i open chameleon theme on 1.3
chameleon on 1 3

Steps to reproduce

Grab any theme from lsp and use it for alpha.

Affected LMMS versions

1.2 and 1.3 alpha (build #6390 )

another issue is that whenever i open 1.3 then open 1.2, it reverts back to default. i think that has got something to do with the lmmsrc.xml file.

@Rossmaxx Rossmaxx added the bug label May 2, 2022
@Monospace-V
Copy link
Contributor

Monospace-V commented May 2, 2022

Not sure if this counts as a theming bug.
It seems to me your actual problem isn't theming as of itself, but rather the colour change which happens when loading a project edited in a newer version of LMMS, in an older version of LMMS. I take this as an indicator that the b/b won't load and play properly. You can take this as an indicator of anything you like. Most primarily, though, it's an indicator of the fact it's not gonna load right. It doesn't make much sense to modify this behaviour to allow new files to be loaded in older versions, due to the nature of compatibility itself.

image
(Attempting to use projects edited with higher versions of LMMS in older versions can be hazardous.)

Features cannot be loaded with unnecessary code just so the loaded colour is correct.
There is no expectation for 1.3 files to open in 1.2 properly, and redundant trying to ensure it does.

Yes, the theme does tend to change and cannot be kept. Keeping a separate settings file has the problem that whenever you update LMMS you need to re-save settings. Using two (well, four, but usually stick to two of them) versions of LMMS myself, and having been unable to use the Cameleon theme and forced to stick with default, I know what you mean. I like to believe the same thing which goes for backward compatibility on themes goes for lmmsrc.xml. The entry name and order itself is changed. However, I think this might be fixable. Not that it makes much sense, but it could be possible.

@Rossmaxx
Copy link
Contributor Author

Rossmaxx commented May 2, 2022

It seems to me your actual problem isn't theming as of itself

It is. The 3rd pic is the actual issue.the 2nd one is just an extra point.

I take this as an indicator that the b/b won't load and play properly.

It does not work. But i do not expect to get it fixed. Just stated it for more points.

Features cannot be loaded with unnecessary code just so the loaded colour is correct.
There is no expectation for 1.3 files to open in 1.2 properly, and redundant trying to ensure it does.

This is why i left the problem in the 2nd pic to 'no need to be fixed'.

Yes, the theme does tend to change and cannot be kept. Keeping a separate settings file has the problem that whenever you update LMMS you need to re-save settings.

So its better not to touch lmmsrc.xml either.

But not getting chameleon to work properly (ie the third pic) is a deal breaker for me. I think the original creator of the theme should be fixing it via css.

@Monospace-V
Copy link
Contributor

Cameleon was built for 1.2. Trying to "fix it via css" breaks the theme for 1.2 in favour of an unstable alpha version only some of us use. Have you considered manually updating style.css yourself?

(Quick note: I also suggest using the forums, where we can help you more with any problems or questions, or the LMMS discord, if you want help from more than 2 people only and are sure you want a response at all, before filing anything on the github. Also, it ensures that "No need to be fixed" items don't take up a large part of a bug report but end up mentioned anyways. And I'd use the discord chat if I could, so that's an endorsement from me.)

I'm willing to, on that note, look at the style.css and see if I can fix the b/b TCO colour for Cameleon for 1.3. If I do, I'll provide you with an updated version.

@Monospace-V
Copy link
Contributor

Update: I cannot figure out how to fix the theme for B/B editor.

@Rossmaxx
Copy link
Contributor Author

Rossmaxx commented May 3, 2022

Cameleon was built for 1.2. Trying to "fix it via css" breaks the theme for 1.2 in favour of an unstable alpha version only some of us use.

Now i get it. So this issue can be repurposed into support for older themes with 1.3 (because most themes are built for 1.2 and so that the usability with the upcoming 1.3 stable shall not be affected).

Have you considered manually updating style.css yourself?

I wanted to but don't know css.

I thought about it and found why the b/b is broken. I think its because the b/b was renamed to patterns and 1.2 mmpz files still use b/b instead of patterns.

(Quick note: I also suggest using the forums, where we can help you more with any problems or questions, or the LMMS discord, if you want help from more than 2 people only and are sure you want a response at all, before filing anything on the github.

I did go to discord but after writing this issue. Apparently qnebra has a fixed file. He will send it.

@Monospace-V
Copy link
Contributor

I don't know the CSS either. I just mess around.
I managed to fix the black piano roll notes, but can't find how to fix bb. Noticed that it changed to pattern, but still...
Can I get that fixed file if it's not sent here? Thanks

@allejok96
Copy link
Contributor

this issue can be repurposed into support for older themes with 1.3

Good idea. We have backwards compatibility for project files but I don't know if themes have been discussed. Though fixing a broken theme should be pretty straightforward I think.

@Rossmaxx Rossmaxx changed the title broken theming on 1.3 broken theming of custom themes on 1.3 alpha master May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants