[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#1382: kdm displays garbage if LogoPixmap is undefined
From:       Melchior FRANZ <a8603365 () unet ! univie ! ac ! at>
Date:       1999-05-16 19:00:30
[Download RAW message or body]

Package: kdm,  kgreeter.cpp
Version: 1.56 1998/12/04 14:46:34


It isn't a severe bug, but it's somewhat annoying: In the file
"kgreeter.cpp" of the kdm program there are some strange lines.
 
214:    QPixmap pixmap;
215:    if( QFile::exists( kdmcfg->logo()->data()))
216:        pixmap.load( kdmcfg->logo()->data());
217:    else
218:        pixmap.resize( 100,100);
 
 
If the image can be found, it is assigned to `pixmap'.
And if not? Than a "null pixmap" resized to a
100x100 square, but without contents is assigned.
That makes a huge, noisy coloured garbage square.
 
It would be desirable though, not to display any image,
if the LogoPixmap couldn't be found. In this case, one had
only to comment the "LogoPixmap" entry of kwmrc
if one didn't want to have a logo at all (right what
I wanted to achieve!)

Solution?
I'm sorry, I'm not (yet) familiar with qt-coding.


I know there is a more recent kdm release, but I doubt
that the bug has been removed there, since it admittedly
isn't that obvious.
 
m.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic