Closed
Bug 382313
Opened 18 years ago
Closed 14 years ago
Non Windows (Linux & AIX over xterm) can't display 1 pixel wide JPEG correctly
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: graham.cotgreave, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060418 Fedora/1.0.8-1.1.fc4 Firefox/1.0.8
View the gradients produced with the URL above in Windows firefox and they appear correct.
View on firefox (over X term) and the colours are skewed. (blue appears purple etc)
Have produced 1 px 2 px and 3 px wide 28 px long gradient jpegs with paintshop and loaded these .jpg files into the browser as file:///d:/temp.jpg 1px wide is only correct on windows FF 2px and above is correct on all browsers
Reproducible: Always
Steps to Reproduce:
1. On a linuxor Unix platform open an xterm and start FF.
2. View website given above
2. or generate 1px wide jpg gradient
3. open as file://
Actual Results:
A 1px wide jpg with a gradient of 0x0066cc to 0xffffff shows purple to white
Expected Results:
A 1px wide jpg with a gradient of 0x0066cc to 0xffffff shows blue to white
Comment 1•18 years ago
|
||
WFM with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070529 Minefield/3.0a5pre
Your build (1.0.8-1.1) is so old it's unsupported, please try 2.0.* or trunk. If you have to use an older build that is still supported by Fedora distributor, please report the build's bugs to the package maintainer.
| Reporter | ||
Comment 2•18 years ago
|
||
originally reported on a version 1.08 Linux but have also tested on
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1.3) Gecko/20070321 Firefox/2.0.0.3 on Sun and Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1.3) Gecko/20070321 Firefox/2.0.0.3 on AIX
Component: Bookmarks → General
OS: Linux → Solaris
Version: unspecified → 2.0 Branch
Comment 3•18 years ago
|
||
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070529 Minefield/3.0a5pre
Which image are you referring to? This image: http://secretgeek.net/Gradient.aspx?Direction=H&Length=150&StartColor=FF00FF&EndColor=00FF00&Format=jpeg
shows up as pink at the top and bright green at the bottom on Firefox trunk and Firefox 2.0.0.4. Can you provide a direct link to the image you're talking about?
Also, does this happen in Firefox 3 alpha4?
Product: Firefox → Core
QA Contact: bookmarks → general
Version: 2.0 Branch → 1.8 Branch
| Reporter | ||
Comment 4•18 years ago
|
||
yes http://secretgeek.net/Gradient.aspx?Direction=H&Length=150&StartColor=FF00FF&EndColor=00FF00&Format=jpeg
is a good example, On windows FF I agree it it magenta to green, but on the other platforms this is reversed. It only happens if the image is 1px wide, create two similar gradients in a paint program and the 1px wide displays incorrectly on non Windows platforms.
The other examples (and the main title bar) on the page also differ when viewed on Linux/unix.
Don't have access to install FF 3 A4 at present on the other platforms, I shall CC the network administrator on this.
Product: Core → Firefox
Version: 1.8 Branch → 2.0 Branch
Updated•18 years ago
|
Product: Firefox → Core
Version: 2.0 Branch → 1.8 Branch
Comment 5•18 years ago
|
||
graham, can you try if you see this problem also in the latest Gran Paradiso Build Alpha 5 ?
Comment 6•18 years ago
|
||
WFM when try to view the image: http://secretgeek.net/Gradient.aspx?Direction=H&Length=150&StartColor=FF00FF&EndColor=00FF00&Format=jpeg
on Mac, Windows, Solaris. Would you provide another test cases and image, so that we can reproduce this bug. Thanks
OS: Solaris → Linux
| Reporter | ||
Comment 7•18 years ago
|
||
(In reply to comment #5)
> graham, can you try if you see this problem also in the latest Gran Paradiso
> Build Alpha 5 ?
>
The problem is fixed in this build when displayed in the browser (however the icon shown on in the address bar is still the other way up!)
| Reporter | ||
Comment 8•18 years ago
|
||
(In reply to comment #6)
> WFM when try to view the image:
> http://secretgeek.net/Gradient.aspx?Direction=H&Length=150&StartColor=FF00FF&EndColor=00FF00&Format=jpeg
>
> on Mac, Windows, Solaris. Would you provide another test cases and image, so
> that we can reproduce this bug. Thanks
>
Emily, the most reliable source is a local file ;
Produce a 1 px and 2 px wide 28 px long gradient jpegs with paintshop (or similar) and load these .jpg files into the browser as file:///d:/temp1.jpg etc 1px wide is correct on windows FF (and 3.0a5 Gran Paradiso (see above)) but wrong on FF and Moz on Linux, Unix & AIX.
2px and above is correct on all browsers
| Reporter | ||
Comment 9•14 years ago
|
||
I have tried the latest code base and can it appears now to be correct in both the display area and the icon in the address bar. When run on an linux box via xming. However, there is still a difference between the display area and the icon in the address bar when viewed over XVision. So I guess, that now the main issue has been sorted, it is down to odd behaviour on certain X-terms and thus the call should be closed as the solution would appear to install more modern xterms. Chrome for example does display the correct result which is a bit bizarre.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•