-
-
Notifications
You must be signed in to change notification settings - Fork 9k
frontend: Transitions (dock) separation part 1 #11880
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
frontend: Transitions (dock) separation part 1 #11880
Conversation
|
@PatTheMav, please just say to avoid mutator even if we check if present beforehand. Using diffs for every mutator use make the review less readable and uses too much space that github ends up hiding stuff. |
I disagree, it is the correct tool for the job to highlight requested changes exactly where they are requested, including the context of the change. Expanding all changes takes a single click and that's a small price to pay for the improved clarity of changes and keeping discussions local to specific changes. |
|
I think you are mixing up the code selected and the diff that you explicitly type in the review. I'm talking about the second. |
68ec976 to
6985616
Compare
6985616 to
0d91fd9
Compare
0d91fd9 to
4894a29
Compare
PatTheMav
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all my comments were addressed, right?
The conversation(s) I did not mark as resolved by myself were waiting for your feedback that if the changes to solve it were good for you. |
4894a29 to
e1e6f76
Compare
|
Just a rebase, I still did not found the source of my issues with the signal handler mutex and websocket… |
Warchamp7
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted by tytan above, this currently crashes when run. I'm putting a review to block merging as an extra safety.
e098544 to
e26a134
Compare
|
The issue at startup should be now resolved. |
e26a134 to
2f93c48
Compare
2f93c48 to
7fe4981
Compare
7fe4981 to
7b3b06e
Compare
PatTheMav
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tested this locally and for some reason the button to delete a transition is always disabled, even for transitions past the default "Cut" and "Fade" ones.
After relaunching OBS, the button to reach the transition properties or to rename it also became disabled for all of them.
7b3b06e to
c78a87b
Compare
|
I feel dumb to not have caught that I forgot to "set transition" while setting the current transition. Edit: I will squash the two last commit ("reduce" and "set the transition" with "replace combobox direct access") once everything is good. |
c78a87b to
fe947fd
Compare
36802c8 to
2128d1f
Compare
PatTheMav
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid this still doesn't work right, as deleted transitions are retained in the dropdown:
- Given transitions A,B,C,D, and E
- Deleting E retains E in the list
- Deleting D retains D in the list
- Trying to delete D or E again asks for confirmation to delete C
Indeed the rename and properties actions also are associated with transition C, even when the retained transition D or E are selected.
acede6c to
9c085c8
Compare
9c085c8 to
b12c7d8
Compare
Has this changed since then? |
|
Yes, it was fixed |
b12c7d8 to
29903d0
Compare
Description
Began to split transitions and transition duration storage from the UI.
Also makes the frontend code rely more on transitions UUID even if those are not preserved between sessions for now.
While this PR remove any kind of reliance on index of a transition, it does not overhaul things to rely only on UUID so there is still reliance on the transition name as an identifier. Same for retaining which transition was inserted last.
Motivation and Context
After multiple tries, I finally managed to separated the transitions data from this combobox, now it needs reviews and testings…
The awaited sequel of #7278, but it's the prequel of the expected sequel.
How Has This Been Tested?
Please tests
Types of changes
Checklist: