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)
Other Applications Graveyard
ChatZilla
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.
| Assignee | ||
Comment 1•17 years ago
|
||
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)
Comment 2•17 years ago
|
||
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).
Comment 3•17 years ago
|
||
(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.
Comment 4•17 years ago
|
||
(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?
Comment 5•17 years ago
|
||
That's an option, yes.
Comment 6•17 years ago
|
||
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+
| Assignee | ||
Updated•17 years ago
|
Attachment #355034 -
Attachment description: Use "search" binding when available → [checked in] Use "search" binding when available
Attachment #355034 -
Attachment is obsolete: true
| Assignee | ||
Comment 7•17 years ago
|
||
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.
| Assignee | ||
Comment 8•17 years ago
|
||
Attachment #357578 -
Flags: review?(gijskruitbosch+bugs)
Comment 9•17 years ago
|
||
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.
Comment 10•17 years ago
|
||
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. :-(
Comment 11•17 years ago
|
||
(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.
Comment 12•17 years ago
|
||
(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
| Assignee | ||
Comment 13•17 years ago
|
||
Typical Mac, two icons and wasting space with excessively rounded corners.
Comment 14•17 years ago
|
||
Does adding cocoa-size="small" help?
Comment 15•17 years ago
|
||
(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.
Comment 16•17 years ago
|
||
I should note, the crampedness is increased specifically by using cocoa-small because it also adjusts the vertical size of the box.
Comment 17•17 years ago
|
||
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 18•17 years ago
|
||
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+
| Assignee | ||
Updated•17 years ago
|
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
| Assignee | ||
Comment 19•17 years ago
|
||
So, the padding: 0; trashes the textbox's appearance on Windows. Any better ideas?
| Assignee | ||
Comment 20•17 years ago
|
||
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 21•17 years ago
|
||
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! :-(
Updated•17 years ago
|
Attachment #363564 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 22•17 years ago
|
||
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
| Assignee | ||
Comment 23•17 years ago
|
||
Checked in --> FIXED.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•17 years ago
|
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 )
Updated•1 year ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•