By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2009 - Background picture of MoodinKDE splash engine is not resized to fit the screen
Summary: Background picture of MoodinKDE splash engine is not resized to fit the screen
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdeartwork (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Michele Calgaro
URL:
Depends on:
Blocks: R14.0.2
  Show dependency treegraph
 
Reported: 2014-03-09 11:53 CDT by Alex Couture
Modified: 2015-09-04 11:20 CDT (History)
4 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Couture 2014-03-09 11:53:14 CDT
Hi,

On Ubuntu 13.10, with R14 nightly build of May 08, 2014, the background picture of MoodinKDE splash engine is not resized to fit the screen as it should. Instead, the picture is displayed as-is, starting from the top-left corner and depending of the screen resolution, a smaller or a bigger part of the picture will be seen.

That means that it is impossible to make a previsible splash screen for TDE, depending of the resolution.
Let's say that the background is 800x600: On a 1600x1200 screen, just the first 1/4 of the screen will display the picture and the rest of it will be black.

But, the bug only affects the background picture. The text and the pop-up icons are displayed right as they should.

Let me know if you need more details about this bug.

-Alexandre
Comment 1 Alex Couture 2015-03-15 10:24:15 CDT
Hi,

This one is also related to bug 498, which never got attention too. This bug was also present in the KDE 3.5.x era.

I'd like to do a new splash for TDE, but I will not do it if this bug is not resolved.

Thank you!
-Alexandre
Comment 2 Alex Couture 2015-06-27 14:29:58 CDT
Hi,

I want to do a new splash screen using this engine, and I'd like to know if there is a string I can use to display the user's background, instead of a fixed background picture. I know that TDM has a string like ''$TDMBACKGROUND'', but I don't know if there is something similar to fetch the kdesktop background.

Thank you!
-Alexandre
Comment 3 Timothy Pearson 2015-06-29 13:14:43 CDT
I have added preliminary support for this feature in GIT hash 4abbb95.  It has not yet been thoroughly tested; please let me know how it works.

Thanks!
Comment 4 Alex Couture 2015-06-29 13:35:53 CDT
Hi,

The way it should work is that the picture set as the background should be stretched to fill the entire screen.

Thank you!
-Alexandre
Comment 5 Timothy Pearson 2015-06-29 13:42:30 CDT
(In reply to Alex Couture from comment #4)
> Hi,
> 
> The way it should work is that the picture set as the background should be
> stretched to fill the entire screen.
> 
> Thank you!
> -Alexandre

Yes, that is correct.  However, it is a bit more complex than that...if moodin is set to use the user's wallpaper it reads the scaling settings from kdesktop and determines whether or not to scale the background image based on that.  Furthermore, if a native resolution background is available it will preferentially choose that background instead of scaling the non-native background image to fit.
Comment 6 Alex Couture 2015-06-29 14:29:26 CDT
Yes, that's true. Does it still have the possibility to use a fixed background picture too?

One thing I noted (from the ModinKDE engine on 3.5.13.2) is that the icons are horizontally stretched when used on a widescreen, which is quite ugly. Is it possible to have a line to set on or off the deformation of these icons?

Thank you!
-Alexandre
Comment 7 Timothy Pearson 2015-06-29 14:50:30 CDT
(In reply to Alex Couture from comment #6)
> Yes, that's true. Does it still have the possibility to use a fixed
> background picture too?
> 
> One thing I noted (from the ModinKDE engine on 3.5.13.2) is that the icons
> are horizontally stretched when used on a widescreen, which is quite ugly.
> Is it possible to have a line to set on or off the deformation of these
> icons?
> 
> Thank you!
> -Alexandre

You're right, the streched icons are quite ugly.  I added a theme file option called ScaleIcons and disabled it by default.
Comment 8 Timothy Pearson 2015-06-29 14:50:53 CDT
(In reply to Timothy Pearson from comment #7)
> (In reply to Alex Couture from comment #6)
> > Yes, that's true. Does it still have the possibility to use a fixed
> > background picture too?
> > 
> > One thing I noted (from the ModinKDE engine on 3.5.13.2) is that the icons
> > are horizontally stretched when used on a widescreen, which is quite ugly.
> > Is it possible to have a line to set on or off the deformation of these
> > icons?
> > 
> > Thank you!
> > -Alexandre
> 
> You're right, the streched icons are quite ugly.  I added a theme file
> option called ScaleIcons and disabled it by default.

Sorry, hit submit accidentally.  The new option was added in GIT hash 4bdcac9.
Comment 9 Alex Couture 2015-06-29 19:48:44 CDT
Hi,

Great! By the end of the week, I should be able to test it.

I'm not ready yet to play with it, but I saw that the pictures and text positions are in pixels, instead of something more scalable such as a percentage of the screen resolution. It would probably require to do a lot of rework to get the available themes to work with it, so it is not for now, but maybe in the future.

Thanks!
-Alexandre
Comment 10 Alex Couture 2015-07-03 09:28:06 CDT
Hi,

I haven't received it yet in my updates, but I guess it should be on its way!

-Alexandre
Comment 11 Alex Couture 2015-07-18 08:15:32 CDT
Hi,

I (finally) had the time to test the updated MoodinKDE engine.

What works now:
-Icons are now of the good shape
-The background picture is now resized as it should

But how do I enable it to use the user's background instead of just the background picture in the theme folder?

Thank you for your help!
-Alexandre
Comment 12 Alex Couture 2015-07-18 19:53:52 CDT
Hi,

Another detail: Still on my Asus EEE X101CH with recent TDE R14 nighlty build and Ubuntu 14.10, two icons don't ''light-up''. These are the second icon and the second last one. They did light up on PCLinuxOS with TDE 3.5.13.2

Thank you!
-Alexandre
Comment 13 Alex Couture 2015-07-23 18:14:23 CDT
Ok, I found how to turn on the option to use the user's background by looking at the git hash text.

Thanks!
-Alexandre
Comment 14 Michele Calgaro 2015-08-28 09:48:16 CDT
Alex,
is there anything left to be done for this bug? If not, we can close it, otherwise please advice.
Comment 15 Alex Couture 2015-08-28 10:55:10 CDT
Yes, two icons don't light up.
Comment 16 Michele Calgaro 2015-08-29 10:04:31 CDT
> Yes, two icons don't light up.
Ok, also I can reproduce it on my system. I shall see what I can do about it.
Comment 17 Michele Calgaro 2015-08-29 10:46:36 CDT
Icon highlighting fixed in commit 3b45645 (master) and a1ae954 (r14.0.x)
Comment 18 Michele Calgaro 2015-09-04 11:20:40 CDT
Commits 4abbb95 and 4bdcac9 have been backported to R14.0.x as 1ffd7de and 123691e respectively.