Three things still held icons up:
- The app list was built on Qt's thread, so nothing on screen could paint
(icons included) until every app was listed and labelled. HomeActivity
now lists apps on its own thread and answers through Native.appList.
- Each icon was drawn, PNG-encoded in Java and decoded again in C++. Icons
now cross as raw premultiplied RGBA, and drawn ones are kept in the cache
dir, keyed by the app's last update, so a fresh start just reads them.
- The closed drawer made its icons at the same time as home. It now waits
1.5s, or until it opens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
Home app tiles waited for the full app list (every app listed and labelled
over JNI, slow on a phone) before they showed, while widgets showed at once.
The last app list is now kept and the home starts from it; nothing on home
is hidden until the fresh list has loaded. A package change used to reload
every icon on screen; now only that package's icons are drawn again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
The WebView build saved its home in its page's localStorage, which stays in
the app's data now that the Qt build is dev.ultra.launcher. On first start
HomeActivity reads the ultra.home.* keys through a throwaway WebView on the
same origin and hands them to QML: apps by component, widgets with their px
heights turned into rows, pins kept when the Qt home is still empty. The
widget host id goes back to the WebView build's, so its widgets stay bound.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
A sheet (the long-press menus, the widget picker) used to take every native
widget off the screen, since Qt can't draw over them. Now they stay: the
widget layer hides them below the sheet's top edge as it rises and dims
the rest like the sheet's backdrop, which takes their touches.
The search boxes ask for no suggestions, so Android keyboards type straight
in instead of composing words, and the clear button commits and clears
again once a late commit has landed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
A QML UI with feature parity as the goal: home grid that fills the screen with
dense packing and pinned cells, drag to reorder or into an empty cell, widget
resize handles snapping to the grid, the app drawer with search and long-press
menu, sheets, and the widget picker. HomeActivity (a QtActivity) keeps the
Android parts and hosts native widget views over the QML slots, as the WebView
shell did. A desktop backend serves the demo data, so qt/tests/e2e.cpp drives
the UI end to end offscreen; CI runs it and builds an APK that installs next to
the current launcher as ultra Home (Qt).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D