~flexiondotorg/ubuntu-themes/notebook-refactor

Viewing all changes in revision 552.

  • Committer: Bileto Bot
  • Author(s): Daniel van Vugt
  • Date: 2017-07-03 12:10:40 UTC
  • mfrom: (551.1.5 fix-1693155)
  • Revision ID: ci-train-bot@canonical.com-20170703121040-wvvjdh6pbc7x18k1
Fixed the ubuntu-mono-dark battery icons to avoid distortion in
Gnome Shell (LP: #1693155), and also to generally stop lying about the
sizes we advertise :)

The problem was our battery icons had always been odd dimensions
and we had just built Unity7 to deal with it. Now we're using Gnome
Shell, the battery icons finally need to be conventional squares...

             Before  After
 16/battery*  32x16  16x16
 22/battery*  26x22  22x22
 24/battery*  32x24  24x24

At very low DPI (e.g. a 1366x768 laptop and scale 1.0), Gnome Shell will
choose the icons that are height 16 and unconditionally scale them into a
square (hence bug 1693155). But at higher scales it tends to choose the
height 24 icons.

ALL the battery icons have retained their original visible height. And the
24x24 icons have retained their original shape completely. Only the 16 and
22's have become shorter to fit into a square. So this means at low DPI
(e.g. 1366x768) Gnome Shell will show a stubbier (16x16) battery similar
to Adwaita. However higher DPI machines at scales >= 2 will get the
full-length battery icons same as in Unity7.

The icons also retain their original appearance in Unity7 and greeter panels. (LP: #1693155)

Approved by: Matthew Paul Thomas

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: