[Kde-pim] Strange behaviour in libkdepim's KDatePickerPopup

David Jarvie lists at astrojar.org.uk
Sat Jan 6 13:27:46 GMT 2007


On Friday 05 January 2007 22:17, Ingo Klöcker wrote:
> On Monday 01 January 2007 17:43, Reinhold Kainhofer wrote:
> > Am Mon Jän 1 2007 schrieb David Jarvie:
> > > On Sunday 31 December 2006 01:13, Bram Schoenmakers wrote:
> > > > Op zaterdag 30 december 2006 14:36, schreef David Jarvie:
> > > > > Does anybody know why it's done this way, and does anybody
> > > > > object to me removing the Friday and Sunday entries?
> > > >
> > > > Friday is the end of the work week and Sunday the end of a normal
> > > > week (makes me realize it should adapt to the First Day Of Week
> > > > setting in KControl). When you schedule tasks it's quite common
> > > > to pick either one of these days, that's why I've added these
> > > > days to the list.
> > > >
> > > > Maybe we should rename Friday to "End Of Work Week" and Sunday to
> > > > "End Of Week". I'm not really in favour of removing these
> > > > entries.
>
> Parties are either Friday or Saturday most of the time. And Monday, aka
> the begin of the (work) week, is at least as important as the end of
> the (work) week.
>
> > Well, you run into all kinds of problems with other cultures. E.g. in
> > Israel the work week seems to be sunday to thursday.
> >
> > And in KOrganizer you might have configured different working days,
> > like monday, wednesday, friday and saturday. What's the end of the
> > work week in that case? Of course, we can't use the settings from
> > korganizer in libkdepim's date picker, but the user expect the date
> > picker in korganizer to honor the work week settings and use the
> > configured end of the work week.
> >
> > In short, I don't see an easy way to make these hard-coded entries
> > l10n-proof.
>
> If anything then I'd add the five days following today and tomorrow.
> Then all eight days ranging from today until "next week" would be
> easily available. Of course, that's probably too many entries.

I agree that including every weekday is too many entries. After all, they are 
all selectable in the date picker anyway.

Given that the whole of the current week is already displayed in the date 
picker, including end-of-work-week, end-of-week, party-days-this-week or any 
other days of particular significance in this week, it doesn't seem to be 
particularly useful to display these shortcuts in the menu list at the 
bottom. They can all be selected without having to shift the dates currently 
displayed. IMHO including these items just complicates/enlarges the widget 
for no real benefit.

So I would propose removing the end-of-work-week (especially because it's 
possible to define the work week as non-contiguous blocks of days), and also 
remove the Sunday item. If we really must keep Sunday, then it should be 
renamed to "End of week" and made to recognise the user's week start day 
setting. 

-- 
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/linux/kalarm.html
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/



More information about the kde-pim mailing list