trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2014

Re: [trinity-devel] R: [trinity-devel] New TDEUI proposal

From: "E. Liddell" <ejlddll@...>
Date: Sun, 10 Aug 2014 14:25:44 -0400
On Sat, 9 Aug 2014 22:04:19 -0400
Alexandre <ac586133@...> wrote:

> Hi,
> 
> Thank you for your comments!
> 
> I have a question for E. Liddell:
> Is it possible to make the background picture not scroll with the rest of the content?
> By this I mean that the background picture should be scaled to fit the whole window, and not the whole content of some long pages. 
> So, everything should scroll, except the background picture.
> 
> I have seen that on crappy hardware (or good hardware with crappy drivers), or computers using vesa or fbdev graphic drivers, 
>scrolling is a little slower than the old TDEUI. I  want to see if it would make it faster, if it is possible to do.
> 
> I provided the kde_infopage.css to look at it.

Try the attached.  (I also corrected some syntax and moved the title and
tagline over 20px so that they can't overlap the logo.)  This fixes the main
page background only in place.  That odd vendor-specific -khtml-background-size
attribute seems to make the background scale with the window (rather
than with the page content).

It would be dangerous to try to do the same for the banner, etc. because 
Konqueror doesn't quite interpret the CSS attribute required correctly, 
causing the page to break in weird ways if the window is resized.  Just
doing it to the main background seems to be okay, though.

Even if it doesn't help performance, we might want to consider keeping
the look anyway.

E. Liddell

Attachments: