Switching themes when running Metacity window manager doesn't work

Bug #1677028 reported by Martin Wimpress 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mate-control-center (Ubuntu)
Fix Released
Medium
Martin Wimpress 

Bug Description

When running the Metacity window manager (a supported option in MATE Tweak), switch theme in MATE Appearance Preferences doesn't apply the theme changes to the window decorations.

Changed in mate-control-center (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Martin Wimpress (flexiondotorg)
Changed in mate-control-center (Ubuntu):
status: Triaged → In Progress
Changed in mate-control-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Iain Lane (laney) wrote :

I'm accepting this because it's no worse than what is there currently, but spawning the gsettings binary instead of using the API we have in GLib is really nasty. There are a some ways I can think of to deal with this:

  - Use the g_settings_schema_source_get_default() and look at the returned GSettingsSchemaSource (g_settings_schema_source_lookup(), g_settings_schema_has_key()) to see if it has the properties you want.
  - Look at `metacity --version' to decide what to try to do.
  - Require a particular metacity version as a lower bound and don't have cases for older ones.

Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

Thanks for the feedback.

The improvements you've identified are on the roadmap for MATE next, in fact adopting Metacity as a first class component is also up for discussion.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mate-control-center - 1.18.0-0ubuntu2

---------------
mate-control-center (1.18.0-0ubuntu2) zesty; urgency=medium

  * debian/patches:
    + Add 1000_support_metacity_theme_switching.patch to provide a helper
      that correctly changes Metacity >= 3.20 themes. (LP: #1677028)

 -- Martin Wimpress <email address hidden> Tue, 28 Mar 2017 21:19:05 +0100

Changed in mate-control-center (Ubuntu):
status: Fix Committed → Fix Released
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.