Changelog

The Omniverse UI Framework.

omni.ui provides the basic types necessary to create rich extensions with a fluid and dynamic user interface in the Omniverse applications.

[2.9.4] - 2022-04-21

Fixed

  • ui.Window.deferred_dock_in prevented normal work of the layout

[2.9.3] - 2022-04-13

Fixed

  • Crash when creating and destroying ui.Image

[2.9.2] - 2022-04-08

Fixed

  • Change the CanvasFrame zoom max from constant 10 to float max

  • Make the CanvasFrame zoom near the zoom min and zoom max smooth

[2.9.1] - 2022-04-06

Fixed

  • The workspace should hide the explicitly invisible windows even if the flag keep_windows_open is set.

[2.9.0] - 2022-04-06

Fixed

  • Message “Failed to acquire interface while unloading all plugins” related to Button, Image and ImageWithProvider

[2.7.10] - 2022-04-05

Added

  • setZoomKeyShortcut api for ui.CanvasFrame to allow user to set alternative shortcut for graph zoom in adition to middle mouse scroll

[2.7.9] - 2022-02-22

Changed

  • Updated capture_and_compare with use_log parameter

  • Updated docked_test_window for omni.kit.window compatibility

[2.7.8] - 2022-03-25

Fixed

  • Compensate dpiScale for the menu bar

[2.7.7] - 2022-03-24

Fixed

  • Fixed the “Hide Tab” window title menu item

  • Polishing ui.Menu

[2.7.5] - 2022-03-17

Fixed

  • Fixed /app/window/hideUi mode when only viewport is visible

[2.7.4] - 2022-03-14

Fixed

  • Checking ImGui visibility when creating new window

[2.7.3] - 2022-03-10

Fixed

  • Fixed the size of ui.ToolBar. Before it was always 600x400 and it’s the reason why the saves workspace proportions were wrong. So the workspace proportions are fixed.

  • Fixed the visibility of windows in ui.Workspace.restore_workspace.

[2.7.2] - 2022-03-08

Fixed

  • Treeview column reorder issue of wrong column width

[2.7.1] - 2022-02-18

Fixed

  • OM-36695: Drag and drop of multiple items

  • OM-43762: Freezing of ui.FreeBezierCurve when end_tangent_height is extreamly big

  • “Move to External Window” menu should only appear when clicking the title

[2.7.0] - 2022-02-18

Added

  • ui.CanvasFrame.set_pan_x_changed_fn for tracking how user navigates

  • ui.MenuItemCollection that behaves like a radio box

  • Property ui.Widget.tooltip so it’s possible to query it

  • Ability to create right-aligned horizontal menu

Fixed

  • The menu automatically updates when changing the checked property

  • Horizontal ui.Menu doesn’t open windows on hover

  • ui.MenuHelper checks if the user clicked in another window

[2.6.1] - 2022-02-14

Fixed

  • OM-44806: ui.Widget.checked_changed_fn

[2.6.0] - 2022-02-02

Changed

  • Full refactor of ui.Menu. Fully compatible with the old menu.

[2.5.19] - 2022-01-28

Changed

  • set TreeView header’s height and width to 0 instead of computedHeight and computedWidth

[2.5.18] - 2022-01-26

Added

  • Arg in Workspace.restore_workspace to keep the windows open

[2.5.17] - 2022-01-19

Changed

  • Fix issue for OM-40734: once TreeView is scrolled, the header is not clickable

[2.5.16] - 2022-01-19

Changed

  • Delay tooltip when hovering is larger than 0.5 second

[2.5.15] - 2022-01-18

Added

  • Add scroll_x_max and scroll_y_max for ScrollingFrame

[2.5.14] - 2022-01-11

Changed

  • The way to add a shade to named color: cl.test_named_shade_append = cl.shade(cl("#000000"), red=cl("#FF0000")) cl.test_named_shade_append.add_shade(blue=cl("#0000FF"))

[2.5.12] - 2022-01-07

Changed

  • Override previously submitted tooltip (only one tooltip is allowed)

[2.5.11] - 2022-01-06

Changed

  • cl.shade appends palette to existing shade

[2.5.10] - 2021-12-16

Fixed

  • Crash when specifying columns_resizable=True on a treeview but forgetting to set column_widths

[2.5.9] - 2021-12-13

Added

  • ImageWithProvider.prepare_draw to force the image loading

[2.5.8] - 2021-12-09

Added

  • The ability to move ui.Window to the virtual OS window. See ui.Window.move_to_app_window

[2.5.7] - 2021-12-08

Added

  • Warning message when restoring the layout of tab bar of the window that doesn’t exist

[2.5.6] - 2021-12-02

Fixed

  • Crash when ui.Image attempts loading a broken svg the second time

[2.5.5] - 2021-11-17

Added

  • ui.Separator supports title parameter for fancy menu headers

[2.5.4] - 2021-11-06

Fixed

  • Crash ui.TreeView when getting children right after constructor

[2.5.3] - 2021-11-02

Added

  • ui.Menu.shown is a property that is True if the menu is shown on the screen

  • Static ui.Menu.get_current() that returns currently shown menu

  • ui.Inspector can get children of ui.TreeView, ui.Grid and ui.Frame

  • The ability to use FontHelper with non-widgets

[2.5.2] - 2021-09-20

Added

  • Added missing text binding to omni.ui.Menu

[2.5.1] - 2021-09-07

Added

  • The ability to add third-party modules to namespace omni.ui

[2.5.0] - 2021-08-17

Fixed

  • TreeView crash when AbstractItem is removed in Python

[2.4.0] - 2021-07-22

Added

  • OffsetLine draws the line stuck to the bounds of other widgets

[2.3.2] - 2021-06-21

Fixed

  • [OM-29853] Fixed crash in WindowHandle::isSelectedInDock

[2.3.1] - 2021-06-15

Changed

  • When dock_tab_bar_visible is false, tab bar has a triangle and doesn’t have tabs

Added

  • Added a menu that sets dock_tab_bar_visible for a tab if it’s a single tab in tab bar

  • Added dock_tab_bar_enabled to disable tab bar completely

  • Serialization of dock_tab_bar_visible and dock_tab_bar_enabled in quick layout

[2.3.0] - 2021-06-04

Added

  • The ability to use style shades for floats and URLs in style properties

[2.2.0] - 2021-05-31

Added

  • ui.Widget.set_computed_content_size_changed_fn will be called when the computed size of the widget is changed.

[2.1.8] - 2021-05-14

Fixed

  • Tooltip on ui.Line

  • ui.StringField size in ui.CanvasFrame

[2.1.7] - 2021-05-11

Added

  • Added WINDOW_FLAGS_NO_SCROLL_WITH_MOUSE that locks scroll

Fixed

  • Fixed pan over a backdrop in Material Editor

[2.1.6] - 2021-05-07

Fixed

  • Don’t block hovering state when popup window is on the screen

[2.1.5] - 2021-04-08

Fixed

  • position_x/position_y of undocked window

Changed

  • Those methods are not abstract anymore: a. AbstractItemDelegate::buildBranch b. AbstractItemDelegate::buildHeader c. AbstractItemModel::appendChildItem d. AbstractItemModel::removeItem

[2.1.4] - 2021-04-06

Added

  • ui.Widget.FLAG_WANT_CAPTURE_KEYBOARD: The flag passed to key_pressed callback that indicated omni.ui is using the keyboard input exclusively

[2.1.3] - 2021-03-18

Added

  • Default style can be applied to omni.ui.style.default

  • CSS color names

  • Named colors

  • Shades

[2.1.2] - 2021-02-17

Added

  • Added docked_test_window function to OmniUiTest

[2.1.1] - 2021-02-08

Added

  • ui.Workspace.set_show_window_fn

  • ui.Workspace.show_window

[2.1.0] - 2021-01-12

Changed

  • Documentation

  • Shapes API to have free and non-free widgets. Shape is abstract class, all the derived classes should implement _drawShape.

Added

  • Widget.style property

  • FreeLine, FreeRectangle, FreeCircle, FreeTriangle

[2.0.1] - 2020-11-16

Added

  • Started changelog

  • Keyboard callback for ui.Window

  • Ability to grab the keyboard for the exclusive use of ui.Window