To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72344
                 Issue #|72344
                 Summary|Code problem: void ShowWindow::KeyInput(const KeyEvent
                        |& rKEvt)
               Component|Presentation
                 Version|OOo 2.2
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|wg
             Reported by|jlcheng





------- Additional comments from [EMAIL PROTECTED] Wed Dec  6 21:30:31 -0800 
2006 -------
Source file "ooo_SRC680_m195_src\sd\source\ui\slideshow\showwin.cxx(line 143)":
                case KEY_RIGHT:
The problem is all key is for goto previous slide, but only this is goto next
slide. I think this "KEY_RIGHT" should be "KEY_LEFT". Thus codes is better
harmonious. Look like these:
void ShowWindow::KeyInput(const KeyEvent& rKEvt)
{
        BOOL bReturn = FALSE;

        if( SHOWWINDOWMODE_PREVIEW == meShowWindowMode )
        {
                TerminateShow();
                bReturn = true;
        }
        else if( SHOWWINDOWMODE_END == meShowWindowMode )
        {
                const int nKeyCode = rKEvt.GetKeyCode().GetCode();
                switch( nKeyCode )
                {
                case KEY_PAGEUP:
                case KEY_LEFT:
                case KEY_UP:
                case KEY_P:
                case KEY_HOME:
                case KEY_END:
                        // these keys will be handled by the slide show even
                        // while in end mode
                        break;

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to