Bug 176279 - Moon that appears in logout display distorted
Summary: Moon that appears in logout display distorted
Status: RESOLVED FIXED
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
: 177127 184493 186258 193778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-27 22:33 UTC by Christopher Neufeld
Modified: 2009-06-01 18:18 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A screen capture of the logout button (18.33 KB, image/png)
2008-11-27 22:35 UTC, Christopher Neufeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Neufeld 2008-11-27 22:33:50 UTC
Version:            (using Devel)
Compiler:          gcc-4.2.4 
OS:                Linux
Installed from:    Compiled sources

I've been using svn checkouts of KDE4 for a while, updating about once a week.  Some time in the past few months, the moon that displays during a logout became distorted, stretched by more than 3 to 1 in the horizontal direction.  It is still that way as of 2008-11-27 (revision 889734).

I will attach a screen capture of the logout display as it appears on my computer.  My terminal is a 1600x1200 panel with a 4x3 physical aspect ratio, and so displays square pixels.
Comment 1 Christopher Neufeld 2008-11-27 22:35:05 UTC
Created attachment 28861 [details]
A screen capture of the logout button

Here is a screen capture of the logout button showing the stretched moon.
Comment 2 Aaron J. Seigo 2008-11-27 22:53:52 UTC
ksmserver; and yeah, that dialog is really looking ugly. we need to do something NICE with it, though probably iffy for 4.2. 
Comment 3 FiNeX 2008-12-07 14:04:46 UTC
*** Bug 177127 has been marked as a duplicate of this bug. ***
Comment 4 Christopher Neufeld 2008-12-16 20:35:11 UTC
Did something change in or before revision 894880?  I don't actually log out often, but I just did, and the moon looks much better now.  Has this been fixed, and should the bug be closed?
Comment 5 Aaron J. Seigo 2008-12-16 21:42:36 UTC
yes: http://websvn.kde.org/?view=rev&revision=893329

way to go Marco =)
Comment 6 Maciej Mrozowski 2008-12-17 06:44:45 UTC
No please - reopen this bug.
If only one option is offered on that screen - image is cropped, if more buttons are there - whole image is shown. I guess *expected* behaviour is to have whole 'moon' image shown no matter the number of logout/shutdown/syspent/whatever options offered - so that this moon image should actually *resize* layout vertically (provide minimal height for it) - and not be cropped to it's minimal height (defined by number of buttons on the right).
This is my view anyway.
Comment 7 Dario Andres 2009-02-16 11:13:56 UTC
*** Bug 184493 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2009-02-16 11:15:30 UTC
The reporter of bug 184493 is experiencing this in KDE4.2 (Kubuntu devel)
Should this be reopened?
Here using trunk , the moon image is also distorted.
Comment 9 Dario Andres 2009-03-06 00:22:11 UTC
*** Bug 186258 has been marked as a duplicate of this bug. ***
Comment 10 Mauro 2009-03-16 10:37:38 UTC
Same here. I'd like to try if the fix works for me, but I don't know where to lay my hands on :(
Comment 11 Mauro 2009-03-16 10:39:14 UTC
Sorry, Ubuntu 8.10 with kde 2.4.1
Comment 12 Mauro 2009-03-17 18:08:37 UTC
Little hint: if I log in as root, the bug happens.
BUT, if I press CTRL-ALT-CANC (only as root) the shutdown dialog works perfectly...

Maybe it's not a bug, but a different personalization... I'd love to be able to find out I'm right!
Comment 13 Ronny Standtke 2009-04-01 23:14:41 UTC
I just tested with KDE 4.2.1 (Kubuntu 9.04 beta live CD). This is not fixed. Please reopen this bug.
Comment 14 Mauro 2009-04-02 07:04:06 UTC
Test this for me: enable all desktop effects. Are you still experiencing the bug?
Comment 15 Ronny Standtke 2009-04-02 09:17:35 UTC
Unfortunately, I can not enable all desktop effects. I only get the following error message:
 "Failed to activate desktop effects using the given configuration options. Settings will be reverted to their previous values. Check your X configuration. You may also consider changing advanced options, especially changing the compositing type."
Comment 16 Mauro 2009-04-02 09:37:56 UTC

mmm... I see... Do you use compiz or kwin? (If Compiz, switch to kwin and try to enable desktop effects).
Then, I suggest to try including this part in your xorg.conf:

Section "Extensions"
 Option "Composite" "Enable"
EndSection
Comment 17 Dario Andres 2009-04-02 14:35:01 UTC
Interesting:

Here using:

Qt: 4.5.0 + qt-copy-patches-936035
KDE: 4.2.68 (KDE 4.2.68 (KDE 4.3 >= 20090327))
kdelibs svn rev. 946159 / kdebase svn rev. 946160
on ArchLinux i686 - Kernel 2.6.28.8

After starting compositing (effects) the Moon looks OK on both dialogs (the one with all the three options, and the one with only one option). It is scaled properly (aspect-ratio is kept).

However, on non-composited desktop, the Moon is distorted in the only one option dialog.
Comment 18 Dario Andres 2009-05-23 17:48:51 UTC
*** Bug 193778 has been marked as a duplicate of this bug. ***
Comment 19 Christophe S 2009-05-23 18:08:04 UTC
Hi,

I have experienced the same problem (see bug 193778) ... [KDE 4.2.3 on Kubuntu]
Doing my tests to create this duplicate bug (sorry again) I have also noted that the image of the moon is not the same if you use compositing or not ... (see screenshots of bug 193778) by not the same images I mean two different moon images. For consistency, shouldn't it be the same image either you use compositing or not ? 

Kind Regards
Comment 20 Marco Martin 2009-06-01 18:15:37 UTC
fixed in trunk by commit 973994 now the moon is round again both in composite and non composite mode
Comment 21 Dario Andres 2009-06-01 18:18:18 UTC
As the only remaining issue is fixed now I'm closing as FIXED. Thanks