Commit Graph
12 Commits
Author SHA1 Message Date
Claude 35b4c44168 Qt: log icon and window timings to find the icon lag on the phone
Each icon request logs its key and how long it took (ultra.icon), each icon
logs when it shows, and the app state, scene graph and first frames are
logged too, so logcat shows where the time goes when icons appear late.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-04 16:19:45 +00:00
Claude 56a4ae4347 Qt: faster app icons on start
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
2026-11-03 20:42:04 +00:00
Claude 8abe104dda Qt: show home icons at once on start, and keep them when other apps change
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
2026-11-03 01:20:22 +00:00
Claude 2028bf7a29 Qt: name the app plain ultra Home
It is the launcher now, not a side-by-side test app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 06:02:52 +00:00
Claude 70fb8ee633 Qt: bring over the WebView build's home screen
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
2026-11-02 05:49:32 +00:00
Claude 41f4a05a90 Qt build takes over dev.ultra.launcher
Same package and signing key as the WebView build, so the Qt APK installs
over it in place for testing on the phone. It keeps updating itself from
launcher-qt-latest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:42:36 +00:00
Claude 68c82a97f4 Qt: draw the search clear button, fade home out under the drawer
The phone's font has no ✕, so the clear button showed as a missing-glyph
box; it is now two drawn strokes. The home screen showed through the
drawer's backdrop; it now fades out as the drawer slides over it, leaving
only the wallpaper behind the app list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:39:56 +00:00
Claude bc37c623c8 Qt: keep widgets under menus, and clear the search reliably
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
2026-11-02 05:37:02 +00:00
Claude e050f52417 Qt: fix the clear button in the search boxes
On Android the keyboard keeps the word being typed out of TextInput.text
until it is committed, so the clear button didn't show for it and clearing
left the composing word behind. The box now filters and shows the clear
button by displayText, and clearing resets the input method first. The
button is a 44px target that keeps its press.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:27:37 +00:00
Claude 0367ff5e73 Qt build: QtActivity's lifecycle overrides are public
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:00:37 +00:00
Claude 84ca4827dc Qt build: no install rule on Android
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 04:51:31 +00:00
Claude 74ddcfeab6 Start the Qt Quick rewrite of the launcher in qt/
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
2026-11-02 04:40:25 +00:00