Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Z-Shell breaks im-config configuration scripts, making input method malfunction



Hi zsh-workers, 
I suddenly find out my Chinese input method failed to work properly after I switched to KDM X display manager(or, the login screen). During debugging I found that if I sourced the im-config XSession sourced script manually with Zsh with debugging enabled it will prematurely jump out of /usr/share/im-config/data/25_hime.rc 's logic, which eventually wrongly set the environmental variables making the input method malfunctions.

Although it seems to be KDM's bug that uses my default shell(Zsh) to run the XSession script, it seems abnormal for Zsh to fail at that script also, thus here's the bug report.

The /usr/share/im-config/data/25_hime.rc script on my system is attached, and with the execution result of Zsh with debugging enabled.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: zsh 5.0.2-3ubuntu6
ProcVersionSignature: Ubuntu 3.13.0-35.62-lowlatency 3.13.11.6
Uname: Linux 3.13.0-35-lowlatency i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: i386
CurrentDesktop: KDE
Date: Wed Sep 3 14:17:01 2014
InstallationDate: Installed on 2013-03-08 (543 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
SourcePackage: zsh
UpgradeStatus: Upgraded to trusty on 2014-04-19 (137 days ago)

Thanks in advance, 
V字龍(Vdragon)<Vdragon.Taiwan@xxxxxxxxx>

Attachment: _usr_share_im-config_data_25_hime.rc
Description: Binary data

Attachment: im-config_XSession_script_run_result.output
Description: Binary data



Messages sorted by: Reverse Date, Date, Thread, Author