[Panel-devel] [PATCH] QPixmapCache size (bug 151109)
Sean Harmer
sh at theharmers.co.uk
Tue Oct 23 23:49:44 CEST 2007
Hi Ricardo,
On Tuesday 23 October 2007 21:11:15 Riccardo Iaconelli wrote:
> On Tuesday 23 October 2007 22:03:45 Sean Harmer wrote:
> > Please find a proposed patch that attempts to automatically set the size
> > of the QPixmapCache for plasma to a size that is (hopefully) suitable on
> > an arbitrarily sized set of screens. I and many other people have been
> > bitten by this bug when testing out KDE 4 svn builds and this is
> > something that gives a bad impression form the word go. So I thought I'd
> > try a quick fix.
>
> I think the user should be able to configure that.
I'm not so sure about that. Why should the user have to care about cache sizes
and the like? This should be something that the implementation takes care of
transparently and (hopefully) intelligently. Think about it from the user's
point of view. Would (s)he know how to calculate how much RAM is required to
cache a wallpaper?
Even if it is eventually decided that this should be user configurable
(although my vote would be for no), we should at least supply a reasonable
default especially if an svg wallpaper is specified as the default because it
can take an unacceptable amount of time to repeatedly render on slow
machines. This I think is a better solution than the semi-arbitrary hardwired
value of 8MB which is coded at present.
Kind regards,
Sean
>
> Bye,
> -Riccardo
> --
> GPG key:
> 3D0F6376
> When encrypting, please encrypt also for this subkey:
> 9EBD7FE1
> -----
> Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平
> Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini Peoch
> Shanti Vrede Baris Rój Mír Taika Rongo Sulh Mir Py'guapy 평화
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
More information about the Panel-devel
mailing list