[Panel-devel] Hello

William Egert begert at gmail.com
Tue Dec 11 06:16:03 CET 2007


would probably help if I actually attach the patch :P

-Bill

On Dec 11, 2007 12:00 AM, William Egert <begert at gmail.com> wrote:

> Here is a third patch.  In this I removed all of the unused variables
> (though I have the feeling that they were meant to be used later) and also
> tried to initialize some more things in the constructor.
>
> -Bill
>
>
> On Dec 10, 2007 10:54 PM, William Egert <begert at gmail.com> wrote:
>
> >
> >
> > On Dec 10, 2007 8:10 PM, Aaron J. Seigo <aseigo at kde.org> wrote:
> >
> > > On Monday 10 December 2007, William Egert wrote:
> > > > On Dec 10, 2007 7:39 PM, Aaron J. Seigo <aseigo at kde.org> wrote:
> > > > clock 3 times for the calendar to be displayed.  This patch fixes
> > > the
> > > > clock,
> > >
> > > ah, something i forgot to mention that i noticed on first read of the
> > > patch is
> > > that you should not be initializing the dialogs in the constructor.
> > > that just
> > > slows down start up time and may unecessarily use up memory (what if
> > > the user
> > > never clicks to get the calendar?) ... there's a reason it is
> > > initialized in
> > > the mouseClickEvent =)
> >
> >
> > That makes sense,  I suppose the important thing is that it is deleted
> > in the constructor.
> >
> > >
> > >
> > > also, i'm not sure what the point of m_calendarIsShown is when one can
> > > simply
> > > query isVisible()?
> >
> >
> > This is unused in the second patch, showing the calender would  toggle
> > on this bool, but with the 2nd patch it would not be necessary.
> >
> > >
> > >
> > > apologies for not putting that in the earlier email...
> >
> >
> > see above :)
> >
> > >
> > >
> > > > but it does look like Plasma::Dialog eats up a click event?  For
> > > > example, if i click so the calender is displayed, and then click on
> > > an open
> > > > application, the calendar will hide, but the application did not
> > > gain
> > > > focus.
> > >
> > > that would be a side effect of setting the calendar window type to
> > > Popup.
> > > personally, i'd set it to be a toolbox window and only close it on an
> > > explicit close.
> >
> >
> > not sure if its up to me to make that call .
> >
> > >
> > >
> > > --
> > > Aaron J. Seigo
> > > humru othro a kohnu se
> > > GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
> > >
> > > KDE core developer sponsored by Trolltech
> > >  <https://mail.kde.org/mailman/listinfo/panel-devel>
> > >
> >
> > -Bill
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/panel-devel/attachments/20071211/270806c3/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clock3.diff
Type: text/x-diff
Size: 14027 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071211/270806c3/attachment-0001.bin 


More information about the Panel-devel mailing list