Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
Seven theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Dec 2014 at 09:22 UTC
Updated:
20 Jan 2015 at 19:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tadityar commentedComment #2
tadityar commented@LewisNyman
Actually, which screens are updated? I can't seem to notice the difference..
Comment #3
tadityar commentedComment #4
tadityar commentedChange status
Comment #5
lewisnymanThanks for the patch, for some reason the image in the patch seems to be corrupted? When I downloaded the screenshot it seemed fine.
I think there's a special option in
git difffor binary files? Maybe try the patch withgit diff --binary.Also on small thing, I noticed that the image is actually a little bit smaller than the size we display it at, any chance we can up the size of the screenshot to 300px?
Comment #6
tadityar commented@LewisNyman I'll try
git diff --binary. But when I opened the previous screenshot in PS the dimension was 294x219. Should I just increase it to 300?Comment #7
lewisnymanYeah I think it's the incorrect size right now
Comment #8
tadityar commented@LewisNyman it still doesn't work with the binary turned on.. I wonder how
Comment #9
tadityar commentedComment #10
tadityar commentedstatus change
Comment #11
tadityar commentedwrong size uploaded, update to new size
Comment #12
lewisnymanYeah! This now seems to be working correctly, but the image is just one pixel smaller than the display. I am being very picky but I think when a browser has to upscale an image even by a small amount it compromises the quality.

Comment #13
tadityar commented@LewisNyman hmm.. it's weird, when I check the dimension of the image it says 300x225
Comment #14
sivaji_ganesh_jojodae commentedI confirm the patch needs work,
1) While applying with -v argument I get the below warning message
2) I think, the expected size of snapshot is 294x219 (same as bartik). Indeed, it looks relatively distorted now.
Comment #15
lewisnymanIt's ok to have trailing white space in images
Comment #16
tadityar commentedComment #17
jedihe commentedComment #18
hussainwebI am reading the comments here. I think the image size is still supposed to be 294x219. The size 300x225 as seen in screenshots is actually the size of the entire box with margins and padding. That is the reason there is a discrepancy seen in #12. In that case, the file is actually scaled down to 294px, which makes the image size 294x220 and with margins and padding, it becomes 300x226.
I am updating the patch with the image from #3. Plus, I have optimized it with tinypng, which is lossy, but brings the image to the same size as the current screenshot.png. Lossless optimization brings it to 36kb which is almost thrice the size. I think we should be fine with slightly lossy compression for the benefits on size.
Comment #19
tadityar commentedTested on simplytest.me . The patch applies and the size of the screenshot is also 294x219 (the same as other screenshot) and I think it's fine with the compression as people won't try to read it anyway. So RTBC for me.

Comment #20
jedihe commentedReturning to unassigned... simplytest.me is not working for me + I haven't set up a proper local env for D8.
Comment #21
webchickCommitted and pushed to 8.0.x. Thanks!