Bug 12661

Summary: Popup menu fails with X Error while switching portrait/landscape
Product: [Extras] Maemo 5 Community SSU Reporter: Arno Dekker <adekker>
Component: hildon-desktopAssignee: unassigned <nobody>
Status: UNCONFIRMED QA Contact: general
Severity: normal    
Priority: Unspecified    
Version: unspecified   
Target Milestone: ---   
Hardware: N900   
OS: Maemo   

Description Arno Dekker (reporter) 2012-09-05 23:18:10 UTC
SOFTWARE VERSION: 
(Settings > General > About product)
21.2011.38-1Tmaemo4.1 (but bug goes back since portrait mode is introduced I
think)

EXACT STEPS LEADING TO PROBLEM: 
(Explain in detail what you do (e.g. tap on OK) and what you see (e.g. message
Connection Failed appears))
1. Tilt the display in portrait mode and lay the N900 on a flat surface.
2. start a program that supports autorotation and used popup menus (clock
replacement for example). First annoyance is that it flips back to landscape
(why?)
3. Now lift the phone back to get portrait mode once again and do something to
make a popup menu appear (new alarm in the case of the clock replacement)

EXPECTED OUTCOME: 
I would see my popup menu

ACTUAL OUTCOME: 
Screen gets greyed out, only the task button (left uppper corner) is usable.
The application must be killed and started again to continue.
The terminal output is:
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode: 42 (X_SetInputFocus)
  Resource id:  0x2e00027

REPRODUCIBILITY: 
always

EXTRA SOFTWARE INSTALLED: 

OTHER COMMENTS:
I do not use auto rotation, don't know if that makes a difference. My second
N900 produces the same behaviour.