FS#52973 - [scim] misbehaves when changing input methods
Attached to Project:
Arch Linux
Opened by Artem (i7220) - Wednesday, 15 February 2017, 08:32 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 22 February 2017, 04:17 GMT
Opened by Artem (i7220) - Wednesday, 15 February 2017, 08:32 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 22 February 2017, 04:17 GMT
|
Details
Description:
there seems to be some regression in scim. i installed it couple months ago, used it occasionaly when needed to type in russian or chinese, only today i noticed some strange behaviour. The only place it would sorta work at is the terminal window i open straight on boot with xinitrc to load a simple text file with nano. Default trigger Control+space would not let me change normally between the input methods in any other places, neither does the left-click on tray-icon submenu. it will be clickable, but it wouldn't seem to change, nor it would load that special toolbar for secondary language. Now that's if i start it from xinitrc and put export XMODIFIERS=@im=SCIM export GTK_IM_MODULE="scim" export QT_IM_MODULE="scim" lines to xinitrc, just how i did id for all this time. if i remove scim -d from xinitrc as well as those export ... lines, and just load, say, seamonkey from the terminal by GTK_IM_MODULE="scim" seamonkey it all functions as expected on every application boot. Also, to test it even further, it all functions just fine if you start ibus from xinitrc with all those export ... lines. So it's pretty messy. I'll try to record some gifs in following messages maybe to make it more understandable Additional info: * package version(s) scim 1.4.17-1, scim-tables 0.5.14.1-2, scim-pinyin 0.5.92-3 * config and/or log files etc. doesn't really seem to cause any errors, or maybe i just don't know where to find them. Anyway two logs for the starters: [user3@7a1612 ~]$ sudo journalctl | grep scim | tail -n 20 Feb 06 15:26:41 7a1612 scim-bridge[2268]: Cleanup, done. Exitting... Feb 12 10:35:03 7a1612 scim-bridge[4389]: Cleanup, done. Exitting... Feb 12 14:43:51 7a1612 scim-bridge[5368]: Cleanup, done. Exitting... Feb 12 14:44:00 7a1612 scim-bridge[5529]: Cleanup, done. Exitting... Feb 13 00:48:23 7a1612 scim-bridge[7912]: Cleanup, done. Exitting... Feb 13 02:37:51 7a1612 scim-bridge[8697]: Cleanup, done. Exitting... Feb 13 02:39:19 7a1612 scim-bridge[9325]: Cleanup, done. Exitting... Feb 13 02:40:45 7a1612 scim-bridge[9535]: Cleanup, done. Exitting... Feb 13 02:43:11 7a1612 scim-bridge[9798]: Cleanup, done. Exitting... Feb 13 02:46:19 7a1612 scim-bridge[10583]: Cleanup, done. Exitting... Feb 13 12:55:12 7a1612 scim-bridge[759]: Cleanup, done. Exitting... Feb 15 16:56:09 7a1612 sudo[1401]: user3 : TTY=pts/1 ; PWD=/home/user3 ; USER=root ; COMMAND=/usr/bin/pacman -Rs scim Feb 15 16:56:21 7a1612 sudo[1403]: user3 : TTY=pts/1 ; PWD=/home/user3 ; USER=root ; COMMAND=/usr/bin/pacman -Rs scim scim-pinyin scim-tables Feb 15 16:57:32 7a1612 sudo[1569]: user3 : TTY=pts/1 ; PWD=/home/user3 ; USER=root ; COMMAND=/usr/bin/pacman -S scim scim-pinyin scim-tables Feb 15 17:15:21 7a1612 scim-bridge[3870]: Cleanup, done. Exitting... Feb 15 17:26:32 7a1612 scim-bridge[848]: Cleanup, done. Exitting... Feb 15 17:27:17 7a1612 scim-bridge[857]: Cleanup, done. Exitting... Feb 15 17:28:09 7a1612 scim-bridge[991]: Cleanup, done. Exitting... Feb 15 17:39:54 7a1612 scim-bridge[998]: Cleanup, done. Exitting... Feb 15 17:40:44 7a1612 scim-bridge[1013]: Cleanup, done. Exitting... [user3@7a1612 ~]$ sudo journalctl | tail -n 20 Feb 15 17:45:32 7a1612 systemd[261]: Started Virtual filesystem service. Feb 15 17:45:32 7a1612 polkitd[557]: Finished loading, compiling and executing 2 rules Feb 15 17:45:32 7a1612 dbus[246]: [system] Successfully activated service 'org.freedesktop.PolicyKit1' Feb 15 17:45:32 7a1612 systemd[1]: Started Authorization Manager. Feb 15 17:45:32 7a1612 polkitd[557]: Acquired the name org.freedesktop.PolicyKit1 on the system bus Feb 15 17:45:32 7a1612 rtkit-daemon[554]: Successfully made thread 553 of process 553 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11. Feb 15 17:45:32 7a1612 rtkit-daemon[554]: Supervising 1 threads of 1 processes of 1 users. Feb 15 17:45:32 7a1612 dbus-daemon[511]: Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' Feb 15 17:45:32 7a1612 systemd[261]: Starting Accessibility services bus... Feb 15 17:45:33 7a1612 dbus-daemon[511]: Successfully activated service 'org.a11y.Bus' Feb 15 17:45:33 7a1612 systemd[261]: Started Accessibility services bus. Feb 15 17:45:33 7a1612 at-spi-bus-launcher[579]: Activating service name='org.a11y.atspi.Registry' Feb 15 17:45:33 7a1612 at-spi-bus-launcher[579]: Successfully activated service 'org.a11y.atspi.Registry' Feb 15 17:45:33 7a1612 org.a11y.atspi.Registry[584]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Feb 15 17:45:33 7a1612 systemd[261]: Started Sound Service. Feb 15 17:47:17 7a1612 sudo[770]: user3 : TTY=pts/1 ; PWD=/home/user3 ; USER=root ; COMMAND=/usr/bin/journalctl Feb 15 17:47:17 7a1612 sudo[770]: pam_unix(sudo:session): session opened for user root by user3(uid=0) Feb 15 17:47:23 7a1612 sudo[770]: pam_unix(sudo:session): session closed for user root Feb 15 17:51:36 7a1612 sudo[815]: user3 : TTY=pts/1 ; PWD=/home/user3 ; USER=root ; COMMAND=/usr/bin/journalctl Feb 15 17:51:36 7a1612 sudo[815]: pam_unix(sudo:session): session opened for user root by user3(uid=0) Steps to reproduce: 1. pacman -S scim scim-pinyin scim-tables 2. add smart pinyin and russian computer in scim-setup, log out 3. edit xinitrc to have something like this export XMODIFIERS=@im=SCIM export GTK_IM_MODULE="scim" export QT_IM_MODULE="scim" sleep 1 && scim -d & 4. log back in |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 22 February 2017, 04:17 GMT
Reason for closing: Not a bug
Wednesday, 22 February 2017, 04:17 GMT
Reason for closing: Not a bug
scim-by-had (667 KiB)
ibus-xinitrc (175.7 KiB)
PS reported upstream as well https://github.com/scim-im/scim/issues/19
turns out i noticed the "regression" after installing tint2. before i was using plain openbox. spending a little time testing, including the fresh install, reveals that loading scim daemon before the panel (sleep 1 && scim -d / sleep 2 && lxpanel &) solves the problem. will double-post that upstream. if no one objects i could also add info on that "work-around" to the related scim wiki page.
cheers!