Nasty clock bug [WAS: Re: [xfce4] Bug in resize]

Xavier MAILLARD zedek at fxgsproject.org
Mon Sep 23 19:13:07 CEST 2002


Olivier,

> Jasper,
>
> BTW, I *really* think there is some nasty bug in the clock or arround
> it.
>

"It's not a bug, it's a feature" :)

> As stated yesterday on the IRC, the panel crashes with some gtk engines.
> I thought the xfce engine was immune, but today I found that the frame
> border of the clock doesn't show at startup (as a side note, the clock
> looks really better w/out the frame border, I have now patched my
> private tree to remove it)

Well. As I explained it to Jasper. This is not really a bug. In fact
when the clock is created, the default mode set is
XFCE_CLOCK_ANALOG. 

When I create my clock, the default mode is set and I
check for the mode to know wether I want the frame or not. The problem
is that the user settings may overwrite the default mode. As I only test
for that at creation and when the config dialog checkbox changed, the
frame is not shown at startup.

In fact the trick is to check just after we load the user settings. This
is fixed for me but I didn't commit it yet.

>
> Changing back and forth the clock time show the border. But still it
> should be there at first run. 

Fixed and I'd commit it tonight with the display bug fixed (normally).

> Since the crash occurs in the frame draw
> (in gtk), I now think the problem is real and is not in the gtk engine
> (as I wrongly stated yesterday).
>

I don't have this bug so I can't comment on it. Sorry :)

> I still cannot find where the problem resides, possibly resulting from
> earlier memory corruption. I'll keep investigating tonite.
>

Yes please do so. I also will try to investigate on it but can't promise
anything as for instance nothing has happened here.

> Cheers,

Cheers,

> Olivier.

zeDek

>
> On Mon, 2002-09-23 at 17:24, Jasper Huijsmans wrote:
>> Ah, I have it now as well. Ok, I think I know how to fix it.
>> 
>> On 23 Sep 2002 17:11:19 +0200
>> Olivier Fourdan <fourdan at xfce.org> wrote:
>> 
>> > Jasper,
>> > 
>> > I do have the problem too.
>> > 
>> > Cheers,
>> > Olivier.
>> > 
>> > On Mon, 2002-09-23 at 16:59, Jasper Huijsmans wrote:
>> > > On Mon, 23 Sep 2002 13:04:43 +0200
>> > > Jasper Huijsmans <jasper at moongroup.com> wrote:
>> > > 
>> > > > Biju Chacko wrote:
>> > > > > Hi,
>> > > > > 
>> > > > > There seems to be a new bug in the resize code. If you resize
>> > > > > the panel the widgets change size but the overall panel
>> > > > > dimensions don't change. 
>> > > > > 
>> > > > > -- b
>> > > > > 
>> > > > 
>> > > > I don't have access to linux right now, so I can't test it.
>> > > > 
>> > > > Yesterday I removed a gtk_set_size_request() call from 
>> > > > panel_control_set_size(). I want to remove all forced sizing of
>> > > > the panel controls and allow modules to set their own size. This
>> > > > may be the problem.
>> > > > 
>> > > > 	Jasper
>> > > > 
>> > > 
>> > > I don't seem to have any problem with resizing. Can you post a
>> > > screenshot perhaps?
>> > > 
>> > > > 
>> > > > _______________________________________________
>> > > > Xfce4-dev mailing list
>> > > > Xfce4-dev at moongroup.com
>> > > > http://moongroup.com/mailman/listinfo/xfce4-dev
>> > > > 
>> > > 
>> > > 
>> > > -- 
>> > > IRC channel: #xfce on irc.openprojects.net
>> > > _______________________________________________
>> > > Xfce4-dev mailing list
>> > > Xfce4-dev at moongroup.com
>> > > http://moongroup.com/mailman/listinfo/xfce4-dev
>> > -- 
>> > Olivier               <fourdan at xfce.org>           
>> > http://www.xfce.org
>> > ---------------------------------------------------------------------
>> > -- XFce is a lightweight  desktop  environment  for  various *NIX
>> > systems. Designed for productivity,  it loads  and  executes 
>> > applications fast, while conserving  system resources. XFce is all
>> > free software, released under GNU General Public License.    Available
>> > from http://www.xfce.org
>> > 
>> > _______________________________________________
>> > Xfce4-dev mailing list
>> > Xfce4-dev at moongroup.com
>> > http://moongroup.com/mailman/listinfo/xfce4-dev
>> 
>> 
>> -- 
>> IRC channel: #xfce on irc.openprojects.net
>> _______________________________________________
>> Xfce4-dev mailing list
>> Xfce4-dev at moongroup.com
>> http://moongroup.com/mailman/listinfo/xfce4-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20020923/f6b5c3c6/attachment.pgp>


More information about the Xfce4-dev mailing list