Bug 274322 - Default font settings not saved on exit
Summary: Default font settings not saved on exit
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 2.0.4
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 2.0.4
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-28 03:43 UTC by D. V. Wiebe
Modified: 2011-06-28 21:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D. V. Wiebe 2011-05-28 03:43:24 UTC
The default font settings in the "Kst settings" dialog box are not saved when kst exists, so the next time kst starts, changes are lost.

Steps to reproduce:
  1. Settings -> configure Kst
  2. Under "Font", change "Label color" to, say, a rather effulgent shade of yellow.
  3. OK
  4. File -> Exit
  5. restart kst
  6. Settings -> Configure Kst

Result:
  "Label color" under "Font" has reverted to black.

Expected Result:
  "Label color" should be a rather effulgent shade of yellow.
Comment 1 Netterfield 2011-06-08 14:53:21 UTC
Another UI bug + a real bug.

UI Bug: this option only applies to View Item Labels, and not labels in plots, or legends.  It is redundant with the color selector in the label dialog.  There is no reason for this.

Real Bug: the option is not saved.
Comment 2 Netterfield 2011-06-16 00:19:14 UTC
SVN commit 1236936 by netterfield:

CCBUG: 274322

Add saving defaults to the label dialog.



 M  +11 -0     devel-docs/Kst2Specs/Bugs  
 M  +13 -6     src/libkstapp/labelcreator.cpp  
 M  +1 -0      src/libkstapp/labelcreator.h  
 M  +12 -5     src/libkstapp/labelcreator.ui  
 M  +19 -4     src/libkstapp/labelitem.cpp  
 M  +3 -0      src/libkstapp/labelitem.h  
 M  +5 -0      src/libkstapp/labelitemdialog.cpp  
 M  +0 -1      src/libkstapp/plotitem.cpp  
 M  +2 -2      src/plugins/dataobject/linefit/linefit.cpp  
 M  +1 -1      src/plugins/dataobject/syncbin/syncbin.cpp  
 M  +1 -1      src/plugins/filters/despike/filterdespike.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1236936
Comment 3 Nicolas Brisset 2011-06-28 21:09:06 UTC
Fixed by Barth in commit 1238324. For some reason the post-commit hook did not
work...