Bug 1175595 - [Fedora] using "PreeditType: OverTheSpot" child window input freezes
Summary: [Fedora] using "PreeditType: OverTheSpot" child window input freezes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 20
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1043381
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-18 07:09 UTC by fujiwara
Modified: 2015-01-21 19:27 UTC (History)
9 users (show)

Fixed In Version: ibus-1.5.9-8.fc20
Clone Of: 1043381
Environment:
Last Closed: 2015-01-06 06:07:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description fujiwara 2014-12-18 07:09:12 UTC
Created attachment 970408 [details]
stall.cpp

+++ This bug was initially created as a clone of Bug #1043381 +++

Description of problem:
make GUI software with the use of OpenMotif.If operating this software and inputting any character (ex. pushing [a] key), software is stalled.

Version-Release number of selected component (if applicable):
openmotif-devel-2.3.3-*

How reproducible:
Always

Steps to Reproduce:
1. install libX11 and OpenMotif-devel
compile stall.cpp

  (Ex.)
  # g++ -o sample stall.cpp -I/usr/include -lXm -lX11

2. Click text box on "Main" window to be able to input text.
3. Push any key such as [a], and don't release it during the following steps.
4. Keep pushing the key, and click "Sub Open" button, then "SUB" window will be opened.
5. Still keep pushing the key, and click "Sub EXIT" button in "SUB" window, then the window will be closed.
6. Repeat step 4 and 5.

Actual results:
The program stalls in a few times to repeat step 4 and 5.


Expected results:
The program doesn't stall. Actually, when you run non_stall instead of stall, you don't see the stall.

--- Additional comment on 2014-04-04 03:51:43 EDT ---

> What is the difference between the stall and non_stall code?

-	String strPreeditType = const_cast<char*>("None");
+	String strPreeditType = const_cast<char*>("OverTheSpot");

non_stall uses "None" instead of "OverTheSpot".

--- Additional comment on 2014-04-14 14:00:07 EDT ---

It seems to be a xcb problem:

#0  0x00007f6389986308 in poll () from /lib64/libc.so.6
#1  0x00007f638876caaa in _xcb_conn_wait (c=0xd12f50, 
    cond=<value optimized out>, vector=0x0, count=0x0) at xcb_conn.c:400
#2  0x00007f638876e1c8 in xcb_wait_for_event (c=0xd12f50) at xcb_in.c:517
#3  0x00007f638a41e6e8 in _XReadEvents (dpy=0xd10c80) at xcb_io.c:400
#4  0x00007f638a4054f0 in XIfEvent (dpy=0xd10c80, event=0x7fffaedcf800, 
    predicate=0x7f638a43cc70 <_CheckCMEvent>, arg=0xd5cff0 "@fq\212c\177")
    at IfEvent.c:68

Comment 1 fujiwara 2014-12-18 07:33:22 UTC
The patch is upstreamed:
https://github.com/ibus/ibus/commit/576ebc3633aa1fb3076ffac031255c3da4e2cd09

Comment 2 Fedora Update System 2014-12-18 10:14:57 UTC
ibus-1.5.9-8.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/FEDORA-2014-16630/ibus-1.5.9-8.fc21

Comment 3 Fedora Update System 2014-12-18 10:18:11 UTC
ibus-1.5.9-8.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2014-16705/ibus-1.5.9-8.fc20

Comment 4 Fedora Update System 2014-12-19 18:30:15 UTC
Package ibus-1.5.9-8.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-1.5.9-8.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16630/ibus-1.5.9-8.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-01-06 06:07:41 UTC
ibus-1.5.9-8.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-01-06 06:18:01 UTC
ibus-1.5.9-8.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.