Skip to content

[9.x.x][Shader Graph] Fix Window Layout bugs - #1315

Merged
alindmanUnity merged 8 commits into
9.x.x/releasefrom
9.x.x/sg/fix-UI-regressions
Aug 7, 2020
Merged

[9.x.x][Shader Graph] Fix Window Layout bugs#1315
alindmanUnity merged 8 commits into
9.x.x/releasefrom
9.x.x/sg/fix-UI-regressions

Conversation

@alindmanUnity

Copy link
Copy Markdown
Contributor

Purpose of this PR

Why is this PR needed, what hard problem is it solving/fixing?
Backport #1298

  • Fixed a bug where the Main Preview window was no longer a square aspect ratio. 1257053
  • Fixed a bug where the size of the Graph Inspector would not save properly. 1257084
  • Increased the default size of the Graph Inspector to not cut off target settings.

Broken behavior:
brokenWindowLayout

Fixed behavior:
fixedWindowLayout


Testing status

Manual Tests: What did you do?

  • Opened test project + Run graphic tests locally
  • Built a player
  • Checked new UI names with UX convention
  • Tested UI multi-edition + Undo/Redo + Prefab overrides + Alignment in Preset
  • C# and shader warnings (supress shader cache to see them)
  • Checked new resources path for the reloader (in developer mode, you have a button at end of resources that check the paths)
  • Other: repeated manual testing on compatible versions
    manually tested new graph creation and reloading existing graphs to confirm new window layouts persist.

Automated Tests: What did you setup? (Add a screenshot or the reference image of the test please)

Yamato: (Select your branch):
https://yamato.prd.cds.internal.unity3d.com/jobs/902-Graphics

Any test projects to go with this to help reviewers?


Comments to reviewers

Notes for the reviewers you have assigned.

@alindmanUnity
alindmanUnity requested a review from a team as a code owner July 16, 2020 19:21
@alindmanUnity alindmanUnity self-assigned this Jul 16, 2020
@alindmanUnity
alindmanUnity requested a review from a team July 16, 2020 19:22
@github-actions

Copy link
Copy Markdown

It appears that you made a non-draft PR!
Please convert your PR to draft (button on the right side of the page)
and cancel any jobs that started on Yamato.
See the PR template for more information.
Thank you!

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Seems to work as well as the 10.x.x version. Approving.

@alindmanUnity

Copy link
Copy Markdown
Contributor Author

large diff on inspectorview file is just line ending changes, one of felipe's backports had completely re-written the whole file. should be safe, manually tested and everything still works as intended.

@alindmanUnity
alindmanUnity merged commit fd153ab into 9.x.x/release Aug 7, 2020
@alindmanUnity
alindmanUnity deleted the 9.x.x/sg/fix-UI-regressions branch August 7, 2020 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants