xlog-discussion
[Top][All Lists]
Advanced

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

Re: [Xlog-discussion] xlog-0.9.8


From: Alexandru Csete
Subject: Re: [Xlog-discussion] xlog-0.9.8
Date: Tue, 19 Oct 2004 13:57:53 +0200 (CEST)
User-agent: SquirrelMail/1.4.3a

Hi again,

>> After the next update (polling), the s-meter display looks fine. I have seen 
>> this
>> behaviour before (not in xlog) and I think it is because you are trying to 
>> draw on
>> a
>> GdkDrawable before it is exposed, which is dangereous, since various 
>> x-resources
>> related to the GdkDrawable are not created until it is exposed for the first 
>> time.
>>
>
> I have been wondering about this for a long time. You are right about
> the unexposed drawable. It never caused me any trouble, except for the
> noisy messages when you use the s-meter for the first time. Maybe it's
> good to add this to the TODO list.
>

I had similar problem while working on the gtk2 version of grig (well, it was 
worse
because I was drawing more aggressively and it actually crashed :). I solved it 
by
attaching a flag to the drawable indicating whether it has been exposed or not. 
The
flag is initialised to FALSE and the "exposed" event handler will then put this 
flag
to TRUE every time it is called, although nothing will put the flag back to 
FALSE
again.

...

>> Then go back to the Preferences, General and disable the clock on statusbar 
>> =>
>> segmentation fault
>>
>> Note that the crash does not happen if polling is greater than 0 msec! 
>> although
>> the
>> glib critical still comes.
>>
>
> Interesting. It's great to see what errors people can actually find if
> they start fooling around with xlog. I will have a go at it. Hate to see
> xlog crashing.
>

I guess there is not much use for 0 msec polling anyway, since it will simply
disable the polling. Therefore, it could be removed from the options.


> The next version shouldn't be to far away. I am working on gnome desktop
> integration. With the new version a mimetype for xlog is added and you
> can open xlog files from within nautilus. There is also a nice mime
> icon. It will be interesting to see in how far the distributions follow
> the freedesktop guidelines for this.
>
> I guess I should also add the KDE mime stuff before 1.0 comes out. Don't
> know how to do this in KDE yet though ....
>

Isn't this mime-stuff supposed to be universal across various desktop 
environments?
I don't really know... I stopped using GNOME for good when they begun removing 
the
so-called advanced configuration options due to some fancy usability research :(

>> Cheers,
>>
>> Alex
>> OZ9AEC
>>
>
> Joop PG4I
>

Cheers
Alex





reply via email to

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