gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep don't load images of current theme.


From: Quentin Mathé
Subject: Re: GNUstep don't load images of current theme.
Date: Tue, 23 Jul 2013 16:59:23 +0200

Le 23 juil. 2013 à 15:07, Riccardo Mottola a écrit :

> Hi Quentin,
> 
> Quentin Mathé wrote:
>> Hi,
>> 
>> Color customization needs some serious improvements, I agree.
> I will have a look at my theme which is currently just a color-scheme from 
> the old color-schemes and report my needs separately from this thread, so we 
> may discuss them.

ok

>> I just fixed the missing theme image bug you reported with r36916. I also 
>> did some extensive testing using Thematic, Gorm and the following themes 
>> from GAP: Neos, Sleek and ThinkDark. If you observe any other bugs, let me 
>> know about them.
> They load fine, i checked and all images seem to be loaded, the themes 
> display as complete (well.. for how compelte they are, but that's 
> different...). Perfect!
> 
> Now whough another issue appeard, which i fear is related: Thematic doesn't 
> load themes anymore. It will jut tell:
> 
> Unable to load theme into work area from 
> /home/multix/gnustep-src/gap/bundles/themes/Neos.theme

That's weird. Yesterday I tried to load several themes in Thematic, and they 
got loaded just fine. For each opened theme, the UI was updated immediately to 
reflect the new theme.

I'm going to update my GNUstep core installation and see if I can reproduce the 
issue.

> with any theme I tried. I looked for exceptions, but none. It comes from 
> ThemeDocument.m:539
> 
> This appears unrelated though with your changes. Very strange, doesn't it? 
> And it worked...

The code around line 539 is:

  _work = RETAIN([NSTemporaryDirectory() stringByAppendingPathComponent: pi]);
  if (path != nil)
    {
      if ([mgr copyPath: path toPath: _work handler: nil] == NO)
        {
          NSRunAlertPanel(_(@"Alert"),
            _(@"Unable to load theme into work area from %@"),
            nil, nil, nil, path);
          return NO;
        }
    }

So I would say that there is either a problem while accessing the tmp directory 
or some issues in NSFileManager. I don't see how my changes could have affected 
this part of the code.
During my testing, I was using a old Base version (probably one month old, 
perhaps a bit older even). If your version is more recent, this could point to 
some problems in Base.

Cheers,
Quentin.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]