Open Bug 474982 Opened 17 years ago Updated 1 year ago

While category dropdown is open in event dialog Ctrl-S jumps to entries starting with s and does not save

Categories

(Calendar :: Dialogs, defect)

defect

Tracking

(Not tracked)

People

(Reporter: simon.eu, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18pre) Gecko/20080917 Sunbird/0.9 When the Category field is selected and I press Ctrl-S, it will jump to the entry starting with S. The s should be caught! Reproducible: Always Steps to Reproduce: 1. 2. 3.
Summary: Shortcut to save event not caught → While category dropdown is open in event dialog Ctrl-S jumps to entries starting with s and does not save
Component: General → Dialogs
QA Contact: general → dialogs
Simon, this works for me in a recent 1.0pre nightly build. 'Ctrl+S' saves the event, hitting 'S' jumps to categories starting with 'S'. Isn't this the expected behavior?
Is there a place where I can download a precompiled 1.0pre for debian/i386? Atm only this is on my repo: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13pre) Gecko/20080916 Debian/unstable (Codename: sid) Iceowl/0.8
With the latest Nightly and TB3 b3 I can reproduce this behaviour using Windows XP Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.1) Gecko/20090715 Lightning/1.0pre Thunderbird/3.0b3 I will have a look at this.
Assignee: nobody → Mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
First look shows, that this is normal behaviour of the menulist/menupopup control. Works that way in TB and Firefox. Question is, if this is wanted or a bug?
In that case we might want to move this bug to toolkit, to allow key events to propagate outside of the menulist, what do you think? (Go ahead and do so if you agree)
Filed Bug 533209 for the Toolkit.
Depends on: 533209
Severity: normal → minor
OS: Windows XP → All
Hardware: x86 → All
Since the toolkit bug does not show any progress, I'm thinking about a workaround. I tried to catch the keypress event with onkeypress="someFunction();" but that does not seem to work. Does anyone have a hint how to do this?
So for an easy fix, you could try this one: https://developer.mozilla.org/en/XUL/menulist#a-disableautoselect but also take a look at bug 316927. The patch I attached there replaces the categories dropdown with a panel and a listbox. The bug may be fixed with that patch. If you want to debitrot that patch and fix the issues Decathlon noted, feel free.
Assignee: Mozilla → nobody
Status: ASSIGNED → NEW
Severity: minor → S4
Attachment #9385422 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: