Settings, Preferences, ect. - All keyboard input is added twice

Bug #1399945 reported by Doug McMahon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Winff
Unknown
Unknown
ibus (Ubuntu)
New
Undecided
Unassigned
winff (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Test Case:
Open winff
Try to edit or add something using keyboard. All characters are doubled
Screen shows attempt to add /Videos to Output Folder box

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: winff 1.5.3-4ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Uname: Linux 3.16.0-25-generic x86_64
ApportVersion: 2.15-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Dec 6 10:32:03 2014
InstallationDate: Installed on 2014-11-16 (20 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141114)
PackageArchitecture: all
SourcePackage: winff
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Paul Gevers (paul-climbing) wrote :

Interesting, this bug seems to pop-up once in a while and after some investigation the reporter usually reports it is fixed (without any changes). As I have never been able to reproduce myself, I think it actually might depend on the desktop environment or the specific widget set. Do you by any chance also have an other DE available where you could confirm the behavior? Does winff-qt (you may have to install that separately) behave the same?

Revision history for this message
Doug McMahon (mc3man) wrote :

qt is fine
Seen in both a gnome (gnome-shell) & ubuntu (unity) sessions. Don't have anything else avail. atm
It's pretty early in dev so probably best to see what transpires over time..

Revision history for this message
Paul Gevers (paul-climbing) wrote : Re: [Bug 1399945] Re: Settings, Preferences, ect. - All keyboard input is added twice

On 06-12-14 17:09, Doug McMahon wrote:
> qt is fine
> Seen in both a gnome (gnome-shell) & ubuntu (unity) sessions. Don't have anything else avail. atm
> It's pretty early in dev so probably best to see what transpires over time..

I just installed the Ubuntu build of Winff [1] on my Debian Jessie
system and I don't see the problem here. This suggests that the problem
is NOT (totally) in the Winff package, but in the Eco-system (or a
combination of the two). Unfortunately I am not in the position to debug
this in Ubuntu. Of course, if this can be worked-around within Winff I
am open to patches, although I prefer the real problem to be solved.

Paul

[1] https://launchpad.net/ubuntu/utopic/amd64/winff-gtk2/1.5.3-4ubuntu1

Revision history for this message
Doug McMahon (mc3man) wrote :

I've no idea how to debug but if I remove ibus then all is ok again
Packages removed initially -
ibus
ibus-pinyin
ibus-table
unity-control-center
unity-control-center-signon
webaccounts-extension-common
xul-ext-webaccounts

Then adding back ibus & unity-control-center & it returns so I'd place issue somewhere with ibus

Revision history for this message
Doug McMahon (mc3man) wrote :

I could if useful build u-c-c without the dep on ibus & see if u-c-c is involved

Revision history for this message
Paul Gevers (paul-climbing) wrote :

Per comment #5 I have added ibus to this bug. ibus maintainers: I have received this bug against Winff more than once, but this time Doug figured out the the duplication of input in Winff is solved by deinstalling ibus. Could you please investigate if this is something that should be fixed in ibus?

If you think there is something wrong in Winff (or the widget set used by it via fpc / lazarus, don't hesitate to let me know.

Revision history for this message
Paul Gevers (paul-climbing) wrote :

I just found this link¹; does it help to prevent the issue?

'''
Typing in edit fields generate duplicate letters

This is more likely to happen under Ubuntu and Ubunto derived distros, and with GNOME Desktop but other distros/Desktop environments can be affected too.

The problem is originated by bugs in the ibus Input Method System. Unfortunately Ibus is the default input method of GNOME desktop.

If you don't know what an IM is, this means that you do not need it, and therefore the easiest way is to disable IM's at all.

In order to do that you have a number of options, namely:

    1 - Disable (or set to "none") the Input Method in System Settings->Preferences->Input Method

    2 - Add the three following lines in /etc/profile (system wide)

export GTK_IM_MODULE=gtk-im-context-simple
export QT_IM_MODULE=simple
export XMODIFIERS=@im=none

    3 - Add a file named input_method.sh containing just the 3 lines above in /etc/profile.d (system wide)

    4 - Add the 3 lines above in the home directory ~/.xprofile (per user). If there's no ~/.xprofile in your home directory, you should create one.

    5 - Create a Lazarus launching script containing the same 3 lines. (affects only Lazarus)

Methods 1 and 2 may not survive after a system update, while 3,4 and 5 will.

Be aware that both GTK and QT applications may change dynamically the IM. If you experience the problem in an apparently random way, chances are good that some other application is enabling again an IM and fails to set to default when terminates. If such is the case method 5 is the only one suitable.

You may find more information about Input Methods, and how to deal with them in:

https://fedoraproject.org/wiki/I18N/InputMethods[2] (This is Fedora specific but most informations apply in general)

http://www.pinyinjoe.com/linux/ubuntu-12-chinese-setup.htm[3] (This is Ubuntu specific, but again most informations apply in general. It explains how to enable IM but the info can be used also to disable it)
'''

¹ http://wiki.lazarus.freepascal.org/Lazarus_Faq#Typing_in_edit_fields_generate_duplicate_letters

Revision history for this message
Peter B (ueter) wrote :

gtk package dropped in 1.5.5-10
Please re-open if seen in the qt package

Changed in winff (Ubuntu):
status: New → Fix Committed
Peter B (ueter)
Changed in winff (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.