Closed
Bug 166704
Opened 22 years ago
Closed 22 years ago
Alt+tabbing to another app & back can disable typeaheadfind
Categories
(SeaMonkey :: Find In Page, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.1alpha
People
(Reporter: aaronlev, Assigned: aaronlev)
References
Details
Attachments
(3 files)
1.30 KB,
patch
|
Details | Diff | Splinter Review | |
1.73 KB,
patch
|
yuanyi21
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
3.47 KB,
text/html
|
Details |
If you use Alt+Tab, but let go of the alt before the tab, typeaheadfind gets disabled. This is because typeaheadfind receives a DOMMenuBarActive event, but not a DOMMenuBarInactive event. It turns out that ToggleMenuActiveState() uses SetActive(PR_TRUE) to turn on menus, but it doesn't use SetActive(PR_FALSE) to turn them off. SetActive is where the DOMMenuBar* events are fired. This occurs on Windows, possibly on Linux.
Assignee | ||
Updated•22 years ago
|
Assignee | ||
Comment 1•22 years ago
|
||
Should get review from hyatt, he's the only one who's touched this code. Otherwise, please tell me who should review it now.
i'm not sure which bug tracks it. but after i copy from browser and paste into mailnews composer i can't actually type letters into it. I have to alt-tab back to navigator, press a key and alt-tab back to mailnews composer. (w32 2002090408)
Summary: Alt+tabbing to anoither app & back can disable typeaheadfind → Alt+tabbing to another app & back can disable typeaheadfind
Assignee | ||
Comment 3•22 years ago
|
||
Timeless, I can't dup that bug. It's different than this bug anyway. You can file a new bug if you like. Could you include more details of the behavior - does it start searching for what you type while you're in mailcompose? Does the status bar say anything?
Comment on attachment 97855 [details] [diff] [review] Patches nsMenuBarFrame.cpp, changes ToggleMenuActiveState() looks good to me. there is one nit: seems InstallKeyboardNavigator() was called twice. could you fix this too?
Assignee | ||
Comment 5•22 years ago
|
||
Seeking r=
Comment on attachment 97910 [details] [diff] [review] Gets rid of unneeded call to InstallKeyboardNavigator(), and fixes comment to say we use the menuactive attribute r=kyle
Attachment #97910 -
Flags: review+
fwiw my concern was bug 166955 which has been fixed
Assignee | ||
Comment 8•22 years ago
|
||
Kyle, could you test this on Linux or Solaris for me, and make sure that we never lose the caret when Alt+Tabbing or using the menubar, and that everything related to the menubar still works?
Assignee | ||
Comment 9•22 years ago
|
||
Assignee | ||
Comment 10•22 years ago
|
||
I tried all kinds of things on Windows, and couldn't see any difference. No surprises there. Kyle is testing on Unix. Also have the annotated patch describing each change attached to this bug.
Comment 11•22 years ago
|
||
Comment on attachment 97910 [details] [diff] [review] Gets rid of unneeded call to InstallKeyboardNavigator(), and fixes comment to say we use the menuactive attribute sr=jst
Attachment #97910 -
Flags: superreview+
Assignee | ||
Comment 12•22 years ago
|
||
Asa gave a= on IRC
Comment 13•22 years ago
|
||
tested this patch on Solaris, it works fine. aaron, some sr may dislike to put 1-line |if|/|else| bodies into a {} block (in SetActive()).
Assignee | ||
Comment 14•22 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 15•22 years ago
|
||
looks fixed on win2k and linux rh7.2, 2002.09.24.08 mozilla trunk.
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•