-
Notifications
You must be signed in to change notification settings - Fork 322
ISX-1851 Remove title from editor window #1822
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
Conversation
… match up menu icon and heading.
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.
LGTM
Reverted the change to title I did while checking it, also replaced incorrect screenshot |
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.
Just needs formatting running on the commit, but looks good
Should hopefully be fixed now. |
Getting 2 different errors that don't repro on develop when adding new maps to fresh assets. Steps to repro: Create a new input asset -> make sure it is in auto save and add a new map -> get UITK error from Editor side -> delete that map and add one again -> get nullref from Input System side Unity_2024-01-29_15-20-17.mp4 |
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.
updating status
@Pauliusd01 - Checked the following
I noticed the exception happens in Unity native UI framework code. Do you happen to have a full stack trace. A video is great for reproduction but not very helpful to find the problem when I cannot replicate. Are you saying this exception only happens on this branch and not on develop using the same Unity version? |
For clarity, as discussed outside this PR, I failed to reproduce on macOS while @Pauliusd01 got the errors on Windows 10 so there is likely a platform-dependent issue, likely in UITK implementation and indirectly triggered by this PR. |
… case its not valid (null reference)
@Pauliusd01 I pushed a potential fix for the renaming problem that attempted to enter rename mode without a selection as I was able to reproduce the reported issue on Win10 but not on macOS so something regarding renaming is platform dependent. Feel free to retest. |
…thub.com/Unity-Technologies/InputSystem into isx-1851-remove-title-from-editor-window
I dinged further into this yesterday and the problematic behavior is caused by renaming logic where there isn't a clean adoption of the model-view design in the view components. Hence there is work needed on renaming and selection logic (unrelated to changes on this branch). |
I think the code in this PR supersedes this |
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've moved all key changes over into the other PR so this one shouldn't land.
@lyndon-unity What exactly was moved then? Does this imply the regression introduced by this branch and attempted to be solved in sub-branch #1833 was also ported into #1834? I believe it would be good to avoid porting that regression into 1834. |
I haven't looked at the sub branch and the 'regression'. |
@lyndon-unity the regression seems completely unrelated to the changes on this PR but for some reason these changes triggers a problem that seems to only be visible on Windows and not macOS. Likely related to focus/selection, hence the changes on the other branch. The RenameNewActionMaps changes where added as a way to mitigate the problem. The problem surfaced just by changing the UXML which was the odd part. |
I believe this PR is obsolete now due to other changes. Will close this PR but leave branch existing for a while longer if there is need to pick any cherries from it. |
Description
Removes the header title from UITK editor window when used outside Project Settings.
Improves styling of header title in Project Settings.
Changes made
Removes the header title from editor window as called out in user feedback here: https://forum.unity.com/threads/project-wide-actions-1-8-0-pre-2-release-feedback-wanted-new-update-released.1488843/ by Walter_hulsebos.
Modifies header title styling to look more similar to other Settings. Not perfect but closer. Also alignes menu button with container window menu button.
Notes
Checklist
Before review:
Changed
,Fixed
,Added
sections.([case %number%](https://issuetracker.unity3d.com/issues/...))
.Area_CanDoX
,Area_CanDoX_EvenIfYIsTheCase
,Area_WhenIDoX_AndYHappens_ThisIsTheResult
.During merge:
NEW: ___
.FIX: ___
.DOCS: ___
.CHANGE: ___
.RELEASE: 1.1.0-preview.3
.