[Arale] News aggregator scope has a white scope background in cards

Bug #1411748 reported by Victor Tuson Palau
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Kevin Gunn
unity8 (Ubuntu)
Fix Released
Critical
Andrea Cimitan
unity8 (Ubuntu RTM)
Fix Released
Critical
Unassigned

Bug Description

Open the news aggregator in Arale.
Go to the section "national news"
A white card background appears

This seems to be only impacting vertical-jounal cards.

Related branches

Changed in unity8 (Ubuntu):
importance: Undecided → Critical
Changed in canonical-devices-system-image:
importance: Undecided → Critical
Revision history for this message
Victor Tuson Palau (vtuson) wrote :

I can reproduce this in vivid too

Changed in canonical-devices-system-image:
milestone: none → ww09-2015
Revision history for this message
Albert Astals Cid (aacid) wrote :

Is this arale only? I can't reproduce it in a krillin+rtm (nor in the nexus+vivid since doesn't have the news scope)

Revision history for this message
Victor Tuson Palau (vtuson) wrote :

error snapped

Revision history for this message
Albert Astals Cid (aacid) wrote :

So we have https://code.launchpad.net/~cimi/unity8/fix-1393008/+merge/246138 on vivid (not on rtm-09) which adds the possibility of having backgrounds on some more card types than before, my guess is that the news scope used to specify a white background and we just ignored it and now we don't anymore.

If i'm right this has to be fixed on the scope level and not in unity8

Revision history for this message
Albert Astals Cid (aacid) wrote :

Chris is it you doing the news scope? Do you know who if not?

Revision history for this message
Chris Wayne (cwayne) wrote :

ssweeny works on the news scope, and there's no background specified in the code

Revision history for this message
Albert Astals Cid (aacid) wrote :

Actually, having a look at https://code.launchpad.net/~cimi/unity8/fix-1393008/+merge/246138 i can see that

  var hasBackground = (hasSummary || !isHorizontal) && (template["card-background"] || components["background"] || artAndSummary);
should be something more like
  var hasBackground = (!isHorizontal && (template["card-background"] || components["background"] || artAndSummary)) || (hasSummary && (template["card-background"] || components["background"]))

Otherwise we're adding a background to all cards with artAndSummary which i'd say is not what https://bugs.launchpad.net/developer-ubuntu-com/+bug/1393008 was about

Note that this should not affect rtm branch.

Changed in unity8 (Ubuntu):
assignee: nobody → Andrea Cimitan (cimi)
Andrea Cimitan (cimi)
Changed in unity8 (Ubuntu):
status: New → In Progress
Changed in unity8 (Ubuntu RTM):
importance: Undecided → Critical
no longer affects: unity8 (Ubuntu RTM)
Changed in canonical-devices-system-image:
status: New → Confirmed
status: Confirmed → In Progress
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu RTM):
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Michał Sawicz (saviq)
milestone: none → 14.09-ota-1
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.02+15.04.20150205-0ubuntu1

---------------
unity8 (8.02+15.04.20150205-0ubuntu1) vivid; urgency=medium

  [ Andrea Cimitan ]
  * Fix continue button in wifi wizard page, adds qml-module-
    qtsysteminfo as unity8 dep (LP: #1363400)
  * Background needs to be specified to be visible in horizontal cards
    (LP: #1411748)

  [ CI Train Bot ]
  * Resync trunk

  [ Michał Sawicz ]
  * Add workaround for gcc ICE.

  [ Albert Astals ]
  * Implement proper updateRanges for horizontal items (i.e. Carousel,
    Horizontal List)

  [ Michael Terry ]
  * Don't accept multiple "Finish" clicks during the last step of the
    wizard

  [ Daniel d'Andrada ]
  * Unify all liblightdm mocks
  * Ensure the greeter password field is not covered by the keyboard
  * Don't show() the lockscreen if it's already being shown
 -- Ubuntu daily release <email address hidden> Thu, 05 Feb 2015 10:30:13 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Victor Tuson Palau (vtuson) wrote :

this bug was only in vivid, does it need to go to rtm?

Revision history for this message
Michał Sawicz (saviq) wrote :

If we backport the fix for bug #1393008, we'll need this as well, as that's where the regression came.

Changed in canonical-devices-system-image:
assignee: nobody → Kevin Gunn (kgunn)
Revision history for this message
Michał Sawicz (saviq) wrote :

Importance of this can be reduced since it's not actually affecting RTM without the fix for the other bug.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

fixed in vivid

Changed in unity8 (Ubuntu RTM):
status: Triaged → Invalid
Changed in canonical-devices-system-image:
milestone: ww09-2015 → none
status: In Progress → Fix Released
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu RTM):
milestone: 14.09-ota-1 → none
assignee: Michał Sawicz (saviq) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.02+15.04.20150217~rtm-0ubuntu1

---------------
unity8 (8.02+15.04.20150217~rtm-0ubuntu1) 14.09; urgency=medium

  [ Albert astals ]
  * Preserve the aspect ratio for the card attribute images

  [ Andrea Cimitan ]
  * support background on horizontal cards with summary (LP: #1393008)
  * Background needs to be specified to be visible in horizontal cards
  (LP: #1411748)

  [ Daniel d'Andrada ]
  * Don't show() the lockscreen if it's already being shown

  [ Joshua Arenson ]
  * Create a PhysicalKeyMapper to handle all physical/hardware keys

  [ Michał Sawicz ]
  * Create a PhysicalKeyMapper to handle all physical/hardware keys

  [ Mirco Müller ]
  * Allow swipe-to-dismiss for contracted snap-decision notifications,
    interactive notifications and ephemeral notifications. (LP:
    #1355422, #1334855)
 -- CI Train Bot <email address hidden> Tue, 17 Feb 2015 10:47:19 +0000

Changed in unity8 (Ubuntu RTM):
status: Invalid → Fix Released
Changed in canonical-devices-system-image:
milestone: none → ww13-ota
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.