Subject: [Bug 120883] Text size is changed contrary to user's expectations - msg#00315
List: kde.kst
------- 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=120883
------- Additional Comments From netterfield astro utoronto ca 2006-01-28
01:14 -------
The intended behavior is:
It defaults to auto-resize = false if you create the label by dragging a box.
It defaults to auto-resize = true if you create the label by clicking.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
[Bug 120883] Text size is changed contrary to user's expectations
------- 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=120883
------- Additional Comments From arwalker sumusltd com 2006-01-28 00:26 -------
Regrettably what you're describing is not the default behaviour. By default
auto-resize is false and so the text label font is the same absolute size
regardless of the plot size (i.e. not like an axis label).
Next Message by Date:
click to view message preview
extragear/graphics/kst/kst
SVN commit 503057 by netterfield:
BUG: 120823
Read past EOF results in a vector of 1 sample = NaN.
M +7 -2 kstrvector.cpp
--- trunk/extragear/graphics/kst/kst/kstrvector.cpp #503056:503057
@@ -430,7 +430,8 @@
int i, k, shift, n_read=0;
int ave_nread;
int new_f0, new_nf;
-
+ bool start_past_eof = false;
+
checkIntegrity();
if (DoSkip && Skip < 2 && SPF == 1) {
@@ -462,6 +463,7 @@
// Tried to read starting past the end.
new_f0 = 0;
new_nf = 1;
+ start_past_eof = true;
}
}
@@ -575,7 +577,10 @@
}
// read the new data from file
- if (_file->samplesPerFrame(_field) > 1) {
+ if (start_past_eof) {
+ _v[0] = NAN;
+ n_read = 1;
+ } else if (_file->samplesPerFrame(_field) > 1) {
assert(new_nf - NF - 1 > 0 || new_nf - NF - 1 == -1);
assert(new_f0 + NF >= 0);
assert(new_f0 + new_nf - 1 >= 0);
Previous Message by Thread:
click to view message preview
[Bug 120883] Text size is changed contrary to user's expectations
------- 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=120883
------- Additional Comments From arwalker sumusltd com 2006-01-28 00:26 -------
Regrettably what you're describing is not the default behaviour. By default
auto-resize is false and so the text label font is the same absolute size
regardless of the plot size (i.e. not like an axis label).
Next Message by Thread:
click to view message preview
[PATCH] bind_histogram was incomplete
I noticed that this call was incomplete and would give random results. Patch
follows. Ok for commit?
Index: bind_histogram.cpp
===================================================================
--- bind_histogram.cpp (revision 502694)
+++ bind_histogram.cpp (working copy)
@@ -368,7 +368,8 @@
return KJS::Undefined();
}
- double x0, x1;
+ double x0 = args[0].toNumber(exec);
+ double x1 = args[1].toNumber(exec);
KstWriteLocker wl(d);
d->setXRange(x0, x1);
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/