Folder Color doesn't change the color in ambience theme, shows blank page icon

Bug #1716758 reported by jasir on 2017-09-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Folder Color
Undecided
Unassigned

Bug Description

I'm using Folder Color from ppa on Nemo (and Nautilus) on Ubuntu 17.04. Here's the issue that started recently:

When I right click and select a new color (say blue), the icon changes to a blank page instead of folder with blue color. It remains even if I change the color to anything else. However it return to default color (folder icon) if I select the 'Default' option.

However I noticed that If I'm using another theme other than an Ubuntu default (e.g. if I'm on Gnome, Oxygen or Tango or something like that), then the Folder colors change and work properly.

So the only way to change a folder color now is to first change the icon theme to somthing like Tango (using Unity Tweak Tool), then change the color of the folder, and then change the theme back to ubuntu ambience theme.

I tried removing and reinstalling Folder Color, but doesn't seem to change this behaviour. Hope you can fix this.

Hi Jasir,

This issue is weird for me, because it should work in Ambiance.

Could you run this test from Terminal?

gvfs-info your_folder_here | grep custom-icon

Best regards

jasir (jasiralavi) wrote :

Hello and sorry for the delay.

below is the screenshot. I actually tried to change the color of the folder
"Calibre Library" to Blue.

[image: Inline image 1]

On Wed, Sep 13, 2017 at 9:00 PM, costales <email address hidden>
wrote:

> Hi Jasir,
>
> This issue is weird for me, because it should work in Ambiance.
>
> Could you run this test from Terminal?
>
> gvfs-info your_folder_here | grep custom-icon
>
> Best regards
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1716758
>
> Title:
> Folder Color doesn't change the color in ambience theme, shows blank
> page icon
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/folder-color/+bug/1716758/+subscriptions
>

jasir (jasiralavi) wrote :

Hello and sorry for the delay.

Please see the attached screenshot. I actually tried to change the color of the folder "Calibre Library" to Blue.

costales (costales) wrote :

Please, set the full path in the command of the folder :)

jasir (jasiralavi) wrote :

I think it needs to be in quotes too.
Please find attached.

Please note that other folders were set to different colors before this recent bug.

costales (costales) wrote :

We need to debug that, please run these commands inside a python console:

Run:
python

and inside, copy and paste:
from gi.repository import Gtk
icon_theme = Gtk.IconTheme.get_default()
icon = icon_theme.lookup_icon('folder_color_red_documents', 48, 0)
print(icon.get_filename())
exit()

You'll get a full path, then do:
ls -la <full_path>

Thanks in advance!

costales (costales) wrote :

My example with the previous commands

Hi,

Please find attached.

[image: Inline image 1]

On Sun, Sep 17, 2017 at 10:53 AM, costales <email address hidden>
wrote:

> My example with the previous commands
>
> ** Attachment added: "Screenshot at 2017-09-17 09:51:27.png"
> https://bugs.launchpad.net/folder-color/+bug/1716758/+
> attachment/4951532/+files/Screenshot%20at%202017-09-17%2009%3A51%3A27.png
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1716758
>
> Title:
> Folder Color doesn't change the color in ambience theme, shows blank
> page icon
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/folder-color/+bug/1716758/+subscriptions
>

costales (costales) wrote :

Hi,

It appears OK...

Could you refresh the icon theme? Run this command:
sudo gtk-update-icon-cache /usr/share/icons/hicolor/

Could you try with another file browser like Nautilus or Caja?

Best regards!

jasir (jasiralavi) wrote :

Hi - I tried the above command, but it still give the blank file icon as
before.
I've tried in Nautilus and Nemo.

[image: Inline image 1]

On Tue, Sep 19, 2017 at 10:59 PM, costales <email address hidden>
wrote:

> Hi,
>
> It appears OK...
>
> Could you refresh the icon theme? Run this command:
> sudo gtk-update-icon-cache /usr/share/icons/hicolor/
>
> Could you try with another file browser like Nautilus or Caja?
>
> Best regards!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1716758
>
> Title:
> Folder Color doesn't change the color in ambience theme, shows blank
> page icon
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/folder-color/+bug/1716758/+subscriptions
>

jasir (jasiralavi) wrote :

Hi - finally got it fixed.

I reinstalled all the icon packs using synaptic package manager and it's
working again.

thanks for your time.

On Tue, Sep 26, 2017 at 4:10 AM, Jasir Alavi <email address hidden> wrote:

> Hi - I tried the above command, but it still give the blank file icon as
> before.
> I've tried in Nautilus and Nemo.
>
> [image: Inline image 1]
>
> On Tue, Sep 19, 2017 at 10:59 PM, costales <email address hidden>
> wrote:
>
>> Hi,
>>
>> It appears OK...
>>
>> Could you refresh the icon theme? Run this command:
>> sudo gtk-update-icon-cache /usr/share/icons/hicolor/
>>
>> Could you try with another file browser like Nautilus or Caja?
>>
>> Best regards!
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1716758
>>
>> Title:
>> Folder Color doesn't change the color in ambience theme, shows blank
>> page icon
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/folder-color/+bug/1716758/+subscriptions
>>
>
>

costales (costales) wrote :

Hi, probably they need a refresh.
Glad you fix that :) Enjoy it!
A hug!

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

Other bug subscribers