Issue 62642 - ALT and ENTER do not open the file menu
Summary: ALT and ENTER do not open the file menu
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: ui (show other issues)
Version: 680m156
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 62844 76765 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-02-28 11:49 UTC by wolframgarten
Modified: 2017-05-20 10:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description wolframgarten 2006-02-28 11:49:55 UTC
Hitting ALT and after this ENTER does not open the File menu like in the other
applications but the window bar menu.
Comment 1 clippka 2006-03-01 12:19:08 UTC
reassigned
Comment 2 wolframgarten 2006-03-07 08:00:10 UTC
*** Issue 62844 has been marked as a duplicate of this issue. ***
Comment 3 zhongqiyao 2007-09-07 09:38:04 UTC
In Calc, pressing Alt+E,S selects the "Edit -> Paste Specified (&S)"
but does not execute the menu item.

Is this a similar problem?
Could you check all such menu items in all applications,
not just Draw and Calc?

Thanks.

Qiyao
Comment 4 zhongqiyao 2007-09-07 09:38:35 UTC
In Calc, pressing Alt+E,S selects the "Edit -> Paste Specified (&S)"
but does not execute the menu item.

Is this a similar problem?
Could you check all such menu items in all applications,
not just Draw and Calc?

Thanks.

Qiyao
Comment 5 zhongqiyao 2007-09-11 11:55:12 UTC
In Calc, pressing Alt+O,C selects "Format -> Cell" but
does not execute the menu item.
Can you check all such problems in all menu items?

Thanks.

Qiyao
Comment 6 groucho266 2007-09-11 14:24:09 UTC
*** Issue 76765 has been marked as a duplicate of this issue. ***
Comment 7 groucho266 2007-09-11 14:25:16 UTC
Increasing target to that of duplicate issue (OOo 2.4).
Comment 8 groucho266 2007-09-11 14:28:30 UTC
@ zhongqiyao: I do not think that these issues are related and belong to
different applications.
Comment 9 groucho266 2007-10-30 13:47:05 UTC
Retargeted to 2.x due to time constraints.
Comment 10 Martin Hollmichel 2007-11-09 17:01:56 UTC
set target from 2.x to 3.x according
http://wiki.services.openoffice.org/wiki/Target_3x
Comment 11 liangweike 2008-07-08 09:50:34 UTC
According my experiments to this issue sometimes ALT needs to be pressed twice
so that later hitting ENTER can open File menu. It may be the problem of focus
transferring. I am trying to analyse it. 
Comment 12 groucho266 2008-08-06 11:49:08 UTC
Please take over.
Comment 13 philipp.lohmann 2008-08-06 15:37:05 UTC
pl->af: as discussed, Notify should return the correct value, the focus
forwarder should not duplicate the event.
Comment 14 groucho266 2008-08-06 16:00:25 UTC
Let me elaborate a little bit more the discussion between PL and me: the actual
processing of the ALT key does not happen in Window::Input() directly but in
Window::Notify().  The error is that ::sd::Window::Notify() does forward the
Notify() call to its ::Window base class but does not return its result.  Changing
        ::Window::Notify( rNEvt );
into
        nResult = ::Window::Notify( rNEvt );
fixes the bug.

This fix makes another little bug visible: pressing ALT once in a newly created
Impress document highlights the File menu entry shortly and then deselects it. 
Any further presses of the ALT key correctly highlight the File menu entry.  The
reason for this is the FocusForwardingWindow in ViewShellBase.cxx :  possibly
due to a merge error the KeyInput() method forwards key presses twice.  Removing
the line
    ::Window::KeyInput(rKEvt);
from FocusForwardingWindow::KeyInput() fixes this.
Comment 15 groucho266 2008-12-09 14:28:36 UTC
Setting target to OOo 3.2 due to time constraints.
Comment 16 groucho266 2009-09-25 09:45:00 UTC
Retargeted again for the same reasons as before.
Comment 17 groucho266 2010-07-13 09:36:47 UTC
Changing target.
Comment 18 Martin Hollmichel 2011-03-16 09:43:36 UTC
set target to 3.x since not release relevant for 3.4.
Comment 19 Marcus 2017-05-20 10:48:10 UTC
Reset assigne to the default "issues@openoffice.apache.org".