Repository navigation
feat(gnome-shell,fcitx5): 展开网格底部增加 ‹ / › 鼠标翻页按钮 - #296
Merged
Merged
Conversation
Owner
|
合进 合之前加了一处修改:点 ‹ / › 时插件给会话的是「没有键、只带翻页动作」,而展开面板里会话只认 PageUp / PageDown,别的键一律先收起面板再照常处理——结果点一下面板就收起来了,翻的是横排那几个候选。改成了发 PageUp / PageDown,和键盘翻一屏走同一条路( 扩展这边( |
lanshi17
pushed a commit
to lanshi17/WowType
that referenced
this pull request
Nov 23, 2026
点 ‹ / › 时插件给会话的是「没有键、只带翻页动作」,展开面板里会话只认 PageUp / PageDown, 别的键一律先收起面板再照常处理,于是点一下面板就收起来、翻的是横排那几个。 改成发 PageUp / PageDown,和键盘翻一屏走同一条路。 按键测试加上假扩展点翻页:过时的一屏不算、‹ 回第一屏、› 到第二屏。
Gloridust
added a commit
that referenced
this pull request
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
按 #278 的讨论在 #288 的基础上补充翻页按钮(基于
pre-release):说明
grid.js,序号列占位(cell._label.opacity = row === cursorRow ? 255 : 0)已经做得很稳了,在 Ubuntu 26.10 GNOME 上实测切行完全不跳动,所以这里只补上‹ / ›翻页按钮;themes/gnome-shell/wowtype-theme@gloridust.github.io/grid.js、stylesheet.css):‹ 1/3 ›,多页时显示,首/末页对应按钮自动置灰不可点;St.Label+button-release-event(不抢键盘焦点,兼容 GNOME 45–50),点击发送Page(u serial, i delta)信号;fcitx5-addon/src/wowtype_engine.h、wowtype_engine.cpp):io.github.gloridust.WowType.Grid1的Page信号,校验serial后走WOWTYPE_KEY_ACTION_PREV_PAGE/WOWTYPE_KEY_ACTION_NEXT_PAGE翻页并刷新网格。关联 #270、#278。