Closed
Bug 381426
Opened 17 years ago
Closed 17 years ago
Can't be activated Input Method in the Bookmark Properties.
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
People
(Reporter: hidenosuke, Assigned: masayuki)
References
Details
(Keywords: intl, jp-critical, regression)
Attachments
(2 files, 2 obsolete files)
1.77 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
1.37 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
Steps to reroduce: 1. Open Bookmarks Manager. 2. Select any bookmark. 3. Open Bookmarks Proerties dialog from context menu. 4. Type a key to be activated Input Method. Actual result: Can't be activated IM. Expected result: Can be activate IM. More Information: If you open Bookmark Propertiese dialog by Properties button on the toolbar of Bookmarks Manager, there is no problem. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070521 Minefield/3.0a5pre
Reporter | ||
Comment 1•17 years ago
|
||
I made a mistake. Correct steps to rerpoduce: 1. Open Bookmarks Manager. 2. Select any bookmark. 3. Open Bookmarks Proerties dialog from context menu. 4. Click "Name" field. 5. Type a key to be activated Input Method.
Reproduce on Firefox-trunk/WinXP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a5pre) Gecko/20070521 Minefield/3.0a5pre
Assignee | ||
Comment 3•17 years ago
|
||
probably, this is a regression of bug 378752.
Assignee: nobody → smontagu
Blocks: 378752
Component: Places → Internationalization
OS: Linux → All
Product: Firefox → Core
QA Contact: places → i18n
Hardware: PC → All
Assignee | ||
Updated•17 years ago
|
Assignee: smontagu → masayuki
Assignee | ||
Updated•17 years ago
|
Assignee | ||
Comment 4•17 years ago
|
||
I think that we need to notify to finish the menu loop during the menus hiding. Because if a modal dialog is created at menu executing, the RemoveKeyboardNavigator is called after the modal loop. Note that we used the same hacking for nsMenuDismissalListener...
Attachment #265541 -
Flags: superreview?(roc)
Attachment #265541 -
Flags: review?(roc)
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Maybe we should call nsContentUtils::NotifyInstalledMenuKeyboardListener from nsMenuDismissalListener::Shutdown()?
Assignee | ||
Comment 6•17 years ago
|
||
I think that you are right excepted 1st of |nsMenuBarFrame::Escape| (I think that this code is not correct, we should remove it). For semantics, should we rename |NotifyInstalledMenuKeyboardListener|? The actual kb listener is not removed. Or, should we call |nsIMenuParent::RemoveKeyboardListener| in |nsMenuDismissalListener::Shutdown()|??
(In reply to comment #6) > I think that you are right excepted 1st of |nsMenuBarFrame::Escape| (I think > that this code is not correct, we should remove it). I agree. > For semantics, should we rename |NotifyInstalledMenuKeyboardListener|? The > actual kb listener is not removed. OK ... maybe we don't need to track menu status via NotifyInstalledMenuKeyboardListener? Can we just query to see if nsMenuDismissalListener is active? > Or, should we call |nsIMenuParent::RemoveKeyboardListener| in > |nsMenuDismissalListener::Shutdown()|?? Let's just do this for now.
Assignee | ||
Comment 8•17 years ago
|
||
Attachment #265541 -
Attachment is obsolete: true
Attachment #265557 -
Flags: superreview?(roc)
Attachment #265557 -
Flags: review?(roc)
Attachment #265541 -
Flags: superreview?(roc)
Attachment #265541 -
Flags: review?(roc)
Assignee | ||
Comment 9•17 years ago
|
||
(In reply to comment #7) > > For semantics, should we rename |NotifyInstalledMenuKeyboardListener|? The > > actual kb listener is not removed. > > OK ... maybe we don't need to track menu status via > NotifyInstalledMenuKeyboardListener? Can we just query to see if > nsMenuDismissalListener is active? No. nsMenuDismissalListener is not only for 'Menu'. It is used for autocomplete too.
Attachment #265557 -
Flags: superreview?(roc)
Attachment #265557 -
Flags: superreview+
Attachment #265557 -
Flags: review?(roc)
Attachment #265557 -
Flags: review+
Assignee | ||
Comment 10•17 years ago
|
||
checked-in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•17 years ago
|
||
I got a feedback, the patch doesn't work fine on sub folder's items of bookmarks toolbar. But it works fine on Bookmarks menu of menubar.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 12•17 years ago
|
||
The additional patch. The kb navigator installed menu parent doesn't related the context menu on submenu items on bookmark toolbar. I think that nsMenuDismissalListener should close *all* menus. So, this patch is 'adhoc', we need to clean-up nsMenuDismissalListener...
Attachment #265771 -
Flags: superreview?(roc)
Attachment #265771 -
Flags: review?(roc)
Assignee | ||
Comment 13•17 years ago
|
||
see also bug 381689.
This is really Neil's department...
Comment 15•17 years ago
|
||
nsMenuDismissalListener will be removed by bug 279703 so any code cleanup shouldn't be done. The patch there fixes the open menu chain to be handled properly.
Assignee | ||
Comment 16•17 years ago
|
||
Neil, thank you for the comment. We should take the current patch for 1.9a5, bug 279703 is not landed before a5, it's critical for us.
In the patch, what happens if mFirstParent is destroyed while we're in the other menu? We're left with a dangling frame reference, it seems
Assignee | ||
Comment 18•17 years ago
|
||
when the first parent frame is destroying, should recreate the nsMenuDismissalListener?
Assignee | ||
Comment 19•17 years ago
|
||
more adhoc but safety patch. I'm testing...
Attachment #265771 -
Attachment is obsolete: true
Attachment #265771 -
Flags: superreview?(roc)
Attachment #265771 -
Flags: review?(roc)
Assignee | ||
Comment 20•17 years ago
|
||
Comment on attachment 265829 [details] [diff] [review] Additional patch rv2.0 let's land this.
Attachment #265829 -
Flags: superreview?(roc)
Attachment #265829 -
Flags: review?(roc)
Attachment #265829 -
Flags: superreview?(roc)
Attachment #265829 -
Flags: superreview+
Attachment #265829 -
Flags: review?(roc)
Attachment #265829 -
Flags: review+
Assignee | ||
Comment 21•17 years ago
|
||
checked-in.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•