Closed
Bug 1153530
Opened 10 years ago
Closed 10 years ago
Dropdown list text colour issue with HWA enabled
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: kkovacev, Assigned: bas.schouten)
References
Details
(Keywords: regression, testcase, Whiteboard: [gfx-noted])
Attachments
(11 files)
131.19 KB,
application/zip
|
Details | |
102.66 KB,
image/jpeg
|
Details | |
92.77 KB,
image/jpeg
|
Details | |
50.94 KB,
image/jpeg
|
Details | |
55.43 KB,
image/jpeg
|
Details | |
217.17 KB,
application/zip
|
Details | |
120.24 KB,
image/jpeg
|
Details | |
113.38 KB,
image/jpeg
|
Details | |
123.26 KB,
image/jpeg
|
Details | |
113.61 KB,
image/jpeg
|
Details | |
127.53 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150328224110
Steps to reproduce:
Created modal dialog with jQuery UI with "UI Lightness" theme.
Actual results:
When window vertical scrollbar is in start position text colour of dropdown lists are wrong. In my example it is white instead of black. When scrollbar is moved down text colour is changed from white to black as it should be. When scrollbar is moved to top position colour is again changed to white.
Expected results:
Text colour of dropdown list should not change with movement of scrollbar.
Problem does not exist in Linux version. Also it does not exist in 36 branch.
And we need a minimal testcase, please.
Flags: needinfo?(kkovacev)
Keywords: testcase-wanted
I have tried to simulate this issue on my laptop (Ubuntu 14.04 + Windows 7 x86 in vBox) without success.
Everything is OK in this combination.
Original issue is occurring on my friend's laptop which is not at my disposal at the moment.
On that laptop I have remotely reinstalled FF 37.0.1 and FF 36.0.4 several times and problem is always visible with FF 37 version.
In few days I will have more info about HW/OS on that problematic laptop.
BR
Flags: needinfo?(kkovacev)
Hello, I have the same problem here:
I use Selects with jquery class "ui-widget-content".
This class adds a background property:
url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") repeat-x scroll 50% top #eee;
color: #333;
(the url background is almost white)
The texts appears in white color and I can't read the text (before the 37 update they appear in #333 color)
If I remove with firebug this css rule all the texts become #333 again and I see the contents.
It only happens with Selects, not Inputs.
The same page works fine in Chrome. I checked in distinct Win7 systems with the last Firefox update.
If I get more information I will post here.
Thank you.
(In reply to kkovacev from comment #4)
> On that laptop I have remotely reinstalled FF 37.0.1 and FF 36.0.4 several
> times and problem is always visible with FF 37 version.
> In few days I will have more info about HW/OS on that problematic laptop.
>
> BR
I think the issue is here, it's related to the OS/Hardware, probably because it's remote.
Can your friend test Firefox natively on his computer?
Hi,
I did not manage to see my friend with laptop but I have tested the same scenario on my old desktop (Intel® Core™2 Duo CPU E6750 @ 2.66GHz × 2 + GeForce 8800 GT/PCIe/SSE2) and the same issue exists.
So remote desktop connection is not an issue. Also, nVidia is not an issue because I am sure that my friend's laptop has intel graphics card.
I will try to make small example on public page so that you can see problem for yourself by end of the week.
BR
Reporter | ||
Comment 10•10 years ago
|
||
I have played with Inspector and CSS...
When these rules are disabled:
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
border-top-left-radius: 4px;
}
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
border-bottom-left-radius: 4px;
}
wierd color behavior does not exist.
Also when I do zoom in with FF (CTRL & +) problem disappear.
Hope this helps.
BR
Comment 11•10 years ago
|
||
could you attach a testcase as HTML file, please.
Reporter | ||
Comment 12•10 years ago
|
||
Hi,
Attached you can find example page with described bug.
Unfortunately it was not possible to make everything with one html file because jQuery and jQueryUI are used.
Just to remind you, problem is visible on Windows 7 machines. Try to change size of FF window and scroll up and down you will see it for sure.
BR
Comment 13•10 years ago
|
||
I'm not able to reproduce the issue with FF37 on Win 7, the 1st item in the dropdown list is always black, whatever is the vertical scrollbra is up or down.
Sounds Linux issue.
Reporter | ||
Comment 14•10 years ago
|
||
Native Windows 7 x64 with FF 37 (scroll bar up)
Reporter | ||
Comment 15•10 years ago
|
||
Native Windows 7 x64 with FF 37 (scroll bar moved)
Attachment #8594324 -
Attachment description: win7x64_1.jpg → Native Windows 7 x64 with FF 37 (scroll bar up)
Reporter | ||
Comment 16•10 years ago
|
||
Native Ubuntu 14.04 64 bit with FF 37 (scroll bar up)
Reporter | ||
Comment 17•10 years ago
|
||
Native Ubuntu 14.04 64 bit with FF 37 (scroll bar moved)
Reporter | ||
Comment 18•10 years ago
|
||
As you can see from previous comments with images native Windows with FF 37 has this issue.
On Ubuntu everything behaves as it should.
Also if you run Windows inside virtual machine you will not see this issue.
BR
Reporter | ||
Comment 19•10 years ago
|
||
And just to note IE 9+, Chrome, FF 36 does not have this issue.
So problem definitively is introduced with FF 37.
Comment 20•10 years ago
|
||
I see you're using a localhost to open the testcase. Are you able to repro the issue if you open directly the file "test.html" (file:///) in the location bar?
Reporter | ||
Comment 21•10 years ago
|
||
Yes, problem exist if I directly open test.html in FF.
Comment 22•10 years ago
|
||
Still not able to repro it.
Are you able to repro it in safe mode?
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Comment 23•10 years ago
|
||
Ok, I found the STR.
My screen resolution was 125% in Win 7, if I go back to 100%, I'm able to reproduce the issue with HWA enabled.
If I disable HWA (still at 100%), I can't reproduce it.
Try with HWA disabled, it should be normal:
https://support.mozilla.org/en-US/kb/forum-response-disable-hardware-acceleration (restart FF to apply)
Reporter | ||
Comment 24•10 years ago
|
||
In safe mode everything is OK.
Comment 25•10 years ago
|
||
(In reply to kkovacev from comment #24)
> In safe mode everything is OK.
That confirms my STR, because HWA is disabled in safe mode.
Comment 26•10 years ago
|
||
Regression range:
good=2014-10-01
bad=2014-10-02
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=14665b1de5ee&tochange=2399d1ae89e9
the suspected bug is probably due to D2D 1.1, maybe bug Bug 1075621.
Component: Widget → Graphics
Summary: Dropdown list text colour issue → Dropdown list text colour issue with HWA enabled
Version: 37 Branch → 35 Branch
![]() |
||
Comment 27•10 years ago
|
||
Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=165c3fd176ec&tochange=d954ed24e795
triggered by: Bug 902952
Regression window with force enable d2d1.1:
user_pref("gfx.canvas.azure.backends", "direct2d1.1,direct2d,skia,cairo");
user_pref("gfx.content.azure.backends", "direct2d1.1,direct2d,cairo");
user_pref("gfx.direct2d.use1_1", true);
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=3749c4d4e76b&tochange=8e28464849fa
Via local build:
Last good: 20e97c8496e4
First bad: 7b9201731195
triggered by: 7b9201731195 Matt Woodrow — Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas
I think that Bug 902952 should be backed out.
![]() |
||
Comment 28•10 years ago
|
||
[Tracking Requested - why for this release]:
status-firefox37:
--- → affected
status-firefox38:
--- → affected
status-firefox39:
--- → affected
status-firefox40:
--- → affected
tracking-firefox37:
--- → ?
tracking-firefox38:
--- → ?
tracking-firefox39:
--- → ?
Comment 30•10 years ago
|
||
Bas, why when the OS resolution in Windows is set to > 100%, the bug doesn't appear even if D2D1.1 and HWA are enabled?
Updated•10 years ago
|
Assignee: nobody → bas
Comment 33•10 years ago
|
||
Too late for 38 but we could take a patch for 39.
![]() |
||
Updated•10 years ago
|
Flags: needinfo?(bas)
Comment 34•10 years ago
|
||
Marking wontfix for 39.
By the way Loic -- your finding the STR on this was pretty awesome!
Assignee | ||
Comment 35•10 years ago
|
||
When I open the test HTML I don't seem to see any text boxes in general.
Comment 36•10 years ago
|
||
(In reply to Bas Schouten (:bas.schouten) from comment #35)
> When I open the test HTML I don't seem to see any text boxes in general.
Unzip the testcase https://bugzilla.mozilla.org/attachment.cgi?id=8594077 and load test.html.
Then click on "Open Master Dialog" > "Open Slave Dialog" then click on a drop-down list.
Assignee | ||
Comment 37•10 years ago
|
||
Now I get it. I can reproduce this issue and will fix it.
Assignee | ||
Comment 38•10 years ago
|
||
Not reproducible on nightly, turns out to be a dupe of bug 1153609 as far as I can tell.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Comment 39•10 years ago
|
||
Updating the status flags to match the duplicate, bug 115309.
status-firefox41:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•