Closed Bug 556196 Opened 14 years ago Closed 14 years ago

[D2D] Jagged Back button

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 567295
Tracking Status
blocking2.0 --- -
status2.0 --- wanted

People

(Reporter: mozbugz, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a4pre) Gecko/20100330 Minefield/3.7a4pre (.NET CLR 3.5.30729)
Build Identifier: 

with Direct2D enabled - Jagged Back Button in Windows 7.

Reproducible: Always



Expected Results:  
No Jagged Back button

See bug 554662 comment 20.
Attached image Jagged Back Button
Blocks: 527707
See Also: → 554662
Version: unspecified → Trunk
I suspect this is a dupe of bug 554874.
The problem goes away now the backout for bug 555133 occurred.
(In reply to comment #4)
> The problem goes away now the backout for bug 555133 occurred.

I just noticed on a new profile, my D2D and DW has been off.. I turned it back using current hourly and the problem is still there.
This is happening for me too

Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a4pre) Gecko/20100403 Firefox/3.7a3
Confirmed on Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a4pre) Gecko/20100405 Minefield/3.7a4pre
Status: UNCONFIRMED → NEW
blocking2.0: --- → ?
Ever confirmed: true
the small icons on the toolbar do not exhibit this issue.
(In reply to comment #8)
> the small icons on the toolbar do not exhibit this issue.

Confirmed! With small icons back button rendering is correct.
Same jaggedness here in latest nightly build.  The forward button also seems to have a square around the arrow glyph that is less opaque than the rest of the button.  This is very noticeable when using a dark persona (not so much otherwise) and happens whether or not small icons are turned on.
I think I've figured out why this is happening. Is the button made circular using border-radius? If so, anti-aliasing doesn't seem to work when a CSS gradient is used. It could be another reason, however.

I noticed this on this website:
http://gyakusheets.houjun.com/
Depends on: 554874
Component: General → Graphics
Product: Firefox → Core
QA Contact: general → thebes
See Also: 554662
Bug 563132

Since a weeks (time when 3.7a4 was entering last stages of RTW), i m seeing
that if i update my nightly , then i get very ugly shadows (without Anti
Aliasing i would say) on the Large Back button. But if i turn to small buttons,
then its fine

Further , a fresh install also fixes the problem. Then i used MozBackup and
restored everything but "General Settings" , it was normal, but on enabling
General Setting , the problem reappears. Now its almost impossible to know
which setting it was , also 3.6s , 3.5s and even 2.0s never gave this problem
so most probably there is some problem with new theme code.

And im not alone , see this mozilla.link page http://tinyurl.com/3axs7qm
There also , they got similar ugly shadows. 

Im adding my screenshot , showing the same.

https://bug563132.bugzilla.mozilla.org/attachment.cgi?id=442892
I have this bug in one of my two win7/minefield-d2d PC :

win7 x64+Nvidia 8800GTS (driver 197.45)

but not on the other :

Win7 x86+Intel GMA950

On the first one, the first appearance of the bug is after I use a persona.
(In reply to comment #14)
> I have this bug in one of my two win7/minefield-d2d PC :
> 
> win7 x64+Nvidia 8800GTS (driver 197.45)
> 
> but not on the other :
> 
> Win7 x86+Intel GMA950
> 
> On the first one, the first appearance of the bug is after I use a persona.

The second one might very well not be enabling Direct2D because of Intel GMA950 being too low spec.
I have understand that DirectWrite cannot work without  Direct2D, but, in the GMA950 PC, directwrite is enabled (the difference with the fonts is clearly visible)
(In reply to comment #16)
> I have understand that DirectWrite cannot work without  Direct2D, but, in the
> GMA950 PC, directwrite is enabled (the difference with the fonts is clearly
> visible)

Direct2D cannot work without DirectWrite (i.e. disabling DirectWrite will disable Direct2D). This is -not- true vice versa. DirectWrite -will- work without Direct2D.
Dao: The shadow effect looks better now with bug 555388 fixed, but its still jagged in its normal state and round in its pressed state which makes me wonder if there is still a tweak needed/fallout from bug 554662.
Something I see is odd.  The shadow effect looks like a cause of different back buttons.  The jaggedness still exists.

Open a new tab
look at disabled back button, same as attachment 436122 [details]
Navigate to a new page.
Navigate to a another new page and the back button changes style.
Back button is still jagged, the shadow effect is better.
I've looked into this, the jaggedness is because the button's outline is 'shaped' by a circular clip. At the moment because of bug 556581 we cannot enable anti-aliased clipping without getting artifacts (this is bug 543729).
Depends on: 543729
No longer depends on: 554874
(In reply to comment #20)
> I've looked into this, the jaggedness is because the button's outline is
> 'shaped' by a circular clip. At the moment because of bug 556581 we cannot
> enable anti-aliased clipping without getting artifacts (this is bug 543729).

Should we add dependencies to those bugs?
I don't think we've made a commitment to D2D blocking the 1.9.3 release, so this can't block either.
blocking2.0: ? → -
status2.0: --- → wanted
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: