Review Request: Add textbox to calendar to copy paste current date

Marco Martin notmart at gmail.com
Thu Dec 4 21:18:46 CET 2008


On Thursday 04 December 2008, asraniel wrote:
> Am Donnerstag 04 Dezember 2008 18.25:57 schrieb Aaron J. Seigo:
> > On Thursday 04 December 2008, Beat Wolf wrote:
> > > This patch brings back the possibility to copy paste the current
> > > selected date out of the calendar. I also had to adapt the scaling,
> > > because the textbox uses vertical space, so the calendar had to use
> > > more horizontal space. If you resize the calendar really badly, you
> > > will see something like in the second screenshot. But this can't be
> > > fixed before 4.3.
> >
> > why can't this be fixed before 4.3?
>
> We had a discussion in irc, and it seemed like this won't really be
> possible, because it introduces too many changes to how the calendar is
> rendered. Currently the numbers are pictures, worse, the background boxes
> are the same image as the numbers. So this is really bad.
> What would be needed:
> changing the calendar svg theme
> rendering the numbers directly as text. This causes layout problems i
> heard, never tried myself.
well, using widgets for numbers jes it's a suicide..
painting directly the thext shouldn't be, in theory
didn't try the thing myself on the calendar, but should work


> > > No new string
> > > are needed for this, and it brings back a feature which was lost since
> > > 4.1, hope this can get in even with feature freeze.
> >
> > unfortunately this looks fairly ugly, even if it is useful. one solution
> > would be to bring back some other missing bits such as the "go to today"
> > button and week selector (the layout at the bottom could also likely be
> > tweaked with some spacing to make it look good on REALLY wide calendars)
>
> pinhero said he wanted to redo the whole layout, but again, for 4.3.
> So in the end i decided that the patch is probably a good start, since in
> it's current state, the calendar is really bad... and i also wanted to see
> if there is any interest in something like that for 4.2.
> But if wanted i can add the "go to today" button and the week selector,
> should be quite easy (well, the week selector needs a new string probably,
> but can be done without a new one, just the numbers)
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel




More information about the Plasma-devel mailing list