Skip to content

Master effects - #8108

Merged
saintmatthieu merged 2 commits into
audacity:masterfrom
saintmatthieu:7957-master-effects
Jan 28, 2025
Merged

saintmatthieu merged 2 commits into
audacity:masterfrom
saintmatthieu:7957-master-effects

Conversation

@saintmatthieu

@saintmatthieu saintmatthieu commented Jan 27, 2025 •

Copy link
Copy Markdown
Contributor

Resolves: #7957

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

Please note that a color inconsistency with the design specification (normal state of the power buttons being brighter in the implementation) was deliberately left as such, for the reason given in this comment.

  • Undo/Redo
  • Power buttons
  • Effect panel toggling works as before
  • "E" shortcut also closes the panel (previously could only open it)
  • Add / Remove / Replace effects on track and master effects works

@saintmatthieu
saintmatthieu force-pushed the 7957-master-effects branch 2 times, most recently from d3f28c0 to fe1597f Compare January 27, 2025 16:52
@saintmatthieu
saintmatthieu marked this pull request as ready for review January 27, 2025 16:54
@saintmatthieu
saintmatthieu requested review from Eism and kryksyh January 27, 2025 16:54
@saintmatthieu saintmatthieu changed the title PoC ! [skip-ci] Master effects Jan 27, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that we share the ui theme color definitions with the framework. Would it make sense to introduce audacity-specific color definitions?
Also because FlatButton applies non-1 opacity value, the color is not black, but grayish, we need to allow to disable the opacity on the button.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding out where the discrepancy between the specs and my implementation lies 👍

Would it make sense to introduce audacity-specific color definitions?

This would mean allowing the two apps to diverge more in terms of look-and-feel, it should be discussed with the designers.

In particular for buttons, there are three opacities:

  • normal state: fairly opaque,
  • hover state: feebly opaque,
  • pressed state: completely opaque.

I guess it was on purpose that pressed and normal states differ, but the spec for this task, indeed, would requires equal opacity for both. I would like to raise this during the next demo meeting.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add policy: ScrollBar.AlwaysOn to id: scrollbar item? Without it gets really confusing about how many effects I have in stack:

image

vs

image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with you. I'll make a push for this (if designers aren't happy I'll change it back later).

@saintmatthieu
saintmatthieu merged commit 4148403 into audacity:master Jan 28, 2025
@saintmatthieu
saintmatthieu deleted the 7957-master-effects branch August 28, 2026 11:10
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.

Master effects

2 participants