Comments (6)
这里有两层:
- 跟踪记录keycode <->keysym的变化。感觉可以直接用xkb的api来做。
- 不管在go daemon端那边处理还是控制中心前端处理,对于用户来说,它看到的东西还是控制中心里呈现的super+a,切换布局后,这里要不要跟着更新为super+Cyrillirc_a。 如果不更新,一是wm会读取错误的keysym组合,得不到正确的keycode来生成快捷键。而且用户此时重设了某个快捷键,显示的就是新layout下的字符串表示。这样两种布局的快捷键字符串表示就混在一起了。乱了。
直接将键盘布局设为输入法,不知道这个方法如何,以前在 fcitx 的 dbus 接口里看到过键盘布局相关的接口的,现在里面没发现了。
这个我不太懂:)
@manateelazycat @hualet @snyh @jouyouyun 有什么看法。不知道有没有DE能正确处理这个事情的。
from developer-center.
这个问题,有没有明确知道用户正确效果应该是怎样的?
技术方面我觉得还好解决, 主要是多布局的切换行为到底如何算正确行为的理解不够
from developer-center.
对,就是怎样算合理的处理方式。回到源头,为啥GNOME和KDE都处理不好?会不会是个伪命题,正确的打开方式不是在安装的时候或者初次配置向导里选择好键盘布局,在那里一次性修改了所有配置文件里关于快捷键的定义。运行时切换的需求大么
from developer-center.
运行时切换键盘布局的需求很简单, 西班牙语, 他们都是直接输入键盘字符的(英文或西班牙字符), 不需要像我们输入法那样切换。
所以他们在输入英文和输入西班牙语的时候就是通过快速切换键盘布局来做的, 就像我们中文来切换输入法一样, 会看托盘的图标, 只不过他们是直接输入字符, 不用输入法参与。
from developer-center.
@manateelazycat 切换布局这个需求大家都能接受理解. 只是在切换时的快捷键处理不明确(至少我个人不能完全理解到底要做什么)
@maggielf 提出的加上日语这类键盘的时候又是个什么情况.
from developer-center.
已采取在当前的键盘布局后面跟上us布局的方式处理
from developer-center.
Related Issues (20)
- 【deepin_V23_beta3】【严重】【立即】【预发布测试】【DDE】【控制中心】依次点击控制中心模块,控制中心卡死 HOT 1
- 【deepin_V23_beta3】【一般】【立即】【预发布测试】【DDE】【dde-launchpad】launchpad全屏模式下,所有应用图标显示异常 HOT 3
- [Deepin Integration]~[V23-Beta3] Auto integrate from topic: codeblocks by @xzl01 to V23-Beta3 by deepin-ci-robot HOT 1
- 【deepin_V23_beta3】【一般】【立即】【预发布测试】【系统】在vmware中安装日更版镜像,选择镜像内核版本后,显示黑屏 HOT 1
- deepin-application-manager 1.1.4-1 bug in arch linux HOT 7
- [Deepin Integration]~[V23-Beta3] fix: count of icon is wrong by Decodetalkers@linuxdeepin/dde-control-center by deepin-community-ci-bot[bot] HOT 3
- [Deepin Integration]~[V23-Beta3] feat: update httpie to by xzl01@deepin-community/httpie by deepin-community-ci-bot[bot] HOT 2
- [Deepin Integration]~[V23-Beta3] feat: update trimage to 1.0.6 by xzl01@deepin-community/trimage by deepin-community-ci-bot[bot] HOT 2
- [Deepin Integration]~[V23-Beta3] Auto integrate from topic: dtk-5621 by @kegechen to V23-Beta3 by deepin-ci-robot HOT 3
- 【deepin_V23_beta3】【严重】【立即】【预发布测试】【窗管】放大镜功能开启,重启后,放大镜状态没有被重置 HOT 1
- [Deepin Integration]~[V23-Beta3] feat: update libssh to 0.10.6-2 by UTsweetyfish@deepin-community/libssh by deepin-community-ci-bot[bot] HOT 2
- [Deepin Integration]~[V23-Beta3] update translations && bump version to 6.0.26 by kegechen@linuxdeepin/dde-dock by deepin-community-ci-bot[bot] HOT 2
- [Deepin Integration]~[V23-Beta3] Auto integrate from topic: dde-shell-0.0.4 by @18202781743 to V23-Beta3 by deepin-ci-robot HOT 3
- [Deepin Integration]~[V23-Beta3] fix: mainwindow hide when popup opens by asterwyx@linuxdeepin/dde-dock by deepin-community-ci-bot[bot] HOT 1
- [Deepin Integration]~[V23-Beta3] chore: release dde-application-wizard 0.1.1 by BLumia@linuxdeepin/dde-application-wizard by deepin-community-ci-bot[bot] HOT 3
- 【deepin_V23_beta3】【一般】【正常】【预发布测试】【DDE】【任务栏】任务栏点击快捷面板,弹出界面显示背景透明 HOT 1
- 【deepin_V23_beta3】【一般】【正常】【SIG组反馈】【DDE】【任务栏】‘12小时制’格式,时间显示不正确 HOT 2
- 【deepin_V23_beta3】【一般】【正常】【预发布测试】【DDE】【任务栏】任务栏快捷面板首次点击屏幕键盘不弹出界面 HOT 1
- [Deepin Integration]~[V23-Beta3] fix: DialogWindow abnormal by 18202781743@linuxdeepin/dtkdeclarative by deepin-community-ci-bot[bot] HOT 6
- [Deepin Integration]~[V23-Beta3] sync: from linuxdeepin/dtkdeclarative by deepin-ci-robot@linuxdeepin/dtk6declarative by deepin-community-ci-bot[bot] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from developer-center.