Bug 163905

Summary: Keyboard shortcuts in 1.9.117 showing up as three question marks
Product: [Fedora] Fedora Reporter: Linda Worthington <lindaw65>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.9.125 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-25 08:00:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
??? + O Menu Error none

Description Linda Worthington 2005-07-21 21:02:07 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6

Description of problem:
Updated to OpenOffice.org 1.9.117 with up2date and 85% of the time the keyboard shortcuts in the menu are three question marks instead of saying Control.  The functions still work even with the three question marks.

Version-Release number of selected component (if applicable):
OpenOffice.org 1.9.117

How reproducible:
Sometimes

Steps to Reproduce:
1.Open OpenOffice.org Writer, Draw, Impress, Base, Calc, Math.
2.File >
3.
  

Actual Results:  When the drop down menu shows instead of the keyboard shortcuts reading Control + O it says ??? + O.

Expected Results:  The three ? marks should be the word Control.

Additional info:

Even though the word Control is showing as three ? marks, the function still works.  The menu says, for example, ??? + O but I can use Ctrl + O and get the expected result.  Anywhere in the menu there should be the word Control it is three ? marks when this happens.  This happens 80% of the time just opening OpenOffice.org any module.

Comment 1 Linda Worthington 2005-07-21 21:02:50 UTC
This happens in KDE and Gnome.

Comment 2 Linda Worthington 2005-07-21 21:12:58 UTC
Created attachment 117035 [details]
??? + O Menu Error

I just opened Writer and this is a screenshot of my menu.

Comment 3 Caolan McNamara 2005-07-22 07:57:03 UTC
This implies that it cannot find the name for "Ctrl" and "Alt" to put into those
menus, so either OOo has changed its behaviour for searching for the right names
to use here, or where it gets the names has changed.

I suspect that where it gets the names, from some X lib or property, has changed
somehow.

Comment 4 Caolan McNamara 2005-07-22 08:31:17 UTC
it's got to be coming from this code... But I'm not seeing it on rawhide at the
moment.

caolanm->mharris: any known problems on the X side about getting keysym names
for Ctrl ?

String SalDisplay::GetKeyNameFromKeySym( KeySym nKeySym ) const
{
        String aRet;

    // return an empty string for keysyms that are not bound to
    // any key code
    XLIB_KeyCode aKeyCode = XKeysymToKeycode( GetDisplay(), nKeySym );
    if( aKeyCode != 0 && aKeyCode != NoSymbol )
    {
        if( !nKeySym )
            aRet = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "???" ) );
        else
        {
            aRet = ::vcl_sal::getKeysymReplacementName(
const_cast<SalDisplay*>(this)->GetKeyboardName(), nKeySym );
            if( ! aRet.Len() )
            {
                const char *pString = XKeysymToString( nKeySym );
                int n = strlen( pString );
                if( n > 2 && pString[n-2] == '_' )
                    aRet = String( pString, n-2, RTL_TEXTENCODING_ISO_8859_1 );
                else
                    aRet = String( pString, n, RTL_TEXTENCODING_ISO_8859_1 );
            }
        }
    }
        return aRet;
}


Comment 5 Linda Worthington 2005-07-22 15:10:37 UTC
Not sure if this is associated but since the OOo update I am loosing my repeat
rate on my keyboard.  I can usually hold down the backspace key and take out
some type but now I have to hit the key every time for every letter or space.  I
can log out and log back in and the repeat rate is there until I open OOo and I
lose it again.  I didn't have this problem until the 117 update yesterday.  

Comment 6 Linda Worthington 2005-07-25 12:31:11 UTC
Just an update.  I have tested this in Gnome and KDE with the same results for
the ??? issue and keyboard issue.  Thanks!

Comment 7 Linda Worthington 2005-08-04 21:47:47 UTC
Is there any resoultion for this bug?  Loosing my repeat rate on the keyboard
has become quite a problem with 95 pages of documentation to edit and submit in
less than 3 days.  When this happens I have to close all apps, log out and log
back in to get the repeat rate back.  Thanks!

Comment 8 Caolan McNamara 2005-08-24 11:30:09 UTC
I suspect this is an X bug, and nothing to do with OOo, I've been unable to
reproduce it. But there is now a testing update for fc4 to openoffice.org
1.9.125 in case it is OOo related to see if it remains

Comment 9 Caolan McNamara 2005-08-31 07:47:42 UTC
Is this still the case with 1.9.125 update ?

Comment 10 Linda Worthington 2005-08-31 11:41:45 UTC
The problem has been resolved with the update.  Thanks!!

Comment 11 Caolan McNamara 2005-08-31 11:43:12 UTC
cool, that's an unexpected win.

Comment 12 Linda Worthington 2005-09-27 11:15:34 UTC
Well the problem is back. Not sure what the issue is. I am running 1.9.125 with
the latest kernel. I opened an sxw file and now I have the three question marks
instead of the keyboard shortcuts even after reboot.