Hadouken is an open-source platform for creating web applications with native desktop experience. Hadouken is the base project used to build OpenFin OS, a desktop operating layer used by 45+ major banks, buy-side and vendors to deploy hundreds of apps to over 400 financial firms.
Expanded Chrome Features
OpenFin has incorporated some Chrome features that you and your end-users have become accustomed to. These features are available by default and require no configuration. Features include:
Error: not opened at WebSocket.send
error could occasionally be thrownbounds-changing
event in Windows performance modeSystem.getMachineId
on 32-bit runtimesWith this release we have included experimental improvements to the Window Groups API, we expect these experiments to stabilize and land in our upcoming 9.61.38.* release. The behavior of Window Groups has been improved to better support OpenFin Layouts. To enable these improvements add “--disabled-frame-groups” as a runtime argument, the list of improvements are:
disabled-frame
window will cause it to gain a frame when it leaves the groupWe have deprecated the following NPM Libraries:
Log Management
sendApplicationLog
call for programmatically uploading application logs which returns a logId
on successsetAppLogUsername
which updates app logs with the specified username when uploadedWindow Groups API
General
aspectRatio
is enabled--use-legacy-window-groups
as a runtime argumentSystem.getFocusedWindow
was returning the incorrect window when running multiple runtimesDownload File API
Added a set of new events on the Window/Application/System namespaces to facilitate downloading of documents:
Window: file-download-started
, file-download-progress
and file-download-completed
Application and System: window-file-download-started
, window-file-download-progress
and window-file-download-completed
All events provide general information about the file being downloaded and a fileUuid
property that is a unique file identifier that can be used to tie these events together and passed to System.launchExternalProcess to launch the file.
Versions Page We’ve recently updated our Versions page with additional information on the Runtime and RVM files.
window.close()
resulted in an orphaned renderer processSystem.getMachineId()
that returns a uuid for the machine. Deprecated System.getDeviceId()
Window.restore()
where window was blank on after minimize stateSystem.getDeviceId()
returned undefined
in MacgetAppAssetInfo
would always return: "Cannot set property 'srcUrl' of undefined"window.Restore()
on a frameless window does not always redraw a window. Expected fix to land in 9.61.35.*aspectRatio
to Window Options
api.iframe.crossOriginInjection
and api.iframe.sameOriginInjection
window-end-load
event was being emitted twiceSystem.getLog()
and System.getLogList()
calls for Macrun-requested
for elevated runtime instanceswindow.Restore()
on a frameless window does not always redraw a window. Expected fix to land in 9.61.35.*manifest
, manifestUrl
, parentUuid
, and initialOptions
to Application.getInfo API call--safe-errors
flag is now a default option. Option replaces any blocking errors thrown by the browser process with non blocking errors. Use --disable-safe-errors
to disable this optionwindow.show()
onDismiss
call back for notificationsapplication-initialized
event was not returning the app uuid.WebDriverException: Message: unknown error: cannot connect to chrome at localhost:9090
. A fix is expected to land in OF 9.61.33.*GlobalHotkey API
The GlobalHotkey API enables app providers to register/unregister keyboard events, even if the application is not focused.
begin-user-bounds-changing
, end-user-bounds-changing
, and closing
events in the Window namespace--framestrategy=frames
runtime argument is requiredonBeforeUnload
eventWindow.disableFrame()
was not working during window movementdisabled-frame-bounds-changing
coordinates changed for OF 9 from OF 8"Object has been destroyed"
error was thrown when calling fin.desktop.System.getAllWindows
right after calling terminate (but before the app has been terminated)WebDriverException: Message: unknown error: cannot connect to chrome at localhost:9090
. A fix is expected to land in OF 9.61.33.*SpellCheck Support
The ability to validate misspelled words has been added to the OpenFin API. It can be enabled by setting ”spellCheck”: true
in your Application Properties. Suggestions for misspelled words is slated for a future version of OpenFin 9.
VERBOSE1:proxy_service.cc(1244)] Failed configuring with PAC script, falling-back to manual proxy servers.