Closed Bug 471778 Opened 17 years ago Closed 17 years ago

Drop support for type="timed" for textboxes, in ChatZilla ( affects the search in Join channel )

Categories

(Other Applications Graveyard :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sgautherie, Assigned: bugzilla-mozilla-20000923)

References

()

Details

(Whiteboard: [cz-0.9.85])

Attachments

(3 files, 3 obsolete files)

No description provided.
This makes the filter box type=search, and falls back to type=timed if the binding isn't there (if there's a better way to check the binding has applied, suggest it). It works on Firefox 3.0.whateveritistoday and Firefox 3.1 Beta 2 (obviously only the later getting the search icon). I don't know what we'll do with the two other filters on the side, they have no need, nor room, for the type=search periphery, and yet type=timed is being deprecated.
Assignee: rginda → silver
Status: NEW → ASSIGNED
Attachment #355034 - Flags: review?(gijskruitbosch+bugs)
I'm confused. If the timeout is not there, isn't this going to start filtering the list immediately, which is not so nice? Or does it require hitting return, which is also not nice because we use it to actually join the selected/typed channel? Perhaps adding our own timeout textbox as suggested in bug 449045 is the best solution here (though the most annoying and stupid to implement).
(In reply to comment #2) > I'm confused. If the timeout is not there, isn't this going to start filtering > the list immediately, which is not so nice? type="search" implies a timeout, which defaults to 500 ms.
(In reply to comment #3) > (In reply to comment #2) > > I'm confused. If the timeout is not there, isn't this going to start filtering > > the list immediately, which is not so nice? > > type="search" implies a timeout, which defaults to 500 ms. I see. In this case, I guess we can also use the search type for the other two textboxes, and add some CSS with some sprinkling of !important to nuke the peripherial magnifying glass and so on?
That's an option, yes.
Comment on attachment 355034 [details] [diff] [review] [checked in] Use "search" binding when available r=me, and I would take a patch for the other boxes to have this done as well, with additional CSS so they don't end up looking hideous. :-)
Attachment #355034 - Flags: review?(gijskruitbosch+bugs) → review+
Attachment #355034 - Attachment description: Use "search" binding when available → [checked in] Use "search" binding when available
Attachment #355034 - Attachment is obsolete: true
It doesn't look that bad with the search image (I'd forgotten how wide the boxes were) and it gives a clickable "clear" function. I'm happy to do it without the CSS.
Attachment #357578 - Flags: review?(gijskruitbosch+bugs)
Hrm. Do we know what it looks like on other OSes? I would check Mac myself later tonight, but if someone can get a Gnome screenie that'd be good.
Attached image Looks on Mac OS X :-( (obsolete) —
So, I don't think we should do without the CSS. This is what things look like on Mac, when you start typing. You can fit 1 number between the spyglass and the X. :-(
(In reply to comment #10) > Created an attachment (id=357649) [details] > Looks on Mac OS X :-( Doesn't look like your build contains the fix for bug 450800.
Attached image Trunk screenie
(In reply to comment #11) > (In reply to comment #10) > > Created an attachment (id=357649) [details] [details] > > Looks on Mac OS X :-( > > Doesn't look like your build contains the fix for bug 450800. Uh, ok. So, I got trunk, and it can now fit 2 digits before filling the box. I'm still not happy with it. Also, I don't see a particularly big difference with the previous screenie, but I suppose that's just me.
Attachment #357649 - Attachment is obsolete: true
Typical Mac, two icons and wasting space with excessively rounded corners.
Does adding cocoa-size="small" help?
(In reply to comment #14) > Does adding cocoa-size="small" help? That allows three digits, and though it does make it a scrolling textbox at that point, they are all visible. It looks cramped though... I'd be happier if we could just remove at least the search icon. I don't see why it's necessary, the label is clear enough and in fact minima/maxima have nothing to do with a spyglass, the metaphor is completely lost whatever the case.
I should note, the crampedness is increased specifically by using cocoa-small because it also adjusts the vertical size of the box.
You can remove the clear icon using #minUsers .textbox-search-clear { list-style-image: none; }. You can remove the rounded corners and the search glass using #minUsers { -moz-appearance: textfield; padding: 0; }.
Comment on attachment 357578 [details] [diff] [review] [checked in] Convert min/max user filters to type="search" OK, so, r+ for these bits, but can you do a followup patch to nuke the silly images using the CSS Dao mentioned? Thanks!
Attachment #357578 - Flags: review?(gijskruitbosch+bugs) → review+
Attachment #357578 - Attachment description: Convert min/max user filters to type="search" → [checked in] Convert min/max user filters to type="search"
Attachment #357578 - Attachment is obsolete: true
So, the padding: 0; trashes the textbox's appearance on Windows. Any better ideas?
OK, so this makes the sidebar 18em instead of 12em on Mac only (since the left and right sides are set, not the window, we don't lose any width for the channel list - the window gets wider instead). I've tested this with a Windows-specific version of the rule, seems to work fine.
Attachment #363564 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 363564 [details] [diff] [review] Make sidebar 50% wider on Mac This looks good, but I can't actually test it until I have my macbook back, sorry! :-(
Attachment #363564 - Flags: review?(gijskruitbosch+bugs) → review+
Comment on attachment 363564 [details] [diff] [review] Make sidebar 50% wider on Mac Tad weird (very wide!) but this works fine, thanks a lot! r=me
Checked in --> FIXED.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.85]
Summary: Drop support for type="timed" for textboxes, in ChatZilla → Drop support for type="timed" for textboxes, in ChatZilla ( affects the search in Join channel )
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: