autocompletion menu shows up when space key is pressed with some keyboard layouts

Bug #525502 reported by Guillaume Martres
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
DreamPie
Triaged
Undecided
Unassigned

Bug Description

OS: Ubuntu 9.10
Whenever the space key is pressed, the autocompletion menu shows up and no space is entered. The problem disappear when the line 214: "<accelerator key="space" signal="activate" modifiers="GDK_CONTROL_MASK"/>" in dreampie.glade is commented.
Apparently, glade doesn't take into account the "modifiers" parameter and the action "on_show_completions" is fired whether or not Ctrl is pressed along with space. Trying to manually set the shortcut with glade itself doesn't work either: no shortcut is entered when I press Ctrl+space, however Alt+space and space work.

This happens at least when the fr-oss xkb layout is used, steps to reproduce the problem:
- setxkbmap fr oss
- launch dreampie, press space
- to get back to your default layout use setxkbmap XKBLAYOUT-XKBVARIANT, which should be stored in /etc/default/console-setup

Revision history for this message
Noam Yorav-Raphael (noamraph) wrote :

Thanks for the report.

It seems to me that this is a GTK-related keyboard bug, which shows itself only for some keyboard layouts. For me it works as expected - space writes a space, ctrl+space shows the completion list.

Do you have any non-standard keyboard layout?

Changed in dreampie:
status: New → Incomplete
Revision history for this message
Guillaume Martres (smarter) wrote :

Indeed, I'm using fr-oss, switching to us or fr-latin9(which was the default layout in the majority of distros before fr-oss replaced it some years ago) makes the problem disappear.

summary: - autocompletion menu shows up when space key is pressed
+ autocompletion menu shows up when space key is pressed with some
+ keyboard layouts
description: updated
Revision history for this message
Noam Yorav-Raphael (noamraph) wrote :

Now it does it for me too. Thanks for the steps.

Changed in dreampie:
status: Incomplete → Confirmed
Revision history for this message
Noam Yorav-Raphael (noamraph) wrote :

This is a GTK+ bug. I reported it on https://bugzilla.gnome.org/show_bug.cgi?id=611089 .

Revision history for this message
Noam Yorav-Raphael (noamraph) wrote :

In the meanwhile, you can comment out the line in share/dreampie/dreampie.glade or just choose another accelerator.

Changed in dreampie:
status: Confirmed → Triaged
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.