Closed Bug 449045 Opened 16 years ago Closed 6 years ago

Drop support for type="timed" for textboxes

Categories

(Toolkit :: UI Widgets, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: dao, Assigned: dao)

References

()

Details

Attachments

(1 file)

It seems that all of our timed textboxes are search / filter fields. We should:

1. use type="search" for those textboxes,
2. maybe map type="timed" to the search binding for one major release,
3. eventually remove support for type="timed".
Depends on: 449375, 449661, 449664, 449669
No longer depends on: 449664
Depends on: 405892
Depends on: 449690
Summary: Remove the timed textbox binding → Drop support for type="timed" for textboxes
Target Milestone: --- → mozilla2.0
Depends on: 450733
Depends on: 451002
It seems weird to assume a specific function (search) from a UI behavior.  

Are there changes in functionality implied in the switch from timed to search?  

FYI, I'm using a timed textbox in a non-search related dialog (the autoconfig dialog for account creation in thunderbird).  

I would change to "search" if I still get the timed-like behavior, but it feels odd.

(aside: MDC needs to be updated if this happens: http://developer.mozilla.org/index.php?title=En/XUL/Attribute/Textbox.type&highlight=textbox+search)
(In reply to comment #1)
> It seems weird to assume a specific function (search) from a UI behavior.

It's just an observation. The vast majority of timed textboxes are used for searching / filtering.
Your autoconfig dialog is in fact the first and only exception that I know of. It's a valid use case, though. I'm not sure if that justifies keeping the binding in toolkit. In such rare cases the desired behavior could be achieved easily using oninput and a custom timer. I would advise against using type="search".
Depends on: 451852
Depends on: 471778
timed is a general behavior, it has nothing to do with the specialization of the textbox (such has search).  Timed textbox are useful when associated with 'number' textbox for updating  numerical property in 'real-time'. 

Support for timed textbox could be enabled when 'timeout' attribute is specified.
Target Milestone: mozilla2.0 → ---
Blocks: 1387013
Blocks: war-on-xbl
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Keywords: meta
Attachment #8940317 - Flags: review?(enndeakin)
Comment on attachment 8940317 [details]
Bug 449045 - Drop support for type="timed" textboxes.

https://reviewboard.mozilla.org/r/210598/#review216690
Attachment #8940317 - Flags: review?(enndeakin) → review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/eef0978b42ad
Drop support for type=timed textboxes. r=enn
https://hg.mozilla.org/mozilla-central/rev/eef0978b42ad
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Type: defect → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: