http://bugs.opencompositing.org/show_bug.cgi?id=894

           Summary: Alt key swallowed / Alt key doesn't work
           Product: Compiz Fusion
           Version: git HEAD
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: -Unknown
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I'd like to report a bug that practically prevents use of Compiz. I have
encountered it before in Beryl (or perhaps a much earlier version of Fusion)
and now it has appeared in Fusion...

The bug is as follows:
The alt key is swallowed by Compiz. Any key combo involving alt with Compiz
works just fine, but applications never ever receive an alt key.

Severity:
Severe... any application that makes any use of the alt key no longer can use
it. Examples: alt-F to access File or other menus. Usability shortcuts.
Programs where one has to alt-click or alt-drag. Complicated programs with
ctrl-alt-* as a crucial keyboard shortcut. Programs asking you to press alt-*.
Firefox. Accessing text terminals. Etc.

Workaround:
There does exist a way around this that not many people know of: If you hold
down another key such as shift or super, you can get an alt key through to the
application.

This may be an odd interaction between Compiz and xmodmap. I provide the output
of xev to help diagnose and also to illustrate the workaround:

------ begin xev debug -------

# Hold down alt key -- but xev doesn't see alt key!
FocusOut event, serial 29, synthetic NO, window 0x4e00001,
    mode NotifyGrab, detail NotifyAncestor

# Release alt key
FocusIn event, serial 29, synthetic NO, window 0x4e00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 29, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  

------------------------------

# Hold down super key
KeyPress event, serial 29, synthetic NO, window 0x4e00001,
    root 0x1a5, subw 0x0, time 1411824144, (-352,242), root:(866,265),
    state 0x0, keycode 64 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

# While holding down super, press alt... alt keysym is recognized!
KeyPress event, serial 29, synthetic NO, window 0x4e00001,
    root 0x1a5, subw 0x0, time 1411824177, (-352,242), root:(866,265),
    state 0x20, keycode 49 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

# Let go
KeyRelease event, serial 29, synthetic NO, window 0x4e00001,
    root 0x1a5, subw 0x0, time 1411824240, (-352,242), root:(866,265),
    state 0x28, keycode 64 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x4e00001,
    root 0x1a5, subw 0x0, time 1411824296, (-352,242), root:(866,265),
    state 0x8, keycode 49 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

-------------------------------------------------

I'm not sure what fixed this before... though I recall it was by pure chance,
perhaps after upgrading a package.

A Google search reveals a similar bug that involved a hidden .Xmodmap file or
somesuch in your home directory causing this. I do not have any such things.

This problem occurs on a virgin install of OpenSuse 10.3.

This problem does not go away if restarting Compiz-Fusion.

System setup: Suse 10.3... also happened on 10.2. 64-bit processor.


-- 
Configure bugmail: http://bugs.opencompositing.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Dev mailing list
[email protected]
http://lists.compiz-fusion.org/mailman/listinfo/dev

Reply via email to