Bug #7248

Background color turns black when changing display settings

Added by sajolida 2014-05-14 06:26:04 . Updated 2019-05-09 09:58:55 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

50%

Feature Branch:
bugfix/7248-bg-color-vs-display-settings-change
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

Steps to reproduce:

- Start Tails 1.1.

- Change display resolution in Applications → System Tools → Preferences
→ System Settings → Displays.
- Result: the background color turns black.

This happens has well if I set the background color using the GUI
utility for that. But this doesn’t happen if I set an image as wallpaper.

I can reproduce that both on bare metal and in VirtualBox.


Subtasks


History

#1 Updated by intrigeri 2014-05-14 13:23:00

Just a very random guess: maybe we should not set
secondary-color='#66BA00'.
in /etc/dconf/db/local.d/00_Tails_defaults. Note that changes there
are not taken into account on the fly. IIRC some command has to be run
as root, probably followed by logou/login.

#2 Updated by intrigeri 2014-05-15 02:23:25

  • Priority changed from Normal to Elevated

#3 Updated by intrigeri 2014-05-26 10:23:04

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri
  • % Done changed from 0 to 10
  • Starter set to No

TL;DR: Wheezy’s GNOME is basically in the middle of features being removed from a place, added elsewhere, and “fallback” mode being broken in the meantime (and possibly forever). A dirty, but simple workaround is available, though.

Anyway: I can reproduce this… unless org/gnome/desktop/background/show-desktop-icons is reset to its default value (
Oh crap, we should really have get rid of these earlier in the process of migrating to Wheezy :(

This looks like a Nautilus bug: my understanding is that when show-desktop-icons is true, Nautilus handles the desktop background. And else, the “background” settings-daemon plugin does. If I kill Nautilus, then I can’t reproduce this bug anymore, regardless of the value of show-desktop-icons.

The place where I’ve found knowledgeable people discussing this issue in most details is https://bugs.launchpad.net/ubuntu-gnome/+bug/1159430. It has not been fixed in Ubuntu running GNOME yet, despite these people are usually quite prompt at applying quick’n’dirty workarounds. This does not make me confident there is a not-too-hard solution.

I’ve tried patching the Adwaita theme with some tricks picked on that bug report, without any success.

So, I’ve resorted to a dirty workaround: setting a picture, that contains only our usual solid blue blackground color, as the background one. It seems to work. Will test a fresh build, and report back.

#4 Updated by intrigeri 2014-05-26 10:23:45

  • Feature Branch set to bugfix/7248-bg-color-vs-display-settings-change

#5 Updated by intrigeri 2014-05-26 10:54:26

  • Assignee changed from intrigeri to anonym
  • % Done changed from 10 to 50
  • QA Check set to Ready for QA

#6 Updated by anonym 2014-05-26 16:55:22

  • Status changed from In Progress to Fix committed
  • Assignee deleted (anonym)
  • QA Check changed from Ready for QA to Pass

Merged!

#7 Updated by BitingBird 2014-07-22 22:54:35

  • Status changed from Fix committed to Resolved