Bug#927835: enlightenment: icon theme efreet cache is not updated on startup

2019-05-21 Thread Ross Vandegrift
Control: forwarded -1 https://phab.enlightenment.org/T7978



Bug#927835: enlightenment: icon theme efreet cache is not updated on startup

2019-05-21 Thread Ross Vandegrift
Control: tags -1 - unreproducible
Control: tags -1 forwarded https://phab.enlightenment.org/T7978

On Tue, May 21, 2019 at 09:11:01PM +0300, sergio wrote:
> Yes. In fact I have the following scheme:

I've configured a user similar to your scheme, and I can confirm that the
Adwaita icon is not loaded when I log in.  In ~etmp/.xsession:

  #!/bin/bash
  rm -rf ~/.cache /tmp/etmp_cache
  ln -s /tmp/etmp_cache ~/.cache
  mkdir $(readlink ~/.cache)
  enlightenment_start

> But really all this doesn't matter as I've just reproduced this issue on
> the new user profile, with empty e setting and no cache logic.
> 
> 1. Just after the first logging in and answering configuration questions
>I see Pavucontrol icon in the application menu.
> 2. I press logout, switch to console (Alt-Ctrl-F1) and wait for the die
>of efreed.
> 3. In the .cache I see only efreed folder. I drop the whole folder or
>only icons_Adwaita_$HOST.eet, it doesn't matter.
> 4. Logging in again into e. The .cache/efreed folder is recreated,
>icons_Adwaita_$HOST.eet is present, but there are no icon for
>Pavucontrol in the application menu

Interesting- I'm not able to reproduce a missing pavucontrol icon.  It gets the
wrong icon, but it does get an icon.

> > Is your /tmp on a different filesystem (i.e., tmpfs)?
> 
> Yes, my /tmp in on a tmpfs.

My /tmp is not, so I think this is ruled out as irrelevant.

Thanks,
Ross



Bug#927835: enlightenment: icon theme efreet cache is not updated on startup

2019-05-21 Thread sergio
On 21/05/2019 18:06, Ross Vandegrift wrote:


> Where do you see the icon missing?

In the menu. Favorite and Applications.


> Does this only occur if ~/.cache is on /tmp?

Yes. In fact I have the following scheme:

~/.cache is a symlink to /tmp/sergio_cache/
~/.cache_persistent contains cache that should survive reboot (minidlna
and liferea for example as they are huge)

and

mkdir $(readlink ~/.cache)
ln -sf ~/.cache_persistent/* ~/.cache

in ~/.xsession


So, If I move correct efreet cache (after I press Application Theme ->
Icons, choose Adwaita icon theme) to ~/.cache_persistent all works fine.


But really all this doesn't matter as I've just reproduced this issue on
the new user profile, with empty e setting and no cache logic.

1. Just after the first logging in and answering configuration questions
   I see Pavucontrol icon in the application menu.
2. I press logout, switch to console (Alt-Ctrl-F1) and wait for the die
   of efreed.
3. In the .cache I see only efreed folder. I drop the whole folder or
   only icons_Adwaita_$HOST.eet, it doesn't matter.
4. Logging in again into e. The .cache/efreed folder is recreated,
   icons_Adwaita_$HOST.eet is present, but there are no icon for
   Pavucontrol in the application menu


> Is your /tmp on a different filesystem (i.e., tmpfs)?

Yes, my /tmp in on a tmpfs.


-- 
sergio.



Bug#927835: enlightenment: icon theme efreet cache is not updated on startup

2019-05-21 Thread Ross Vandegrift
On Tue, May 21, 2019 at 07:25:38AM +0300, sergio wrote:
> On 26/04/2019 22:19, Ross Vandegrift wrote:
> 
> > 1) Application Theme -> Icons, choose Adwaita icon theme.
> > 2) rm ~/.cache/efreet/icons_Adwaita_*
> > 3) log out and back in
> > 4) check pavucontrol icon in everything & menus
> 
> I can reproduce this with libefreet1a=1.21.1-5 from sid.
> 
> 
> > With a fresh efreetd, I cannot reproduce this issue.
> 
> What is "a fresh efreetd"? 

I meant ensuring that efreetd exits before login in step #3.  If you
always reboot after log out, then your efreetd should always be fresh.

Where do you see the icon missing?  Does this only occur if ~/.cache is
on /tmp?  Is your /tmp on a different filesystem (i.e., tmpfs)?

> Do you have deb that I can check?

Nope, I'm using 1.21.1-5 from buster.

Ross



Bug#927835: enlightenment: icon theme efreet cache is not updated on startup

2019-05-20 Thread sergio
On 26/04/2019 22:19, Ross Vandegrift wrote:

> 1) Application Theme -> Icons, choose Adwaita icon theme.
> 2) rm ~/.cache/efreet/icons_Adwaita_*
> 3) log out and back in
> 4) check pavucontrol icon in everything & menus

I can reproduce this with libefreet1a=1.21.1-5 from sid.


> With a fresh efreetd, I cannot reproduce this issue.

What is "a fresh efreetd"? Do you have deb that I can check?



Sorry for direct reply.

-- 
sergio.



Bug#927835: enlightenment: icon theme efreet cache is not updated on startup

2019-04-26 Thread Ross Vandegrift
Control: Tags -1 unreproducible

On Wed, Apr 24, 2019 at 05:43:40AM +0300, sergio wrote:
> The real setup is:
> 
> % readlink .cache
> /tmp/sergio_cache
> 
> +
> 
> mkdir $(readlink ~/.cache)
> in .xsession
> 
> 
> And I have the issue every reboot, so I'm absolutely sure efreetd is
> restarted.
> 
> 
> Really I was wrong a bit: the cache (and
> .cache/efreet/icons_Adwaita_transient.eet exactly) is recreated, but
> pavucontrol has no icon untill I choose the theme again.

With a fresh efreetd, I cannot reproduce this issue.

1) Application Theme -> Icons, choose Adwaita icon theme.
2) rm ~/.cache/efreet/icons_Adwaita_*
3) log out and back in
4) check pavucontrol icon in everything & menus

Ross



Bug#927835: enlightenment: icon theme efreet cache is not updated on startup

2019-04-23 Thread sergio
On 24/04/2019 04:55, Ross Vandegrift wrote:

> After removing the cache, try logging out of your session and waiting ~10-15s.
> That will let efreetd exit.  When you login again, the cache should be
> regenerated when a new efreetd is spawned.

The real setup is:

% readlink .cache
/tmp/sergio_cache

+

mkdir $(readlink ~/.cache)
in .xsession


And I have the issue every reboot, so I'm absolutely sure efreetd is
restarted.


Really I was wrong a bit: the cache (and
.cache/efreet/icons_Adwaita_transient.eet exactly) is recreated, but
pavucontrol has no icon untill I choose the theme again.

-- 
sergio.



Bug#927835: enlightenment: icon theme efreet cache is not updated on startup

2019-04-23 Thread Ross Vandegrift
Control: reassign -1 libefreet-bin

On Wed, Apr 24, 2019 at 01:08:58AM +0300, sergio wrote:
> Some apps require the theme to be selected in Settings Panel -> Look ->
> Application Theme -> Icons. Pavucontrol for example. Same time I choose
> Adwaita as icon theme I see icon for pavucontrol in menu. And all works
> fine until I remove ~/.cache/efreet (exactly
> icons_Adwaita_transient.eet). Really all cache will be rebuilt at
> startup time, except icons_Adwaita_transient.eet so I will see no
> pavucontrol icon and will need to choose Adwaita to rebuild the cache.

The cache is managed by a background process, efreetd - not enlightenment.  I
can reproduce, but only if I keep the same efreetd running.

After removing the cache, try logging out of your session and waiting ~10-15s.
That will let efreetd exit.  When you login again, the cache should be
regenerated when a new efreetd is spawned.

Ross



Bug#927835: enlightenment: icon theme efreet cache is not updated on startup

2019-04-23 Thread sergio
Package: enlightenment
Version: 0.22.4-2
Severity: normal

Dear Maintainer,

Some apps require the theme to be selected in Settings Panel -> Look ->
Application Theme -> Icons. Pavucontrol for example. Same time I choose
Adwaita as icon theme I see icon for pavucontrol in menu. And all works
fine until I remove ~/.cache/efreet (exactly
icons_Adwaita_transient.eet). Really all cache will be rebuilt at
startup time, except icons_Adwaita_transient.eet so I will see no
pavucontrol icon and will need to choose Adwaita to rebuild the cache.