Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From: Doug Schwarz <see@sig.for.address.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Slider step, value does not agree with setting when sliding vs. using the arrow
Date: Sun, 03 Mar 2013 01:07:10 -0500
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <see-484113.01070903032013@news.eternal-september.org>
References: <kgr5u5$481$1@speranza.aioe.org> <kgr7rp$9gu$1@speranza.aioe.org> <kgr9oi$f8k$1@speranza.aioe.org> <kgrc95$m4o$1@speranza.aioe.org> <kgrh07$2aa$1@speranza.aioe.org> <kgri5n$50b$1@speranza.aioe.org> <kgrl49$av9$1@speranza.aioe.org> <see-FD5DAA.16183502032013@news.eternal-september.org> <kgtsph$3sf$1@speranza.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Injection-Info: mx05.eternal-september.org; posting-host="d2d0f8c5da7c2634a0ffb44c5a849c9f";
	logging-data="24844"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/ls4tfOXr1swivL3JljxxiHnmGMf8s+/Y="
User-Agent: MT-NewsWatcher/3.5.2 (Intel Mac OS X)
Cancel-Lock: sha1:+OFgLMDfwMS7hkH20UKG72i/Pew=
Xref: news.mathworks.com comp.soft-sys.matlab:790192

In article <kgtsph$3sf$1@speranza.aioe.org>,
 "Nasser M. Abbasi" <nma@12000.org> wrote:

> On 3/2/2013 3:18 PM, Doug Schwarz wrote:
> 
> > Think of it this way: the way it is now you can get what
> > you want,
> 
> No. The way it is now is NOT what I want. That is the point.

You misunderstand me and I should be more clear.  I realize the way it 
works now is not *exactly* what you want or else why would you have 
written your complaint?  But you can get what you want simply by 
rounding the slider value in the callback function.  You want two levels 
of granularity and you can have them.

I want three levels of granularity: major step, minor step, and whatever 
you get by moving the slider by one pixel.  If your suggested change is 
made in the fundamental workings of the slider, it will be impossible 
for me to get what I want.

Therefore, you are asking for the slider to have *less* functionality 
than it does now.

[snip]


> But a simple solution can exist: Have an option in the API to this
> UIcontrol to specify which way it should behave.

That would be fine as long as the default is the current behavior.


> So those who want deterministic behavior can choose that, and those
> who do not can choose that.
> 
> Currently the way it works is broken IMNSHO. It forces the
> user who wants the slider to move only by certain minimum steps
> to do rounding on their end, when this was what the minor/major
> steps settings was supposed to do.

I think you're overstating your case.  It's a minor problem at most, 
with a trivial workaround.

-- 
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.