No image preview when adding a custom wallpaper

Bug #1802589 reported by Khurshid Alam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-control-center (Ubuntu)
Fix Released
Low
Khurshid Alam

Bug Description

How to reproduce,

1) Go to unity-control-center->appearance

2) Click on + icon, select a valid image

3) (Expected) GtkFileChooser dialog shows a small preview of the image,

4) (Actual) No, preview. Instead a icon (dialog-question) is shown.

This is same for user accounts panel when user tries to add a custom avatar.

This reason is in https://bazaar.launchpad.net/~unity-control-center-team/unity-control-center/trunk/view/head:/panels/appearance/cc-appearance-panel.c#L1303

it uses g_file_info_get_content_type which returns an internal string and hence mime_type is always NULL.

See: https://bugzilla.gnome.org/show_bug.cgi?id=778424

Tags: disco

Related branches

Changed in unity-control-center (Ubuntu):
assignee: nobody → Khurshid Alam (khurshid-alam)
status: New → Confirmed
description: updated
Changed in unity-control-center (Ubuntu):
importance: Undecided → Low
status: Confirmed → In Progress
Changed in unity-control-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-control-center - 15.04.0+19.04.20190209-0ubuntu2

---------------
unity-control-center (15.04.0+19.04.20190209-0ubuntu2) disco; urgency=medium

  [ Khurshid Alam ]
  * Fix image preview in GtkFileChooser (lp: #1802589)
  * Update logo for disco

 -- Sebastien Bacher <email address hidden> Fri, 01 Mar 2019 17:09:32 +0100

Changed in unity-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.