github jasonwu1994/Gboard-patches v4.7.0

one hour ago

✨ New Features

  • Gboard: new Hide Long-Press Accents patch: hides accented Latin letter variants in letter long-press popups while keeping long-press symbols (such as @, #, and digits), editing shortcuts, and non-Latin keyboards (such as Zhuyin and Japanese) untouched. Disabled by default; enable it under Patches → Keys, Layout & Symbols → Hide Long-Press Accents.
  • Gboard: Second Toolbar Row: add a Layout section under Patches → Second Toolbar Row with three new controls:
    • Button alignment: choose between Align left (match primary toolbar), Center, or Distribute evenly when there are fewer buttons than the full row width (automatically switches back to horizontal scrolling when buttons overflow).
    • Icon size: adjust icon size from 50% to 150% relative to Gboard's primary toolbar icons (default Auto (100%)).
    • Row height: adjust vertical row height and padding from 0% (flush to the icons) to 150% (default Auto (100%)).
    • The new sliders use a Material 3 Expressive track-and-handle control with a live value badge, haptic detents, and a one-tap Reset chip.
  • Gboard: Clipboard Enhancements: Columns (under Patches → Clipboard → Layout) now adds a Custom option supporting 1–10 columns, in addition to the existing 1, 2 (Default), and 3 presets.
  • Gboard: Hide Long-Press Accents: add Kept accented letters and Language presets (supporting multi-select across 10 common language presets: FR, DE, ES, PT, IT, TR, PL, Nordic, CS/SK, and VI). Any letter in the kept list is automatically preserved in both lowercase and uppercase forms while other accented variants stay hidden; leaving the list empty hides all accented letters.
  • Gboard: Settings & Keyboard Preview: text input dialogs and the bottom-right keyboard preview test box now automatically wrap to multiple lines (up to 6 lines) instead of scrolling on a single line, making longer entries easier to read at a glance.

🐛 Bug Fixes

  • Gboard: Second Toolbar Row: match Gboard's primary toolbar icon size accurately by default (respecting centerInside intrinsic drawable bounds and live layout updates) so second-row icons no longer appear larger than stock toolbar icons on some devices.
  • Gboard: Second Toolbar Row: fix toolbar buttons appearing disabled or missing on the first keyboard open after switching to Gboard or restarting the process. Buttons now automatically refresh in place as soon as Gboard finishes registering its toolbar actions.
  • Gboard: Clipboard Enhancements and Custom Symbols: fix patching failure (IndexOutOfBoundsException: Index 0 out of bounds for length 0) on Morphe Manager 2.10.0 (which bundles Morphe Patcher 2.8.0) by terminating trailing smali labels with nop, keeping full compatibility with both Morphe Manager 2.10.0 and earlier versions.

✨ 新功能

  • Gboard: 新增 Hide Long-Press Accents Patch:隱藏拉丁字母長按彈窗中的重音字母變體,同時保留長按輸入符號(如 @、#、數字等)、長按編輯快捷鍵,且不影響注音、日文等非拉丁鍵盤。預設關閉,可在 Patches → 按鍵、版面與符號 → 隱藏長按重音字母開啟。
  • Gboard: 第二排工具列:在 Patches → 第二排工具列 下新增版面配置區塊,提供三項自訂選項:
    • 按鈕對齊方式:按鈕數量少於一整排寬度時,可選擇靠左(對齊主工具列)、置中或平均分散(按鈕超出寬度時會自動回復左右滑動)。
    • 圖示大小:可相對於 Gboard 主工具列圖示在 50%–150% 之間微調大小(預設自動 (100%))。
    • 工具列高度:可在 0%(完全貼合圖示、無額外上下留白)至 150% 之間調整垂直高度(預設自動 (100%))。
    • 滑桿採用全新 Material 3 Expressive 樣式,支援即時數值標籤、震動刻度回饋與一鍵重設。
  • Gboard: 剪貼簿增強:剪貼簿欄數(位於 Patches → 剪貼簿 → 版面配置)除了既有的 1、2(預設)、3 欄外,新增自訂選項,支援設定 1–10 欄。
  • Gboard: 隱藏長按重音字母:新增保留的重音字母自訂清單與語言範本(支援複選 10 種常見語言範本:法文、德文、西班牙文、葡萄牙文、義大利文、土耳其文、波蘭文、北歐語系、捷克/斯洛伐克文、越南文)。清單內的字母會自動同時保留大小寫,其餘重音變體則繼續隱藏;清單留空即隱藏全部重音字母。
  • Gboard: 設定頁與鍵盤預覽:設定頁的文字輸入對話框與右下角鍵盤測試輸入框改為多行自動換行(最多顯示 6 行),輸入較長內容時能一眼檢視全部文字,不再單行向右捲動。

🐛 修復

  • Gboard: 第二排工具列:修正部分裝置上第二排圖示預設比主工具列偏大的問題,改為直接對齊 Gboard 原生主工具列圖示實際大小(包含 centerInside 內建尺寸與版面更新後即時同步)。
  • Gboard: 第二排工具列:修復首次切換到 Gboard 或冷啟動開啟鍵盤時,第二排工具列出現部分按鈕反灰無法點擊或短暫缺漏的問題;現在會在 Gboard 完成工具列動作註冊後自動原地更新按鈕狀態。
  • Gboard: 剪貼簿增強與自訂符號:修復在 Morphe Manager 2.10.0(內建 Morphe Patcher 2.8.0)上修補失敗(IndexOutOfBoundsException: Index 0 out of bounds for length 0)的問題,補齊所有結尾空 smali 標籤後的 nop 指令,同時相容 Morphe Manager 2.10.0 與先前版本。

Don't miss a new Gboard-patches release

NewReleases is sending notifications on new releases.