Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved REGRESSION: shortcut keyboard no longer there

Discussion in 'Unity 6 Beta' started by laurentlavigne, Apr 5, 2024.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,436
    Displaying colored keys in UIToolkit was too hard?
    Guys I want to remind you that this is a visual editor, not VI.
    upload_2024-4-4_17-0-24.png
     
  2. nehvaleem

    nehvaleem

    Joined:
    Dec 13, 2012
    Posts:
    440
    I like this version better than the previous one, to be honest. Is it a bug really?
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,436
    I don't see how less visibility is better
    every other app transitioned to showing the keyboard, Unity's the only one that regressed
    upload_2024-4-5_16-48-44.png
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,718
    Hey, this is going to be a bit silly but increase your shortcut's window width a little bit... the keyboard should appear. I just checked the source code and it hides the keyboard if the window width is less than 850 pixels: https://github.com/Unity-Technologi...utManagerEditor/ShortcutManagerWindow.cs#L171

    This hasn't changed since 2022.3: https://github.com/Unity-Technologi...utManagerEditor/ShortcutManagerWindow.cs#L171

    It looks like for whatever reason the window in your second screenshot is a few pixels wider and crosses the threshold.
     
  5. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,436
    that's funny, maybe windows size default changed...

    It's better to keep the keyboard on screen but cropped when window size is below 850, this way we intuitively know to expand the window.
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,718
    I'll pass the feedback to the team maintaining this!
     
    Ryiah, OldMage and laurentlavigne like this.
  7. claudiaantoun

    claudiaantoun

    Unity Technologies

    Joined:
    May 14, 2021
    Posts:
    22
    Hey @laurentlavigne! :)

    Thanks for reaching out and for the suggestion! However, this change was introduced because the keyboard visualization does not respond well to resizing. This prevents proper cropping of the keyboard visualization without causing additional issues.
     
  8. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,436
    Jeez guys, what do you code this with? noodles?
    then if you can't do it then don't allow resizing in the axis that makes this thing "uncomfortable"
     
  9. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,533
    You have to be joking. I just played around with the window and the minimum size of it is just 1 pixel on the width and height away from the threshold to enable the visual. Removing just one pixel from both won't have any effect on the visual.

    Here is the visual after removing a combined total of 66 pixels of width and 16 pixels of height. It's not as pretty as it could be but it shows you do have some room to work with. I didn't even touch the spacing between the three columns. I can remove at least 20 pixels of padding while still being clearly separate sections.

    upload_2024-4-10_19-13-29.png
     
    Last edited: Apr 11, 2024
  10. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    2,500
    Every post by this person is more and more rude. Go touch grass, for crying out loud.
     
    InnoAd likes this.