https://bugs.documentfoundation.org/show_bug.cgi?id=95567

--- Comment #7 from vrishab <vrishab...@gmail.com> ---
Created attachment 120949
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120949&action=edit
Temporary fix for this issue

Xtightvnc ( http://www.tightvnc.com/ ) seems to behave differently as it has
its own way of handling keysyms. So, the XkbKeycodeToKeysym() calls for the
modifier keys ( Alt / Ctrl / Shift ) are 0. Hence, the following code in
vcl/unx/generic/app/saldisp.cxx returns ??? when it is given a keysym of 0.

OUString SalDisplay::GetKeyNameFromKeySym( KeySym nKeySym ) const

    if( aKeyCode != 0 && aKeyCode != NoSymbol )
    {
        if( !nKeySym )
            aRet = "???";
        else
        {
          ...
          ...
          ...

        }
    }
    return aRet;
}

I have used this patch to fix this issue temporarily for my case. The patch
uses meaningful defaults for the modifier keys. Though a better patch is
welcome.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to