Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 485855

Summary: [GTK3] Background image doesn't reset
Product: [Eclipse Project] Platform Reporter: Eric Williams <ericwill>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 Keywords: triaged
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Background image is still present none

Description Eric Williams CLA 2016-01-14 10:05:44 EST
Created attachment 259185 [details]
Background image is still present

On GTK3.16 and higher, background images fail to reset. This is easily reproducible in ControlExample.

Steps to reproduce:
1) Run ControlExample.
2) Pick a widget that supports a background image (Label, for example).
3) Check "Background Image" to make the background image appear.
4) Un-check "Background Image". The background image is still there.

Expected results:
Un-checking "Background Image" should remove the image and restore the widget's background color.

I've tried to narrow this issue down but it seems to have been around for awhile (I went as far back as July 2015). GTK3.14 is unaffected. This happens with many widgets, not just Label (ExpandBar, Sash, etc.).
Comment 1 Eric Williams CLA 2018-03-23 11:25:12 EDT
Update: the background image resets, but checking the background image checkbox once more doesn't show the image.
Comment 2 Eric Williams CLA 2019-02-01 14:15:31 EST
I can no longer reproduce this issue.