Version: (using KDE 4.1.0) OS: Linux Installed from: SuSE RPMs Hello, I'm proud to call me an Acer Aspire One A150L User and I installed a fresh openSUSE 11.0 and the latest "stable" KDE 4.1 packages. I encountered a little error in the default kdm4 theme oxygen. Usually thiese settings in the oxygen.xml file should scale the image: <greeter id="theme"> <style font="Sans 12" window-text-color="#C7C7C7" base-color="#C7C7C7" alternate-base-color="#666666" text-color="#000000" disabled-text-color="#808080"/> <item type="svg" id="background" background="true"> <normal file="background.svg"/> <pos anchor="c" x="50%" y="50%" width="scale" height="100%"/> </item> But the width="scale" doesn't work, I get black borders at the left and right side. So I hardcoded my resolution (1024x600) and everything works fine. I think this would be nice to be fixed. Thanks a lot and especially for the nice oxygen work.
Created attachment 28129 [details] oxygen kdm theme patch fixes background drawing on 16:9 displays
this problem is on all display with 16:9 (or more) wide screen. on my laptop isn't border paint and has random data. it doesn't look nicely. the patch correct it. plese add the patch to kde4.1.x and kde 4.2 thanks
I've the same problem with Debian SID and Kubuntu 8.04/8.10 with my notebook MSI WIND u100x in the same resolution 1026x600. replace "scale" by "100%" always correct the problem.
Same problem on MSI Wind with Gentoo and KDM 4.1.3. As Marauder noted, replacing "scale" with "100%" fixes the problem.
*** Bug 176432 has been marked as a duplicate of this bug. ***
Had the same issue with my Asus eeePC 701. width="100%" indeed fixes the problem.
Using Kubuntu KDE4.2 RC1 packages, have the same problem on a Advent 4211 screen size 1024x600, but not on a wide screen 1680x1050 LCD monitor so the issue may relate to the rootimage code within kdm not necessarily the xml file?
Works for me to edit that file on Debian Sid/Experimental with KDE 4.2 on my EeePC 701.
4.2.0 and we shouldn't have to edit files to get it to work, I don't have black I've raw screen corruption at the edges. I don't think I have this problem in opensuse though... but they change things from default kde.
Yes, 4.2.0 and the same problem, if I change scale to 100% everything looks fine. Is it so difficult to change the value or is there a reason to have the value "scaled" in it? The Bug is 5 months old and for everyone who has widescreen resolutions it's annoying. And I can confirm the funny artefacts, didn't have them with 4.1.x.
I have this problem in my Acer Aspire One with kde 4.2(kubuntu 8.10). Editing /usr/share/kde4/apps/kdm/themes/oxygen/oxygen.xml and changing: ...<pos anchor="c" x="50%" y="50%" width="scale" height="100%"/> ... with ...<pos anchor="c" x="50%" y="50%" width="100%" height="100%"/>... fix my problem !!! Thanks.
*** This bug has been confirmed by popular vote. ***
SVN commit 931040 by ruphy: Use 100% instead of scale - fix kdm background for wide widescreens. No regressions reported so far. BUG: 169772 CCMAIL: urs@oxygen-icons.org Signed-off-by: Riccardo Iaconelli <riccardo@kde.org> M +1 -1 oxygen.xml WebSVN link: http://websvn.kde.org/?view=rev&revision=931040
what version of kde is/will the fix be in?
*** Bug 186147 has been marked as a duplicate of this bug. ***
i find this "fix" somewhat funny, given that the problem resulted directly from attempting to keep the background's aspect ratio constant. failure to do so was a much complained about problem when the original theme was committed (though no bug seems to have been filed). this needs a somewhat more sophisticated approach. i wonder whether i should introduce an explicit "maxpect" mode like the regular background generator has, or whether this should be approached by generic conditionals. the former potentially opens the door for feature creep into the theme format, the latter requires duplication in essentially every theme.
Same problem again with the Air theme. :(
> replacing "scale" with "100%" fixes the problem. Why isn't this just implemented immediately if it is fixing this problem for everyone?
Created attachment 35966 [details] Oxygen KDM theme on KDE 4.3, with a 4:3 aspect ratio. Now on KDE 4.3 the background is stretched on 4:3 displays, making it look weird. The attached screenshot shows kdm at 640x480, but this happens with any resolution with 4:3 or a similiar ratio.
ossi, i think that the former fix is really the way to go. And, about my fix, better stretch than show garbage. :-) Unless you can simply make sure that you're painting a black square under everything (I assume the garbage is introduced by trying to paint a transparent area).
well, black-padding would be quite trivial with the existing format, but it would look rather silly. hmm, so i'll implement maxpect somehow. but there is also a third option: add a special background item type which links in a plasma-compatible background definition. this should be linked by the splash screen as well, and of course be directly used by plasma itself. this would not only ensure uniformity, but also reduce the disproportional waste of disk space by duplicated artwork. see also bug 172857. and ask davide.
agreed, that'd be the really best option. note that plasma (I co-designed that code) for backgrounds tries to calculate the closest resolution possible, and in case it can't find a perfect fit, falls back on scale&crop. It would be good to be consistent here. Ah, also, just to ensure we show less crap as possible, can you implement black-padding and backport it to 4.3? At least is less annoying than random garbage for whoever uses a weird resolution. :-)
implemented scalemode={free|fit|crop} in trunk (r1009279) and fixed the themes (r1009280). will sneak in this feature into the 4.3 branch once it is a bit tested.
you rock, you really do :-) now i suppose we can close the bug...
*** Bug 203710 has been marked as a duplicate of this bug. ***
is this bug supposed to be fixed in 4.3.1 ? I have a screen with a resolution of 1920x1080 and I still see this bug with 4.3.1 (kubuntu packages on jaunty)
No fixed for my in 4.3.1
SVN commit 1022821 by ossi: fix the themes' background images' aspect ratio backport of r1009280 & r1011924 CCBUG: 169772 M +2 -2 oxygen-air/oxygen-air.xml M +2 -2 oxygen/oxygen.xml WebSVN link: http://websvn.kde.org/?view=rev&revision=1022821