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

List:       kde-panel-devel
Subject:    Mandelbrot, continued (and plasma bug reports)
From:       Benoit Jacob <jacob.benoit.1 () gmail ! com>
Date:       2009-04-08 15:01:53
Message-ID: d9f848520904080801s2b7d5d55v422f4304a5a1d037 () mail ! gmail ! com
[Download RAW message or body]

Hi,

First of all, many thanks to Aaron and Andrew for your help. SVN now
has an updated version taking it into account.

Finally, I found that what I really need is to be able to distinguish
between the "main instance" of the wallpaper, that is the one that is
actually used as desktop background, and the "other instance" of the
wallpaper, that is the one that is displayed in the tiny screen in the
Desktop Settings dialog.

I didn't find anything like a "bool isMainInstance()" method so I
hacked one that just returns true if the number of pixels is < 200000.
Very hackish, but works for me.

Could you please tell me how to do that cleanly, or add such a method
in the Wallpaper class?

The reason why I need it, is that the 2 instances modify different
settings: the main instance controls the viewpoint while the other
instance controls other parameters. So in the save() method I need to
know which instance it is.

While I'm here, here are a few possible bug reports.

1) the isInitialized() method seems to always return true.
2) In Desktop Settings dialog, the "Apply" button is disabled even
after i have modified Mandelbrot settings
3) In Desktop Settings dialog, the mandelbrot preview is misplaced
slightly to the top-left, so there are black bands on the bottom and
right.

Cheers,
Benoit
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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