Closed Bug 614382 Opened 14 years ago Closed 14 years ago

Polish the Edit filter dialog on Mac and also fix some obsolete styles (all OS)

Categories

(SeaMonkey :: Themes, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.1b2

People

(Reporter: stefanh, Assigned: stefanh)

Details

Attachments

(1 file, 1 obsolete file)

Basically the same issues as in bug 613358 (mac styling, some obsolete rules)
Attached patch v1.0 (obsolete) — Splinter Review
Just putting it here, need to think a bit about this since it might be an idea to move the .small-button rules to a file that both dialogs (search and filter) can use.

The width of the dialog was hardcoded in the css files, even though we set a width in the xul file (doesn't seem like a good idea either, though). The height is wrong for mac, since there's no room for a scrollbar in the upper listbox, but I figured that it can go in another bug.
Attached patch v1.1Splinter Review
-#FilterEditor {
-  width: 560px;
-  min-height:1px;

Not sure why the min-height was there...

Also see bug 620797, button rules are the same here.
Attachment #494171 - Attachment is obsolete: true
Attachment #499534 - Flags: review?(mnyromyr)
Status: NEW → ASSIGNED
Target Milestone: --- → seamonkey2.1b2
Comment on attachment 499534 [details] [diff] [review]
v1.1

I'm not sure I mentioned that in the search reviews - probably not, because this patch here has the same problem:
if you tab through the dialog, the keyboard focus gets lost (invisible) twice:
- leaving "match" radio group, entering rules area
- leaving rules area, entering actions area

The problem is that the areas themselves get the focus before tabbing gets to their internal elements, so either the area frames should provide visual feedback or (better!) they should not be part of the tab order.

Apart from that, the patch looks fine.
Attachment #499534 - Flags: review?(mnyromyr) → review-
(In reply to comment #3)
> Comment on attachment 499534 [details] [diff] [review]
> v1.1
> 
> I'm not sure I mentioned that in the search reviews - probably not, because
> this patch here has the same problem:
> if you tab through the dialog, the keyboard focus gets lost (invisible) twice:
> - leaving "match" radio group, entering rules area
> - leaving rules area, entering actions area

This happens on 2.0.11 too, so it's not caused by the patch. Perhaps we could have a separate bug for it?
Comment on attachment 499534 [details] [diff] [review]
v1.1

Moved the tabbing issue out to bug 621546.
Attachment #499534 - Flags: review- → review+
http://hg.mozilla.org/comm-central/rev/8f113735d48c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: