Bug 255126 - KSplash should be able to share SDDM's background image
Summary: KSplash should be able to share SDDM's background image
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Splash Screens (show other bugs)
Version: 5.27.5
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-24 18:16 UTC by Ralf Jung
Modified: 2023-05-23 20:30 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Jung 2010-10-24 18:16:19 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Currently, to get a smooth transition between KDM and KSplash, both need to be manually set to the same background image - and KSplash does not even allow for changing the background image via GUI, so the user has no way to get a good transition if he changes his KDM settings.

So I suggest to change the default KSplash to read the KDM settings for the background image.

Reproducible: Always
Comment 1 Oswald Buddenhagen 2010-10-24 18:55:04 UTC
reading kdm's settings would be way too complex and inflexible.
ksplash should have a mode where it simply takes a screenshot of the background and proceeds from there.
Comment 2 Ralf Jung 2010-10-24 19:05:30 UTC
But won't that screenshot also contain the GUI to enter username and password?
Comment 3 Oswald Buddenhagen 2010-10-24 19:09:24 UTC
one would suppose that i have thought that far. ;)
Comment 4 Ralf Jung 2010-10-24 19:18:36 UTC
So I assume you are working on either KDM or KSplash? Sorry ;-)

However, for the danger of getting the same reply again (and not knowing how you mean to deal with the mentioned issue) - KSplash should not break or look ugly if used with GDM or another login manager. Again, sorry if that has also already been though off.
Comment 5 Oswald Buddenhagen 2010-10-24 19:28:02 UTC
startkde already contains code to detect whether kdm should have already set up a background (grep for ",auto"). i wouldn't worry too much about *which* background kdm has set, because if the ksplash theme doesn't look well with that background, everything is lost look-wise anyway (as the change from the kdm background to the ksplash background would look just as terrible).

a manual switch would also be an option, though not a particularly user-friendly one. maybe as an override "ignore kdm's background".
Comment 6 Fatih Asici 2010-11-12 20:10:11 UTC
Pardus has a dirty patch[1] for this purpose. If the theme file has the following line:

KEEP_XDM_BACKGROUND ON

it keeps the background same. It also checks XDM_MANAGED for auto-login cases.
Comment 8 Kai Uwe Broulik 2011-02-09 22:10:00 UTC
It is even worse with KDE 4.6 where this new background (that reminds me of those Half-Life 2 energy orbs) is optimized for 16:9. It looks really bad on a 4:3 screen. At kdm it‘s all fine but then ksplash always resizes it to fit the screen and it looks really bad, the circles are distorted and stuff.
Comment 9 o_O_Tync 2011-02-19 01:53:13 UTC
Both KDM and KSplash? (the thing you see while KDE is loading) have the same background image. However, KDM scales & crops it, while KSplash scales it without cropping.

Because of that, the background 'jumps' right after the password is entered.

I suggest using the same scale&crop technique in both of them.
Comment 10 Kai Uwe Broulik 2011-02-19 13:11:04 UTC
I looked at the ksplash folder and there actually are files for different resolutions/aspect ratios. So if we just crop them to fit the resolution (the distortion in 4.6 I think is just with non-16:9 images) this at least would remove the symptoms (the uglyness) for the out of the box experience
Comment 11 Kai Uwe Broulik 2011-06-02 17:55:44 UTC
Just noticed on my notebook. With KDE 4.7 now KSplash also respects the picture’s aspect ratio and so no distortions anymore between KDM and KSplash :)
Unfortunately now it doesn’t recognize multi monitor configurations anymore and stretches the picture throught the entire X