Closed Bug 474667 Opened 16 years ago Closed 16 years ago

controller.type doesn't fire oninput events

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: whimboo, Unassigned)

References

Details

(Whiteboard: [verified-mozmill-1.1])

Attachments

(1 file)

Attached file Failing test
Sorry, when I cannot describe it in detail but Marco can help out here. As what I've seen today is, that when you use controller.type to change the title of a bookmark inside the editBookmarksPanel the title is not updated. As what Marco said, we have to use oninput to propagate the event. I'll attach a MozMill test which has to be run with the latest trunk build of MozMill. Otherwise it will not run.
editBMPanel_namepicker is an editable menulist, with an oninput listener. oninput the content of the list is saved to another element that we use to save the title. i can't see oninput handler called when type sets the value of this element, while i definately see it when manually typing.
Type simply doesn't fire oninput at all because I didn't know that listener even existed, ill try adding it this afternoon and see how this should work.
Apparently controller.menus.bookmarksMenu.menu_bookmarkThisPage is no longer in the code base, can someone give me this code so that I can work on this and see if I can add the oninput event to type?
Adam, you have to use a trunk nightly build to be able to run this test. It will not work with Shiretoko right now. If you are using such a build you should see the problem.
Ah thats the issue, okay thanks.
Adam, any progress on this bug so far?
This should now be fixed in trunk.Committed revision 361.
Looks good. Is it something we can get for the 1.0.3 release?
Thats a mikeal question, I had to monkey around with all this code again, can you re-verify?
We're shooting to get 1.1 out this week so I don't think we'll be pushing out another 1.0.x release before that.
Whiteboard: [mozmill-1.1]
(In reply to comment #9) > Thats a mikeal question, I had to monkey around with all this code again, can > you re-verify? Yeah. That looks fantastic! Both methods (open, and type) are working now. Thanks! If I should find regressions I'll open a follow-up bug.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Whiteboard: [mozmill-1.1] → [verified-mozmill-1.1]
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: