This service will be undergoing non-disruptive maintenance at 07:20 UTC, 2018-12-14. It is expected to last approximately 30 minutes
Bug 756833 - Can't type in code::blocks with ibus after certain control characters are typed
Summary: Can't type in code::blocks with ibus after certain control characters are typed
Status: CLOSED DUPLICATE of bug 769133
Alias: None
Product: Fedora
Classification: Fedora
Component: codeblocks (Show other bugs)
(Show other bugs)
Version: 16
Hardware: x86_64 Linux
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2011-11-24 19:27 UTC by James
Modified: 2012-01-03 14:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-01-03 14:10:46 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Bugzilla 758889 None None None Never

Description James 2011-11-24 19:27:46 UTC
This behaviour appears only in code::blocks if ibus is enabled, so I am not sure which component has the bug. A bug has been filed on the code::blocks project and I see exactly the same problem the filer is seeing.

The Problem:
I normally have ibus enabled in English mode. If I start code::blocks I can type text okay until I press one of the following keys: Any arrow key, 'Tab', 'Enter', Insert', 'Delete', 'Backspace', 'Home' and 'End'. These keys are 'executed' in the editor windows but all keyboard cursor commands and visible characters typed after that are ignored. I have found using Ctrl-Z undoes the text typed before the ignored keys, and then lets me continue typing normally. It seems as though the control keys are 'blocking' subsequent key presses until Ctrl-Z is hit.

* 'Alt', 'Ctrl' and 'Shift' do not cause the problem
* This does not affect code::blocks dialog boxes in any way.
* Quitting ibus fixes it and restarting code::blocks fixes it.
* I have not seen this problem in Nedit or Abiword

Fedora 16/XFCE
ibus 1.4.0
code::blocks 10.05

Comment 1 James 2011-11-24 19:29:46 UTC
That should read
* Quitting ibus and restarting code::blocks fixes it.

Comment 2 Dan Horák 2011-11-28 09:48:38 UTC
Hm, very interesting problem, which could be related to Scintilla, the editor component of C::B. Could you try the latest nightly build of C::B from ?

Comment 3 James 2011-11-30 19:16:18 UTC
Thanks for the response. I don't know when I'll be able to test a new release.

I did try a few more typing experiments. 

1. Type any ASCII characters, except \t and \n.
2. Press Tab and observe tab character is printed
3. Type any ASCII characters(except \t and \n) and observe all are ignored
4. Type Tab, Enter or Backspace and observe these still work
5. Press Ctrl, Alt or Shift
6. Type any ASCII characters, except \t and \n, and observe these work again.

This behaviour is NOT consistent across all input methods. In at least one all characters I type show up in code::blocks.

Quitting ibus immediately restores normal behaviour. No need to restart code::blocks or press Ctrl, Alt or Shift to fix it.

Comment 4 James 2011-11-30 21:44:04 UTC
This now looks like an ibus issue. I see a different problem in Nedit that is fixed by quitting ibus.

Comment 5 James Edgar 2012-01-02 06:14:16 UTC
ibus-1.4.0-16.fc16 appears to fix this issue.


Package ibus-1.4.0-16.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-1.4.0-16.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 6 James 2012-01-03 14:10:46 UTC

*** This bug has been marked as a duplicate of bug 769133 ***

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