Open Bug 530148 Opened 15 years ago Updated 2 years ago

Keyboard input doesn't work after switching virtual desktops

Categories

(Firefox :: Keyboard Navigation, defect)

3.6 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: wyatt, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b3) Gecko/20091115 Firefox/3.6b3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b3) Gecko/20091115 Firefox/3.6b3

With both this and the 3.6 Beta 2 release, if I switch to a different virtual desktop and switch back, keyboard input doesn't work.

I am running the DeskMan PowerToy for XP from this site: http://www.microsoft.com/windowsxp/Downloads/powertoys/Xppowertoys.mspx

Firefox is the only application I have running on this desktop. If I switch to a different desktop and switch back Firefox has the focus (as indicated by the darker title bar and the selection on the task bar) but the keyboard shortcuts I have tried don't work unless I click somewhere on the page that doesn't currently show it has the keyboard focus. I'll give examples below.

Reproducible: Always

Steps to Reproduce:
1. My cursor is currently in this entry box.
2. Switch to a different desktop and switch back (Win-2 and then Win-3 keys for me).
3. Blinking vertical cursor still shows active, but no keyboard input is received (including both normal typing to continue text entry in the box as well as keyboard shortcuts such as Ctrl-k, Ctrl-l and Ctrl-t).
4. After clicking in this box again, keyboard input is still not received.
5. Clicking in another input box on this page (or another tab, the URL bar or the search box) restores keyboard input.
Actual Results:  
Must click on a different input box or another tab/input area to re-enable keyboard entry.

Expected Results:  
Keyboard entry should resume as normal without any additional clicking.

This behavior started with the 2.6 betas. I didn't have this problem when I was running 3.5.
I can confirm this is happening for me in FF 3.6 final on WinXP SP3 using Virtual
Dimension with 2 screens and 10 desktops.

This problem has actually been around since 1.x and focus refactoring changes have not yet corrected it. See Bug 357215.
I can confirm this is happening for me in FF 3.6.3 on WinXP SP3 using Microsoft Virtual Desktop Manager.  All other browsers and applications behave normally with respect to the keyboard when switching between desktops.  Switching to a different tab then back again, or clicking in different areas of the page seem to fix the immediate problem.

I feel that the fixes for earlier keyboard/focus bugs (e.g. Bug 249136) didn't dig deep enough and that there's something way down in FF's innards that's not being done quite right in handling focus changes and the keyboard.  I've been happy with the fixes for the earlier bugs until I started using MSVDM recently.

MSVDM: http://www.microsoft.com/windowsxp/Downloads/powertoys/Xppowertoys.mspx
Version: unspecified → 3.6 Branch
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.