Bug 118755 - Existing label properties are ignored
Summary: Existing label properties are ignored
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-20 23:35 UTC by Andrew Walker
Modified: 2005-12-21 00:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Walker 2005-12-20 23:35:23 UTC
Version:           HEAD (using KDE KDE 3.4.0)
Installed from:    Compiled From Sources
OS:                Linux

PROBLEM:
When the text associated with a label is removed all the other properties are reset.

STEPS TO REPRODUCE:
Start Kst
In the default window create a text label by dragging the mouse to set the desired size
Enter some text in the edit field of the Edit Label dialog
Change the forground color to green
Hit OK
Enter layout mode and double click on the text label
Remove the text from the edit field of the Edit Label dialog
Hit OK
Double click on the text label

EXPECTED RESULTS:
The foregound color is green in the Edit Label dialog

RESULTS:
The forground color is black in the Edit Label dialog
Comment 1 George Staikos 2005-12-21 00:30:34 UTC
SVN commit 490161 by staikos:

only act as a new dialog if it really is a new dialog.  new variable created
to indicate that this is a 'new' object
backs out some of 490135 to keep legends consistent with labels, since it's
really the same bug.
BUG: 118755


 M  +2 -1      kst2dplot.cpp  
 M  +1 -1      kst2dplot.h  
 M  +8 -1      ksteditviewobjectdialog_i.cpp  
 M  +2 -0      ksteditviewobjectdialog_i.h  
 M  +1 -1      kstgfxpicturemousehandler.cpp  
 M  +1 -1      kstgfxtextmousehandler.cpp  
 M  +2 -2      kstviewlabel.cpp  
 M  +11 -11    kstviewlabel.h  
 M  +69 -63    kstviewlegend.cpp  
 M  +10 -10    kstviewlegend.h  
 M  +9 -6      kstviewobject.cpp  
 M  +2 -2      kstviewobject.h