Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
Bartik theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2015 at 19:15 UTC
Updated:
22 Sep 2015 at 15:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andypostLooks is used
Comment #3
andypostActually needs to check that logo displayed at color-preview
Comment #4
wim leersComment #5
wim leersI manually tested this.
I uploaded a custom logo for Bartik. Results of customizing the colors of Bartik below.
With HEAD:

With patch:

Comment #7
andypostnice trick :)
maybe make this key optional?
Comment #8
wim leersSo we do have some test coverage! Let's fix it there then.
Comment #9
wim leersThere.
Comment #10
mile231. Nice to have a test, but this only tests that the setting was saved, not that the image shows up on the page. Since the image preview seems to be handled by JS though, we can't really do that without something like selenium.
2. Also,
core/misc/druplicon.pngis an image of the druplicon. As it turns out, whendefault_logoisTRUE, Bartik showscore/themes/bartik/logo.svg, which is.... ALSO an image of the druplicon. :-) Which made manual repro kind of weird.Not sure whether to RTBC or NW, because we can't really address 1, and 2 isn't a blocker. So RTBC it is.
Comment #11
wim leersThanks for the review!
We test that the
drupalSettingsthat are necessary for the image to show up are present. Which is NOT working in HEAD. And indeed, the only way to ensure that the image is also visually there (i.e. that the JS isn't broken), is to run an actual browser that can run JS. So, yep, this is as good as it gets :):P The PNG does not get colored automatically! That's a big, noticeable difference :)
Comment #12
mile23Added beta eval, updated issue summary.
Comment #13
alexpottCommitted 3cd0943 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.