Closed
Bug 785281
Opened 12 years ago
Closed 3 years ago
[HiDPI] investigate using appropriate artwork (background) for the DMG window
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: phiw2, Unassigned)
References
Details
Attachments
(1 file)
194.31 KB,
image/png
|
Details |
--- bug 784982 comment #2 from Smokey Ardisson ---
> Oh, hmm. I wonder if the current background looks terrible on Retina Macs?
Going by the look of it in HiDPI mode, pixelated and not really pretty.
> I guess we should probably open a separate bug for that, because I imagine
> it's going to be more work (first seeing if a @2x page in a tiff gets used,
> then redrawing the icon elements of background at double size, etc).
It might eventually work by having both a filename.png and a filename@2x.png. The OS will then automagically fetch the correct image [1]. But I need to go through the relevant docs again to make sure. Total file size won't be much different (2 png vs 1 multi-page tiff).
But yeah, a bit of work in Photoshop to remake the icons. At least here I have an all-vector source file to work with…
[1] looking inside some Apple apps (e.g Preview) there are both filename.png and a filename@2x.png files
![]() |
Reporter | |
Comment 1•12 years ago
|
||
::sigh::
http://stackoverflow.com/questions/11199926/create-dmg-with-retina-background-support?rq=1
quote:
TIFF files with 2 representations work as folder background images for Retina as expected. Mac OS X 10.5, 10.7 and 10.8 show a correct BG representation depending on whether HiDPI is available or not. Unfortunately 10.6 shows oversized high resolution representation instead of a normal one, which makes it unacceptable if you're targeting 10.6 as well.
I tested this and indeed, on 10.6 the HiDPI image is used. I also tried with 2 PNG images, but there is no magic happening :-(
(my test dmg: http://dev.l-c-n.com/camino/_d/test3f.dmg - green background for Retina, red background for the others)
PS - It is possible that using a PNG background will give better results on Retina displays (compared to the screenshot linked above); scaling of jpg images is usually poor.
Yay Apple :/
At this time I think we have more 10.6 users than Retina users, so I guess we hold off on this for now :(
Also, whatever OS you made that .dmg on, the .DS_Store it generated doesn't work at all on 10.5 and below (no background at all) ;-)
So for bug 784982, we'll need to continue making the .DS_Store on an older OS.
![]() |
Reporter | |
Comment 4•12 years ago
|
||
(In reply to Smokey Ardisson (not following bugs - do not email) from comment #3)
> Also, whatever OS you made that .dmg on, the .DS_Store it generated doesn't
> work at all on 10.5 and below (no background at all) ;-)
Hmm, hold on… Mode: paranoia hat on. You can view the background image with Preview, right? Or is an image generated by tiffutil latest busted on older OS?
Image is here: http://dev.l-c-n.com/camino/_d/background.tiff.zip
I create the DMG on the Youngest Cat™, fwiw.
(In reply to philippe (part-time) from comment #4)
> (In reply to Smokey Ardisson (not following bugs - do not email) from
> comment #3)
> > Also, whatever OS you made that .dmg on, the .DS_Store it generated doesn't
> > work at all on 10.5 and below (no background at all) ;-)
>
> Hmm, hold on… Mode: paranoia hat on. You can view the background image with
> Preview, right? Or is an image generated by tiffutil latest busted on older
> OS?
/Volumes/test3/.background.tiff and the background.tiff from your zip open fine in Preview.
> I create the DMG on the Youngest Cat™, fwiw.
10.0?
I'd heard somewhere (can't remember now) that .DS_Store files generated on 10.6 were incompatible with 10.5 or 10.5-and-below.
I think it's a moot point for this bug given comment 1, but if I get a chance, I'll generate a .DS_Store/.dmg here with your background that we can play with.
![]() |
Reporter | |
Comment 6•12 years ago
|
||
(In reply to Smokey Ardisson (not following bugs - do not email) from comment #5)
> /Volumes/test3/.background.tiff and the background.tiff from your zip open
> fine in Preview.
Ouf. good. I was afraid for a moment that the latest version of tiffutil was acting up (which would be problem for all pending HiDPI icons).
>
> > I create the DMG on the Youngest Cat™, fwiw.
>
> 10.0?
That one is already a senior :-)
> I think it's a moot point for this bug given comment 1, but if I get a
> chance, I'll generate a .DS_Store/.dmg here with your background that we can
> play with.
Yeah, I don't have much hope for this to work, unless someone knows the secret magic incantation with hdutil and friends. At least as long as 10.6 is supported and retina displays are in a minority.
(In reply to philippe (part-time) from comment #6)
> Yeah, I don't have much hope for this to work, unless someone knows the
> secret magic incantation with hdutil and friends. At least as long as 10.6
> is supported and retina displays are in a minority.
Have you tried filename.png and filename@2x.png? I don't have high hopes of it working on Retinas given the way the .DS_Store works, but there's an outside chance it will, and in that case 10.6 should just use filename.png.
![]() |
Reporter | |
Comment 8•12 years ago
|
||
> Have you tried filename.png and filename@2x.png? I don't have high hopes of
> it working on Retinas given the way the .DS_Store works, but there's an
> outside chance it will, and in that case 10.6 should just use filename.png.
From comment 1:
> I also tried with 2 PNG images, but there is no magic happening :-(
Sorry, I wasn't very clear, that meant to say: using filename.png and filename@2x.png.
I checked the Chrome 'Canary' DMG and they haven't fixed it either. I've no idea if they tried or not, though (couldn't find any open bug).
(In reply to philippe (part-time) from comment #8)
> From comment 1:
> > I also tried with 2 PNG images, but there is no magic happening :-(
> Sorry, I wasn't very clear, that meant to say: using filename.png and
> filename@2x.png.
Bleh, I missed that line in comment 1; sorry :-(
In the immortal words of pink, ffffffffffffff.
Target Milestone: --- → Future
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•