[Kst] [Bug 118753] Unable to create label or legend with transparent background and visible border

George Staikos staikos at kde.org
Wed Dec 21 00:05:44 CET 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=118753         




------- Additional Comments From staikos kde org  2005-12-21 00:05 -------
On Tuesday 20 December 2005 17:53, Andrew Walker wrote:
> ------- #118676 pointed out the dangers of setting the border to 0 and
> transparent fill.
>
> At present if we set transparent fill for labels or legends we
> automatically get border = 0, which this bug report says is not desirable.
>
> I see no contradiction.


  Ok I found the proper contradiction.  #118148

You implemented it so that transparent labels did not draw the border.  I 
changed it so that it did this while still calling the proper base class.  
Which one, again, do you want? :)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Quoting Andrew Walker <arwalker sumusltd com>:

> SVN commit 489316 by arwalker:
> 
> CCBUG:118148 no longer display borders for transparent label - this is
> consistent with legend behaviour


   This is inconsistent with all the other bordered view objects though.  
Furthermore it's certainly the wrong place to put this kind of thing.  If the 
goal is really to have a feature like this, it should be inside 
KstBorderedViewObject since the transparent property belongs to even a base 
class of that.  Circumventing the base class can cause unexpected results when 
other changes are made in the future.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


More information about the Kst mailing list