Skip to content

Fix/misc browser UI fixes#20883

Open
caybro wants to merge 12 commits into
release/2.38.xfrom
fix/misc-browser-ui-fixes
Open

Fix/misc browser UI fixes#20883
caybro wants to merge 12 commits into
release/2.38.xfrom
fix/misc-browser-ui-fixes

Conversation

@caybro
Copy link
Copy Markdown
Member

@caybro caybro commented May 15, 2026

What does the PR do

Best review commit by commit, in a nutshell:

Fixes #20443
Fixes #20601
Fixes #20683
Fixes #20656

Affected areas

Browser

Quality checklist

Screencapture of the functionality

Snímek obrazovky z 2026-05-14 16-21-19 Snímek obrazovky z 2026-05-14 23-39-49

Impact on end user

Better Mobile Browser UX

How to test

  • play around with the Browser on mobile

Risk

  • low

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR collects several Browser UI fixes plus minor StatusQ component tweaks. It updates sizing/spacing across the Mobile Browser per latest Figma (zooming address bar, find bar, bottom nav, tab/bookmark cards, settings menu icons), swaps the empty-tab illustration, fixes the favicon clipping in the address bar, ensures opening tabs/bookmarks no longer activates the address bar, propagates DevTools toggle state through a new devToolsToggled signal so the DevTools window's own close button works, and refactors StatusDialogHeader to use top-only corner radii.

Changes:

  • Mobile Browser UI scaling/sizing updates (toolbars, address/find bars, tab & bookmark cards, settings menu, header buttons).
  • Browser behavior fixes: opening tab/bookmark stays in view mode (addNewTab no longer auto-activates address bar; new addNewEmptyTab helper); DevTools close button properly disables DevTools via new devToolsToggled signal; StandardKey.Close now removes the current view via a new removeViewRequested signal.
  • StatusQ tweaks: StatusDialogHeader uses per-corner radii; StatusBaseButton uses pointerHoverHandler.hovered (instead of root.hovered) for text color and tooltip visibility, and the round-icon size now follows root.icon.width/height; StatusTextField non-hovered background uses primaryColor3.

Reviewed changes

Copilot reviewed 21 out of 27 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ui/StatusQ/src/StatusQ/Popups/Dialog/StatusDialogHeader.qml Use per-corner radii instead of bottom-corner cover rectangle.
ui/StatusQ/src/StatusQ/Controls/StatusTextField.qml Use primaryColor3 as default (non-hovered) background.
ui/StatusQ/src/StatusQ/Controls/StatusBaseButton.qml Switch to pointerHoverHandler.hovered; round icon uses icon.width/height.
ui/StatusQ/src/assets/png/png.qrc Replace pepehand.png with new_tab.png.
ui/app/AppLayouts/Wallet/controls/DappsComboBox.qml Add configurable iconSize.
ui/app/AppLayouts/Browser/webview/BrowserWebViewContext.qml Wire onDevToolsToggled to persist setting.
ui/app/AppLayouts/Browser/views/EmptyWebPage.qml Use new tab illustration with new dimensions.
ui/app/AppLayouts/Browser/views/BrowserShortcutActions.qml Add removeViewRequested signal for StandardKey.Close.
ui/app/AppLayouts/Browser/popups/TabsBookmarksOverviewModal.qml Replace inline search field with SearchBox; resize cards/icons/font.
ui/app/AppLayouts/Browser/popups/MobileSettingsMenu.qml Extract SettingsListItem component with consistent asset size.
ui/app/AppLayouts/Browser/popups/BrowserSettingsMenu.qml Take browserSettings as required prop instead of using global.
ui/app/AppLayouts/Browser/panels/MobileAddressBar.qml Bump close button icon size; mark as round; tighten layout spacing.
ui/app/AppLayouts/Browser/panels/FindBar.qml Extract FindBarButton component; bump icon sizes.
ui/app/AppLayouts/Browser/panels/BrowserPortraitToolbar.qml Bump open-tabs counter font size.
ui/app/AppLayouts/Browser/panels/BrowserLandscapeToolbar.qml Resize DappsComboBox; bump open-tabs counter font size.
ui/app/AppLayouts/Browser/controls/BrowserHeaderButton.qml Resize button/icon and use icon.color instead of asset.color.
ui/app/AppLayouts/Browser/controls/BrowserAddressField.qml Use Theme.radius; enlarge favicon to 60% of height.
ui/app/AppLayouts/Browser/BrowserLayout.qml Add addNewEmptyTab, optional activate flag for new tabs; wire onRemoveViewRequested; pass browserSettings to settings menu.
ui/app/AppLayouts/Browser/adapters/WebViewAdapter.qml Emit devToolsToggled(false) instead of mutating devToolsEnabled.
ui/app/AppLayouts/Browser/adapters/LazyWebViewAdapter.qml Forward onDevToolsToggled from inner view.
ui/app/AppLayouts/Browser/adapters/AbstractWebView.qml Declare devToolsToggled(bool enabled) signal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@status-im-auto
Copy link
Copy Markdown
Member

status-im-auto commented May 15, 2026

Jenkins Builds

Click to see older builds (20)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ d6cc151 1 2026-05-15 11:00:52 ~7 min tests/nim 📄log
✔️ d6cc151 1 2026-05-15 11:04:13 ~11 min ios/aarch64 📱ipa 📲
✔️ d6cc151 1 2026-05-15 11:04:34 ~11 min android/arm64 🤖apk 📲
✔️ d6cc151 1 2026-05-15 11:06:14 ~12 min tests/ui 📄log
✔️ d6cc151 1 2026-05-15 11:07:08 ~13 min macos/aarch64 🍎dmg
✔️ d6cc151 1 2026-05-15 11:11:11 ~18 min linux/x86_64 📦tgz
✔️ d6cc151 1 2026-05-15 11:16:45 ~23 min windows/x86_64 💿exe
✖️ d6cc151 11260 2026-05-15 11:29:05 ~17 min tests/e2e 📊rpt
✔️ d6cc151 3218 2026-05-15 11:44:18 ~27 min tests/e2e-windows 📊rpt
✖️ d6cc151 3233 2026-05-15 12:40:47 ~1 hr 36 min tests/e2e-android 📦pkg
✔️ 50a4cd5 2 2026-05-18 15:08:56 ~7 min tests/nim 📄log
✔️ 50a4cd5 2 2026-05-18 15:11:15 ~10 min android/arm64 🤖apk 📲
✔️ 50a4cd5 2 2026-05-18 15:13:38 ~12 min macos/aarch64 🍎dmg
✔️ 50a4cd5 2 2026-05-18 15:13:45 ~12 min tests/ui 📄log
✔️ 50a4cd5 2 2026-05-18 15:13:45 ~12 min ios/aarch64 📱ipa 📲
✔️ 50a4cd5 2 2026-05-18 15:18:29 ~17 min linux/x86_64 📦tgz
✔️ 50a4cd5 2 2026-05-18 15:23:33 ~22 min windows/x86_64 💿exe
✖️ 50a4cd5 11289 2026-05-18 15:38:28 ~19 min tests/e2e 📊rpt
✔️ 50a4cd5 3243 2026-05-18 15:43:39 ~20 min tests/e2e-windows 📊rpt
✖️ 50a4cd5 3269 2026-05-18 16:21:59 ~1 hr 10 min tests/e2e-android 📦pkg
Commit #️⃣ Finished (UTC) Duration Platform Result
0445b78 3 2026-05-18 22:51:43 ~5 min ios/aarch64 📄log
0445b78 3 2026-05-18 22:52:07 ~6 min macos/aarch64 📄log
✔️ 0445b78 3 2026-05-18 22:54:57 ~9 min tests/nim 📄log
✔️ 0445b78 3 2026-05-18 22:57:03 ~11 min android/arm64 🤖apk 📲
✔️ 0445b78 3 2026-05-18 23:00:10 ~14 min tests/ui 📄log
✔️ 0445b78 3 2026-05-18 23:04:21 ~18 min linux/x86_64 📦tgz
✔️ 0445b78 3 2026-05-18 23:08:22 ~22 min windows/x86_64 💿exe
✔️ 0445b78 11298 2026-05-18 23:21:02 ~16 min tests/e2e 📊rpt
✔️ 0445b78 3251 2026-05-18 23:24:04 ~15 min tests/e2e-windows 📊rpt
✖️ 0445b78 3275 2026-05-19 00:46:56 ~1 hr 49 min tests/e2e-android 📦pkg

Copy link
Copy Markdown
Contributor

@friofry friofry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@sunleos
Copy link
Copy Markdown
Collaborator

sunleos commented May 15, 2026

Tested APK build # 1

Summary:

Fixes #20443 - partially fixed. Logged bugs from 10-16 on the ticket
Fixes #20601 - Asked @Francesca-G to update the illustration on the ticket, plus explain how it should look for the dark mode
Fixes #20683 - can't figure out how to test it (I guess it is OK now :) )
Fixes #20656 - this one is completely fixed

caybro added 6 commits May 19, 2026 00:36
- also size-optimize some browser PNGs using `optipng`

Fixes #20601
- we don't have an active WebView, so the abstract action wouldn't do
anything
…field

- make a distinction between opening a new tab for viewing, and an empty
one (where we actually do want to start entering the URL)

Fixes #20656
- don't break the settings binding, and update the internal action
properly
- don't take the value from `d.iconSize` which is precomputed, make it
possible to set it properly via `icon.width/height`
…ltips and text color

- that way we don't get spurious hover events on touch
caybro added 6 commits May 19, 2026 00:36
- in Qt 6.11, we can set the radius on an individual rectangle corner,
no need to create an extra fake Rectangle
- no need to set the border here at all

Fixes #20683
- increase font sizes and spacings
- use default corner radius
- element sizes upped to 44, icon sizes to 28
- use the standard SearchBox component
- increase the webpage preview size

Fixes #20443
- adjust the flags to make it more privacy oriented
@caybro caybro force-pushed the fix/misc-browser-ui-fixes branch from 50a4cd5 to 0445b78 Compare May 18, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants