Greybird theme and Synaptic

Bug #1268243 reported by Sergio Benjamim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shimmer-themes (Ubuntu)
Fix Released
Wishlist
Simon Steinbeiß

Bug Description

Synaptic does not fit well with Greybird theme, take a look at the picture. It affects Bluebird as well, and Albatross too.

I think I can help with a patch, but I don't know where to start.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: shimmer-themes 1.6.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-1.16-generic 3.13.0-rc7
Uname: Linux 3.13.0-1-generic i686
ApportVersion: 2.13.1-0ubuntu1
Architecture: i386
CasperVersion: 1.336ubuntu1
Date: Sun Jan 12 02:02:31 2014
LiveMediaBuild: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20140111)
PackageArchitecture: all
SourcePackage: shimmer-themes
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sergio Benjamim (sergio-br2) wrote :
Revision history for this message
Simon Steinbeiß (ochosi) wrote :

This is a known issue and is due to the fact that Synaptic packs stuff in a toolbar that usually doesn't go there (a custom search-bar). I personally don't feel like bisecting its code just to fix this tiny glitch, but if you want to submit a patch, that'd be welcome.

Pasi Lallinaho (knome)
Changed in shimmer-themes (Ubuntu):
status: New → Triaged
Pasi Lallinaho (knome)
Changed in shimmer-themes (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Simon Steinbeiß (ochosi) wrote :

Ok, so I've come up with a workaround. If you add this snippet to gtk-widgets.css or some separate css file that you include in gtk.css, Synaptic will look ok. Downside is that since Synaptic doesn't set a widget-name or has a separate class, this will affect all other apps with the same widget structure...

GtkWindow > GtkVBox > GtkHandleBox,
GtkWindow > GtkVBox > GtkHandleBox > GtkHBox > GtkToolbar {
    padding: 6px;
    border-style: none;
    background-image: linear-gradient(to bottom,
                                      shade(@toolbar_bg_color, 1.0),
                                      shade(@toolbar_bg_color, 0.88)
                                      );
    box-shadow: inset 0 -1px shade(@toolbar_bg_color, 0.75);
}

Revision history for this message
Simon Steinbeiß (ochosi) wrote :

Weirdly enough, the HandleBox has a special style class, which is called "dock", so with this I was able to create a very specific/unique widget path. Fixed in https://github.com/shimmerproject/Greybird/commit/202917d2ca7cdd3f44779d86798f6c4eea6dffe7

Changed in shimmer-themes (Ubuntu):
status: Triaged → Fix Committed
assignee: nobody → Simon Steinbeiß (ochosi)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shimmer-themes - 1.7.1-0ubuntu1

---------------
shimmer-themes (1.7.1-0ubuntu1) trusty; urgency=medium

  * New releases of several themes (Albatross:v1.7, Bluebird:1.1,
    Greybird:v1.3.2, Numix:v2.2, Orion:v1.4).
    - Fixes (LP: #1268243, #1286838)
  * debian/control
    - Add gtk2-engines-pixbuf to Depends, required by Bluebird,
      Fixes (LP: #1283630)
  * debian/patches:
    - orion_fix_abiwaord_rulers_page_bg.patch: dropped, included upstream.
  * Update Standards-Version to 3.5
 -- Sean Davis <email address hidden> Wed, 12 Mar 2014 21:52:23 -0400

Changed in shimmer-themes (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Sergio Benjamim (sergio-br2) wrote :

working very well here, thanks for the improve!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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