Closed Bug 13372 Opened 25 years ago Closed 25 years ago

Win32 - Alt-Space must be hit twice to bring up control menu

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 23445

People

(Reporter: cpratt, Assigned: saari)

References

Details

(Keywords: platform-parity, testcase, Whiteboard: [TESTCASE] Space shouldn't scroll down when pressed with alt)

Build ID: 1999090808
Platform: Windows NT (this bug is Win32-specific)

To reproduce:
- Launch apprunner and load a long Web page (eg macintouch.com)
- Press Alt-Space to show the window menu (do not use the mouse to show the
window menu)

Result: The window menu is display correctly, but the Web page also scrolls down
one screen

Expected result: The window menu is shown but the page is not scrolled down

I'm guessing we aren't 'hearing' the modification of the spacebar and are
therefore scrolling?
Verified the bug report as valid & definitive.

The bug is also still there on Apprunner 1999092508 / WinNT4 SP5.
Whiteboard: [TESTCASE] Space shouldn't scroll down when pressed with alt
Here is a snippet of code which someone could test on Windows in the NS_KEY_PRESS
case of nsEventStateManager::PostHandleEvent:

      //Spacebar
      // check for modifier keys; don't scroll if we find one
      if (keyEvent->charCode == 0x20
          && !(keyEvent->isShift || keyEvent->isControl || keyEvent->isAlt
#ifdef XP_MAC
          || keyEvent->isCommand
#endif
          ) ) {
Blocks: 15693
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
This still happens in the 1999101408 build under NT. Was this bug marked fixed
by accident, or will this be fixed in a later build? Thanks.
this was fixed yesterday so it should be in today's build (10/15/99).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
The problem is not fixed in the 1999101508 builds on either Windows 98 or
Windows NT. Reopening and clearing resolution.
what's the status of this bug? Which milestone is this slotted for?
Target Milestone: M14
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → WORKSFORME
ALT+Spacebar is no longer paging down, it is doing what it is meant to do in
Win32 - activating the control menu at the left end of the title bar.

This is covered in bug 19328 "[Windows] ALT+SPACEBAR is not activating control
menu" - It has been working for me properly since at least 1999-12-14,
and is still working properly with the 2000-01-06-08-M13 nightly binary on
Windows NT 4.0sp3.

Marking WORKSFORME because it has been for some time now :-)
Status: RESOLVED → REOPENED
It's still scrolling down for me.  On my nightly build 2000010908 (WinNT4 SP6),
pressing alt-space both
- brings up the menu, and
- scrolls down to the end of the document (not one screen as in the original
  bug report).

Also note that alt-space doesn't work at all if focus is in the URL field - I
need to click on the document window first to make it work.  Notation added to
bug 19328 about this behaviour, as well.

Reopening.
Resolution: WORKSFORME → ---
Clearing WORKSFORME resolution due to reopen.
Hmm. It does indeed appear that where the focus is at the time is very relevant
to what happens when ALT+spacebar is entered.

1. Scrolling down all the way happens if ALT+spacebar is pressed immediately
   after launching Mozilla - this may be related to bug 20476 "Clicks close to
   scrollbar thumb causes scroll-to-beginning/end"
2. If the menubar has focus (press-and-release ALT to toggle), the page scrolls
   down exactly once when ALT+spacebar is pressed.
3. After navigating to another page, ALT+spacebar does not scroll the page,
   it only activates the control menu.
4. If the scrollbar is given focus by manipulation immediately before pressing
   ALT+spacebar, the control menu is activated, but the page does not scroll.

It seems likely that bug 22782, "Arrow/letter keys get to browser when menu is
active" is relevant here... although ALT+SPACE is still not the same thing as
[Spacebar] alone.

Tested with: 2000-01-12-10-M13 nightly binary on Windows NT 4.0sp3
See also bug 9701.
Target Milestone: M14 → M17
Moving M17.
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Keywords: pp
Summary: [PP] Win32 - Alt-Space scrolls down but shouldn't → Win32 - Alt-Space scrolls down but shouldn't
The page no longer scrolls at all.  However, two alt-space's are required to 
bring up the control menu.  Binding issue?  Sending over to saari
Assignee: joki → saari
Status: REOPENED → NEW
Summary: Win32 - Alt-Space scrolls down but shouldn't → Win32 - Alt-Space must be hit twice to bring up control menu
This is a dup of 23445


*** This bug has been marked as a duplicate of 23445 ***
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → DUPLICATE
Dutifully verifying as duplicate of bug filed 10,073 bugs later.
Status: RESOLVED → VERIFIED
Sorry, I just pick a bug to work with. I don't care when it was filed.
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.