Closed
Bug 120525
Opened 23 years ago
Closed 20 years ago
Windows classic skin button focus outlines 1px too big
Categories
(SeaMonkey :: Themes, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: ian, Assigned: mbockelkamp)
Details
Attachments
(1 file, 10 obsolete files)
1.28 KB,
patch
|
neil
:
review+
jag+mozilla
:
superreview+
asa
:
approval1.8a2+
|
Details | Diff | Splinter Review |
The focus ring on buttons in the Classic skin on Windows are 1px too large compared to native buttons. The focus ring is otherwise correct. The result is that a focused button that isn't in the :active state looks like it has a double thick border, when it should look like an outset border followed by a gap followed by a focus ring. This should be a pretty easy fix.
Assignee | ||
Comment 3•21 years ago
|
||
First is a Windows button, second is a Mozilla button.
Assignee | ||
Comment 4•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #131277 -
Flags: superreview?(jag)
Attachment #131277 -
Flags: review?(jag)
Assignee | ||
Updated•21 years ago
|
Attachment #131277 -
Flags: review?(jag) → review?(mkaply)
Comment 5•21 years ago
|
||
can you post a screenshot after your fix?
Assignee | ||
Comment 6•21 years ago
|
||
From top to bottom: - Mozilla without the patch - Mozilla with the patch - Windows button
Attachment #131276 -
Attachment is obsolete: true
Comment 7•21 years ago
|
||
Comment on attachment 131277 [details] [diff] [review] Patch r=mkaply any idea how easy it would be to round the corners like Windows?
Attachment #131277 -
Flags: review?(mkaply) → review+
Assignee | ||
Comment 8•21 years ago
|
||
> any idea how easy it would be to round the corners like Windows?
For that the behaviour of "dotted" had to be changed.
Comment 9•21 years ago
|
||
Comment on attachment 131277 [details] [diff] [review] Patch sr=jag
Attachment #131277 -
Flags: superreview?(jag) → superreview+
Comment 10•21 years ago
|
||
Assuming that the 1px margin is correct on a focussed button, can you please put the margin on the .button-box and adjust all the padding appropriately for normal, active and disabled but not focus. Otherwise the styles will conflict.
Assignee | ||
Comment 11•21 years ago
|
||
Additional padding is not necessary. Screenshot and Patch will follow.
Assignee | ||
Comment 12•21 years ago
|
||
Left column: Windows buttons Right column: Mozilla buttons
Attachment #134913 -
Attachment is obsolete: true
Assignee | ||
Comment 13•21 years ago
|
||
Margin moved to button-box.
Attachment #131277 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #139668 -
Flags: superreview?(jag)
Attachment #139668 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 14•21 years ago
|
||
Comment on attachment 139668 [details] [diff] [review] Patch v2 I like this patch :-) but it would be nice to see the comparison using the same font, and in a .gif or .png instead of a .jpeg :-P
Assignee | ||
Comment 15•21 years ago
|
||
Same font and PNG.
Assignee | ||
Updated•21 years ago
|
Attachment #139667 -
Attachment is obsolete: true
Assignee | ||
Comment 16•21 years ago
|
||
Better patch. Also corrects the buttons height. Neil: Would this cause regressions?
Assignee | ||
Comment 17•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #139668 -
Flags: superreview?(jag)
Assignee | ||
Updated•21 years ago
|
Attachment #139685 -
Attachment description: Screenshot → Screenshot of v2
Assignee | ||
Updated•21 years ago
|
Attachment #139687 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 18•21 years ago
|
||
Comment on attachment 139687 [details] [diff] [review] Patch v2a Spookily similar, but I don't really like you using a negative margin, I'd prefer it if you reduced the padding instead (yes, I know that means a bigger diff because the .button-box has several styles that set the padding). Also unless it's a -moz-appearance bug it would be neat if you figured out the correct outer border colour too.
Assignee | ||
Comment 19•21 years ago
|
||
Attachment #139668 -
Attachment is obsolete: true
Attachment #139687 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #140987 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 20•21 years ago
|
||
(In reply to comment #18) > diff because the .button-box has several styles that set the padding). Also > unless it's a -moz-appearance bug it would be neat if you figured out the > correct outer border colour too. What do you mean? On my PC all colours are correct.
Assignee | ||
Updated•21 years ago
|
Attachment #139687 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Updated•21 years ago
|
Attachment #139668 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Updated•21 years ago
|
Attachment #139685 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #139688 -
Attachment is obsolete: true
Comment 21•21 years ago
|
||
Comment on attachment 139688 [details]
Screenshot of v2a
The border of the bottom left button is black but that of the bottom right
button is dark grey.
Assignee | ||
Comment 22•21 years ago
|
||
(In reply to comment #21) > The border of the bottom left button is black but that of the bottom right > button is dark grey. OK, but changes to the colours will only take effect if I remove the "-moz-appearance: button;". Any ideas?
Comment 23•21 years ago
|
||
Must be another bug in the appearance code, then...
Comment 24•21 years ago
|
||
Comment on attachment 140987 [details] [diff] [review] Patch v3 It was only the *negative* margin that I asked you to remove... if you need the 1px margin for the focus effect then have it as it was in the last patch.
Attachment #140987 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Assignee | ||
Updated•20 years ago
|
Attachment #140987 -
Attachment is obsolete: true
Attachment #140987 -
Flags: review-
Assignee | ||
Comment 25•20 years ago
|
||
new attempt without changing the width of the buttons
Assignee | ||
Updated•20 years ago
|
Attachment #151539 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 26•20 years ago
|
||
Comment on attachment 151539 [details] [diff] [review] Patch v4 I just saw a case where it doesn't work as expected...
Attachment #151539 -
Attachment is obsolete: true
Attachment #151539 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 27•20 years ago
|
||
fixed new attempt - removed negative margin by changing paddings - decreased the button height by one (which is the default height of a windows button) - _no_ correction of the button width
Assignee | ||
Updated•20 years ago
|
Attachment #151546 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 28•20 years ago
|
||
Comment on attachment 151546 [details] [diff] [review] Patch v4a It's certainly an improvement although I get the impression that classic buttons are still too big.
Attachment #151546 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Updated•20 years ago
|
Attachment #151546 -
Flags: superreview?(jag)
Comment 29•20 years ago
|
||
Comment on attachment 151546 [details] [diff] [review] Patch v4a I take it screenshot of v2a still applies? sr=jag
Attachment #151546 -
Flags: superreview?(jag) → superreview+
Assignee | ||
Comment 30•20 years ago
|
||
(In reply to comment #29) > (From update of attachment 151546 [details] [diff] [review]) > I take it screenshot of v2a still applies? sr=jag The size of the buttons is slightly smaller now. Do you want an updated screenshot?
Assignee | ||
Updated•20 years ago
|
Attachment #151546 -
Flags: approval1.8a2?
Comment 31•20 years ago
|
||
Comment on attachment 151546 [details] [diff] [review] Patch v4a a=asa (on behalf of drivers) for checkin to 1.8a2
Attachment #151546 -
Flags: approval1.8a2? → approval1.8a2+
Comment 32•20 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 33•20 years ago
|
||
Can we fix this in toolkit/themes/winstripe/global/button.css as well?
Assignee | ||
Comment 34•20 years ago
|
||
Where can I see that file in action?
Comment 35•20 years ago
|
||
(In reply to comment #34) > Where can I see that file in action? It's the FireFox theme. I filed bug 251233 for porting the fix.
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•