Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 434138

Summary: app-i18n/scim gtk3 patch breaks x11 root window mouse actions
Product: Gentoo Linux Reporter: Philip L <sendsbeak>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal CC: gnustep, kalin, pacho
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://osdn.jp/ticket/browse.php?group_id=1415&tid=28897
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 604726    

Description Philip L 2012-09-06 15:51:52 UTC
When SCIM 1.4.14 is running, Window Maker's root window mouse actions (e.g., right-click for application menu, left-click+drag to select windows, scroll wheel to switch workspaces) stop working. Killing the SCIM processes restores the functionality. The problem is not present in scim-1.4.11-r1.

Reproducible: Always

Steps to Reproduce:
1. Run Window Maker.
2. Run "scim -d".
3. Attempt to open the Window Maker applications menu by right-clicking on the root window.



Portage 2.1.11.13 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.5.3 x86_64)
=================================================================
System uname: Linux-3.5.3-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.2
Timestamp of tree: Thu, 06 Sep 2012 13:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.3
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo blah
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.datapipe.net/gentoo http://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ja"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync27.us.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 apng audiofile bash-completion berkdb bluray bzip2 cairo cdparanoia cdr cjk cli consolekit cracklib crypt cups cxx dbus device-mapper djvu doc dri dvd dvdr dvdread enca encode exif ffmpeg flac fluidsynth fontconfig fuse g3dvl gd gdbm gif gnome gnutls gpm graphviz gstreamer gtk hal iconv id3tag immqt-bc inotify ipv6 jack jadetex joystick jpeg jpeg2k kde kde4 kvm ladspa lame latex lcms libnotify libsamplerate lirc lm_sensors lvm lvm2 lzo mad mbox md mdadm mmx mng modplug modules motif mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin nvidia offensive ogg openal openexr opengl openmp pam pcre pdf perl png policykit pppd python qt3support qt4 quicktime readline rtc samba scim sdl semantic-desktop session smp sndfile speex sse sse2 sse3 sse4 sse4_1 ssh ssl ssse3 svg tcpd theora threads tiff tor tordns truetype udev unicode usb v4l v4l2 vaapi vdpau vhosts vim-syntax vim-with-x vorbis wifi wma x264 xattr xcb xcomposite xft xml xmp xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="mouse keyboard evdev joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ja" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vga vesa dummy none nv nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Naohiro Aota gentoo-dev 2012-09-14 15:30:36 UTC
I cannot determine the cause of this issue.
Could you report the issue to upstream please?
Comment 2 Kalin KOZHUHAROV 2013-10-22 07:17:36 UTC
This ate quite a lot of hours today... I still have no idea what is the interaction of scim with windowmaker, but if anyone can look into it, I am willing to test/debug.

Somehow I sniff gtk3 is involved...
Comment 3 Kalin KOZHUHAROV 2013-12-08 14:35:38 UTC
I kind of hate when I am hitting again bugs that I filed or last commented on ;-|
Anyway, had to mask =app-i18n/scim-anthy-1.2.7* and now everything is back to working order...

I also sent a mail upstream to wmaker-user@lists.windowmaker.org, and filed a bug for scim: https://sourceforge.net/p/scim/support-requests/9/
Comment 4 Pacho Ramos gentoo-dev 2015-05-05 08:47:06 UTC
Are you still hitting this with windowmaker-0.95.6?
Comment 5 Benda Xu gentoo-dev 2015-05-11 07:27:37 UTC
(In reply to Kalin KOZHUHAROV from comment #2)
> This ate quite a lot of hours today... I still have no idea what is the
> interaction of scim with windowmaker, but if anyone can look into it, I am
> willing to test/debug.
> 
> Somehow I sniff gtk3 is involved...

Have you tried to rebuild scim-anthy without gtk3?
Comment 6 Kalin KOZHUHAROV 2015-05-11 12:14:35 UTC
I was a bit away, sorry for the late response ;-(

Just compiled the following:
app-i18n/anthy-9100h-r1
app-i18n/scim-1.4.14
app-i18n/scim-anthy-1.2.7-r1

and it seemed fine initially, after adding `-f socket` to my `scim -d` commandline, but stopped working now :-( (Cannot get WM menu on right click)

Possibly relevant(=current) packages:
x11-wm/windowmaker-0.95.6
x11-base/xorg-server-1.16.4
sys-kernel/vanilla-sources-4.0.0

Will try to investigate a bit more...
Comment 7 Kalin KOZHUHAROV 2015-05-11 12:32:13 UTC
Ok, seems gtk3 is what is causing the pain...
Now seems to work without it:

app-i18n/anthy-9100h-r1  (-canna-2ch -emacs -static-libs)
app-i18n/scim-1.4.14  (-doc -gtk3)
app-i18n/scim-anthy-1.2.7-r1  (nls -gtk3 -kasumi)

I'll play with this and install those in other systems this week and hopefully we can close it by the end of the week.
Comment 8 Pacho Ramos gentoo-dev 2015-05-21 13:44:01 UTC
looks like Fedora is using scim-1.4.15... maybe that could help even with gtk3 support enabled
Comment 9 Pacho Ramos gentoo-dev 2015-05-21 13:46:28 UTC
On the other hand, I see their scim-anthy does not have any gtk3 support while ours looks to be done with downstream patches... I would then try to build scim-anthy without gtk3 support even keeping scim with gtk3
Comment 10 Benda Xu gentoo-dev 2015-05-21 19:41:00 UTC
The upstream is dead.  I requested to join the team but got no reply so far.

http://osdn.jp/ticket/browse.php?group_id=1415&tid=32056
Comment 11 Pacho Ramos gentoo-dev 2015-05-23 13:48:08 UTC
should we simply force [-gtk3] in windowmaker ebuilds to finally unblock the stabilization of latest scim (that is blocking eapi1 banning)?
Comment 12 Benda Xu gentoo-dev 2015-05-26 05:57:03 UTC
(In reply to Pacho Ramos from comment #11)
> should we simply force [-gtk3] in windowmaker ebuilds to finally unblock the
> stabilization of latest scim (that is blocking eapi1 banning)?

Yes, I think that's reasonable to move forward.
Comment 13 Pacho Ramos gentoo-dev 2015-05-27 20:25:02 UTC
+  27 May 2015; Pacho Ramos <pacho@gentoo.org> windowmaker-0.92.0-r11.ebuild,
+  windowmaker-0.95.5-r1.ebuild, windowmaker-0.95.6.ebuild:
+  Incompatible with app-i18n/scim-anthy[gtk3] (#434138)
+
Comment 14 Marcus Schwartz 2015-06-04 04:55:32 UTC
It looks like this also affects fluxbox's root menu.
Comment 15 Benda Xu gentoo-dev 2015-06-08 02:24:52 UTC
(In reply to Marcus Schwartz from comment #14)
> It looks like this also affects fluxbox's root menu.

Very interesting.  I realized the same problem today with fluxbox.  Actually I have suffered from this for years and didn't know why.
Comment 16 Benda Xu gentoo-dev 2016-05-11 03:14:18 UTC
Upstream has resolved this bug.  Please test the new version 1.4.16 in tree.
Comment 17 Kalin KOZHUHAROV 2017-01-05 08:40:30 UTC
I just confirmed that there are no apparent issues with =app-i18n/scim-1.4.16[gtk3] on at least one of my systems.

I fell its OK to get rid of the block from windowmaker, will file a new bug.
Comment 18 Benda Xu gentoo-dev 2017-01-05 09:07:28 UTC
(In reply to Kalin KOZHUHAROV from comment #17)
> I just confirmed that there are no apparent issues with
> =app-i18n/scim-1.4.16[gtk3] on at least one of my systems.
> 
> I fell its OK to get rid of the block from windowmaker, will file a new bug.

Thanks, I have just removed the block of windowmaker.