Connect with us

HarmonyOS

Huawei HarmonyOS 5.0.2 releases with new features, optimizations and fixes

Published

on

HarmonyOS NEXT beta

Huawei has announced the HarmonyOS 5.0.2 beta 1 rollout for developers with new enhancements and features that target a better user experience and improvements. This is the first beta version for 5.0.2 based on API 14 compared. Below you can check the changelog for this upgrade.

The changelog is huge and we’ve only mentioned the ARKUI due to its graphical implications on the development of HarmonyOS 5.0.2. You can read the full changelog in the source link below.

harmonyos 5.0.2

Credit – Huawei

Notice that HarmonyOS 5.0.2 Beta 1 includes new features, enhancements, improvements, bug fixes, and optimizations for previously released software.

  • Keyboard avoidance mode during text input supports cursor avoidance.
  • Added support for converting attributed strings into HTML formatted strings.
  • Added support for setting the modal type of subwindows.
  • Added support for setting component-level security zones for containers.
  • Added support for obtaining the drawing area information of a specified character in a text component.
  • The title and menus attributes of Navigation (NavDestination) now support the Resource resource type.
  • The Navigation custom transition animation capability is enhanced to support setting the system title bar animation and content animation separately.
  • The TextArea and Search components have added a new onSubmit event to keep the component’s editing state when the event is submitted.
  • A new unicode object is added to the key event, which supports returning the unicode code value of the key corresponding to the current keyEvent.
  • The SheetOptions of semi-modal transitions adds the enableHoverMode and hoverModeArea properties to support hovering.
  • The text selector component (TextPicker) now supports event callbacks when sliding stops.
  • Added C API to support registering key event callbacks with return values ​​for OH_NativeXComponent instances.
  • ArkUI’s NodeAttributeType adds a C API attribute definition for obtaining the fully expanded size of a scrolling component and all its subcomponents.
  • The List component now supports setting the preloaded number of ListItem/ListItemGroup in the list, and supports configuring whether to display preloaded nodes.
  • The scroll component now supports setting the content layer clipping area of ​​the scroll container.
  • The scroll component now supports setting the edge fading effect and the edge fading length.
  • Grid and WaterFlow components now support setting the number of preloaded GridItem and FlowItem, and configuring whether to display preloaded nodes. (API Reference – Grid, API Reference – WaterFlow)
  • The ImageSpan component now supports setting color filter effects for images.
  • The SegmentButton component now supports large fonts that are suitable for the elderly.
  • Added support for setting text background color in attributed strings.
  • Added support for setting attributed strings as hyperlinks.
  • Chip and ChipGroup components now support multiple types of accessibility capabilities.
  • The date picker pop-up window (DatePickerDialog) now supports setting the style of the lunar calendar switch.
  • The Tabs component now supports adapting the component-level layout safe area for bottom tabs.
  • The Text component now supports setting the handle color and bottom color of selected text.
  • Added support for setting dynamic frame rate of Marquee.
  • The six types of gesture events involved in gesture processing now support setting allowed event input sources.
  • The component position setting now supports rearranging chained components (only works when the parent container is a RelativeContainer).
  • The background settings of the component now support removing the blur effect of controls in the window when the window loses focus.
  • The route jump now supports whether the setting page can be restored.
  • Added C API to support obtaining various custom properties of nodes.
  • FreamNode now supports gesture events.
  • The Image component now supports setting the display direction of images.
  • RichEditor now supports mouse hover event callback (OnHoverCallback) and user double-click event (onDoubleClick).
  • Navigation page stack now supports configuration that can be restored when exiting abnormally.
  • Added support for binding NavDestination components and scrollable container components. When sliding the scrollable container component, it will trigger the display and hiding effects of the title bar and toolbar of all NavDestination components bound to it.
  • Added support for setting the window to use effect templates, such as using a background blur effect with perspective.
  • For the window management of applications on 2in1 devices, a new function is added to close the application through the application window close button. This API can be used to ignore the callback of the pre-close switch that has been set.
  • For the window management of applications on 2in1 devices, the ability to customize the size and position of the application main window has been added, which can be configured through the configuration file module.json5 .
  • For the window management of applications on 2in1 devices, new support has been added for restoring applications from minimized state to the foreground.
  • For the window management of applications on 2in1 devices, the ability to query the visible windows at specified coordinates within the application has been added.
  • For 2in1 device application window management, new support is added to enable/disable scaling of the main window or sub-window by dragging.
  • For the window management of applications on 2in1 devices, new support is added for setting the main window as a modal window.
  • For the window management of applications on 2in1 devices, new support is added for applications to control when the startup page disappears.
  • For the window management of applications on 2in1 devices, new support is added to set whether the size memory of the main window is enabled.
  • For the window management of applications on 2in1 devices, new support is added to set the window title bar and dock bar to be hidden when the mouse hovers over the hot area when the main window enters full-screen immersive mode.
  • For the window management of applications on 2in1 devices, new support is added to set whether the maximize, minimize, and close buttons on the main window title bar are visible.
  • For the window management of applications on 2in1 devices, new support is added to set the main window to be placed above other application windows without being blocked.
  • For the window management of applications on 2in1 devices, new support is added for event monitoring of the screen where the window is located. For example, when the current window is moved to another screen, this behavior can be monitored through this interface.
  • For the window management of applications on 2in1 devices, the ability to drag and move application windows is now supported when there is no system title bar.

(source)

Amy is our firmware and software specialist, she keeps her eagle eyes open for new software rollouts, beta programs, and other software related activities as well as new smartphone launch.