Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在Dropbox paper輸入頁面中,若游標前方有空白,此次打的所有文字都會消失 #759

Open
laudai opened this issue Jul 6, 2021 · 4 comments

Comments

@laudai
Copy link

laudai commented Jul 6, 2021

OS :
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

Browser:
Firefox 89.0.2

Gnome
3.36.8

hime-env

====Detecting hime install====
==>Hime binary found.

==>/usr/bin/hime: version 0.9.10, linked to /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/usr/lib/x86_64-linux-gnu/libdbusmenu-gtk.so.4
==>/usr/share/doc/hime/changelog.Debian.gz: hime (0.9.10+git20170427+dfsg1-3build8) focal; urgency=medium
==>/usr/share/doc/hime-data/changelog.Debian.gz: hime (0.9.10+git20170427+dfsg1-3build8) focal; urgency=medium
==>/usr/share/doc/hime-gtk2-immodule/changelog.Debian.gz: hime (0.9.10+git20170427+dfsg1-3build8) focal; urgency=medium
==>/usr/share/doc/hime-gtk3-immodule/changelog.Debian.gz: hime (0.9.10+git20170427+dfsg1-3build8) focal; urgency=medium
==>/usr/share/doc/hime-qt5-immodule/changelog.Debian.gz: hime (0.9.10+git20170427+dfsg1-3build8) focal; urgency=medium
==>/usr/share/doc/hime-tables/changelog.Debian.gz: hime (0.9.10+git20170427+dfsg1-3build8) focal; urgency=medium

====Detecting OS/Distribution====
Linux 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
/etc/debian_version: bullseye/sid
/etc/lsb-release: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
/etc/os-release: NAME="Ubuntu" VERSION="20.04.2 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.2 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal

/etc/issue: Ubuntu 20.04.2 LTS

====Detecting Environment Variables====

XMODIFIERS : XMODIFIERS=@im=hime
LANG : LANG=zh_TW.UTF-8
LANGUAGE : LANGUAGE=zh_TW:en
LANG : zh_TW.UTF-8
LANGUAGE : zh_TW:en
LC_NUMERIC : zh_TW.UTF-8
LC_TIME : zh_TW.UTF-8
LC_MONETARY : zh_TW.UTF-8
LC_PAPER : zh_TW.UTF-8
LC_NAME : zh_TW.UTF-8
LC_ADDRESS : zh_TW.UTF-8
LC_TELEPHONE : zh_TW.UTF-8
LC_MEASUREMENT : zh_TW.UTF-8
LC_IDENTIFICATION : zh_TW.UTF-8
GTK_IM_MODULE: GTK_IM_MODULE=hime
QT_IM_MODULE : QT_IM_MODULE=hime
QT4_IM_MODULE: QT4_IM_MODULE=hime

====Detecting hime status====
==>Running hime number: 1

==>hime socket number: 1

==>System library path: /lib /lib64 /usr/lib
====Immodule status====

==>gtk-2.0 immodule cache
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache:
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-hime.so

==>gtk-3.0 immodule cache
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache:
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-hime.so

如果還有其他需要提供的資訊,麻煩在跟我說聲


2021/08/05 更新
在同樣環境中,詞音切換中英輸入在gedit會失效。

@marktwtn
Copy link
Contributor

marktwtn commented Jul 7, 2021

@laudai,只有特定輸入法才會發生還是所有輸入法都有這個狀況?

@laudai
Copy link
Author

laudai commented Jul 7, 2021

@marktwtn
HI 你好

目前測試過後,注音輸入法不會發生此情形

詞音輸入法、新酷音輸入法都會發生此情形

但若後方有文字的話,即使前面有空白,此次輸入的字也不會消失

此種情況,輸入文字會消失
在此輸入文字

此種情況,輸入的文字不會消失
在此輸入文字xxx

此外,剛剛發現,新酷音輸入法在中文情況下,任何的視窗都無法輸入空白鍵

且也無法透過Ctrl+Shift+9進行快速切換


2021/07/15
在Firefox note plugin 中也會發生此情況

@marktwtn
Copy link
Contributor

@laudai 我這邊使用最新的 HIME 沒辦法在 Dropbox paper 重現詞音的問題,換到 0.9.10 版本也是
你能使用 github master 分支上最新的版本試試嗎?

下載下來後

./distro/debian/gen-deb
sudo dpkg -i hime_0.9.11+XXX.deb

不是的話我猜測有可能是 GTK 跟 Qt 的問題也不一定

@laudai
Copy link
Author

laudai commented Jul 17, 2021

之前我安裝的來源是透過ubuntu apt安裝的

剛剛我重新安裝的步驟如下:

  1. 將輸入法框架切換到ibus
  2. 重開機
  3. 透過apt remove移除所有hime字眼的套件
  4. 重開機
  5. 將此deb安裝起來,並設置輸入法框架至hime-upstream
  6. 重開機測試(結論 還是失敗)
  7. 將輸入法框架換至hime
  8. 重開機測(結論還是失敗)
  9. 嘗試安裝 hime-qt5-immodule,出現如下相依問題
下列的套件有未滿足的相依關係:
 hime-qt5-immodule : 相依關係: hime (>= 0.9.10+git20170427+dfsg1-3build8) 但它卻將不會被安裝
E: 無法修正問題,您保留 (hold) 了損毀的套件。

目前依舊仍會出現上述無法輸入的問題,此次補上gif圖檔,從中發現每次輸入,會將前方的空格也一併消除
test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants