Skip to content

[Feature] Add Timeline Playhead support#9

Merged
Berikai merged 5 commits intomasterfrom
additional-features
Jun 30, 2024
Merged

[Feature] Add Timeline Playhead support#9
Berikai merged 5 commits intomasterfrom
additional-features

Conversation

@Berikai
Copy link
Copy Markdown
Owner

@Berikai Berikai commented Jun 30, 2024

Timeline Playhead, the line that moves when a track is playing, was not customizable with this editor since it was a hard coded color value and this theme editor was only supported obvious colors.

There was a high demand about editing Timeline Playhead color, so here it goes!

timeline-playhead-example-green

This branch introduces the ability to edit the Timeline Playhead color and restructures the codebase to facilitate adding new hardcoded colors in the future. However, due to the way this editor was designed, adding new hardcoded colors requires rewriting individual classes one by one.

A special thanks to @zezic for sharing his knowledge on Bitwig bytecode and how the Timeline Playhead can be found.

@Berikai Berikai merged commit 1344d5d into master Jun 30, 2024
@AndrejMitrovic
Copy link
Copy Markdown

Hi @Berikai,

What is this option called in Bitwig 6? Or is the playhead coloring not supported yet for Bitwig 6? I've only managed to change it by editing the White: #ffffff property, but that's not ideal.

Thanks for your hard work!

@Berikai
Copy link
Copy Markdown
Owner Author

Berikai commented Oct 10, 2025

Hi @AndrejMitrovic!

Unfortunately, this option isn't implemented for Bitwig 6 - to be more accurate, it's not implemented after 5.2 Beta 11.


STORYTIME lol

There wasn't any color value regarding "Timeline Playhead" by default, which means it was a hard-coded value in the Bitwig's code. It was a highly requested feature, so that I write a patch class specifically for that value, digging into the bytecode to find the hard-coded location. After, Bitwig happened to change the "Timeline Playhead" which resulted in changing the internal code structure. Then, I realized I'd rather prefer manage what is more sustainable rather than struggling keeping track of hard-coded values individually.

For more info, check this release note: https://github.com/Berikai/bitwig-theme-editor/releases/tag/1.4.1


Since, the color patching algorithm is changed in 2.0-development, I might be able to find a way to support it again. Also, thanks for letting me know that White: #ffffff property affects the color of Timeline Playhead, I somehow couldn't catch that until now. That might help!

Appreciate the comment, have a good one!

@AndrejMitrovic
Copy link
Copy Markdown

Thanks for the great write-up, appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants