resetting preferences in 7.0.1 rc4 (Windows 7)

Mike Bonner bonnmike at gmail.com
Tue Dec 30 00:47:39 CET 2014


Reading up on some stuff. You might check to make sure that windows itself
doesn't have a stuck proxy setting (not likely, since you'd notice it
elsewhere, but worth a check) because liburl will use the windows setting
of it isn't set specifically with code.  At least it's something to
eliminate.  Might also (if you didn't) confirm that "the platform" does
indeed return win32 to eliminate that also.  I haven't yet found where the
"lookandfeel" is stored if at all, doesn't look like it is so far, hence my
re-asking about the platform. I looked at what the menu selection does, and
it appears that all it does is "set the lookandfeel to ..whatever" but
there could be a setprop somewhere that I haven't found yet.

Worst case (I know its a pain) setup a plugin that sets the lookandfeel to
"appearance manager" as well as setting the proxy to empty.

Another silly thought, but.. this is windows.  Have you restarted lately?
About out of ideas, but i'll keep poking around and maybe get lucky.

On Mon, Dec 29, 2014 at 4:38 PM, Bernard Devlin <bdrunrev at gmail.com> wrote:

> Another good suggestion, Mike.  But even "save stack revPreferences" did
> not make the preference change stick.
>
> The httpProxy setting is as annoying as the Motif look. It was a libURL
> error showing me that it was trying to access the proxy that made me
> realise the prefs were not being saved.
>
> I checked the timestamp of livecode7.livecode and it changed on "save stack
> revPreferences".  So I zipped that up with the new timestamp.  Closed LC,
> deleted what ever was there, and unzipped the stack whose timestamp had
> changed.  But still no preferences stuck.
>
> Bernard.
>
> On Mon, Dec 29, 2014 at 11:29 PM, Mike Bonner <bonnmike at gmail.com> wrote:
>
> > Interesting. In my case, its opposite. I can set motif, but when it
> starts
> > up again its back to native. (which is why I was wondering if its a
> setting
> > that isn't save)
> > Somewhere, if I can find it, is a preferences template file. I bet at
> some
> > point that got saved with the changes.  Either way, I wonder if you can
> a)
> > set the look and feel, then open preferences, then from the msg box save
> > stack "revpreferences" after you've tweaked the stuff you need to change.
> > Might even check to make sure the time stamp has changed.
> >
> > Maybe someone else can confirm where the look and feel stuff is saved?
> I'm
> > going to dig through things a bit more and see if I can locate it.
> >
> > On Mon, Dec 29, 2014 at 4:20 PM, Bernard Devlin <bdrunrev at gmail.com>
> > wrote:
> >
> > > Thanks for the suggestion Mike.  But that's not the problem.  I can
> > change
> > > the appearance via the menu.  But such a change will not stick.
> > >
> > > I discovered that this is a preference problem because somehow LC 7.0.1
> > RC4
> > > is remembering a httpProxy setting which I set some days/weeks ago
> (which
> > > may well have been set when I was testing 7.0.1 RC3)
> > >
> > > Every time I restart RC4, the httpProxy is set back to a proxy which I
> no
> > > longer need to access.  I change that setting, restart RC4, and my
> > > httpProxy changes have not been saved.  Deleting the stack files in
> that
> > > folder ends up with them being recreated, presumably with the
> preferences
> > > from somewhere else.
> > >
> > > Regards, Bernard
> > >
> > > On Mon, Dec 29, 2014 at 10:58 PM, Mike Bonner <bonnmike at gmail.com>
> > wrote:
> > >
> > > > That is not a preference that is saved, its session specific.  I
> looked
> > > at
> > > > the script for that menu, and the function that sets the look and
> feel
> > > (or
> > > > at least the one that determines which look and feel should be used,
> on
> > > > initialization) is this:
> > > >
> > > > function revThisLookAndFeel
> > > >    if the platform is "MacOS" then
> > > >       return "Macintosh"
> > > >    end if
> > > >
> > > >    if the platform is "Win32" then
> > > >       return "Windows 95"
> > > >    end if
> > > >
> > > >    return "Motif"
> > > > end revThisLookAndFeel
> > > >
> > > > Which makes me wonder if "the platform" is returning something funky
> on
> > > > your system, thereby defaulting to "motif.
> > > >
> > > >
> > > > On Mon, Dec 29, 2014 at 3:39 PM, Bernard Devlin <bdrunrev at gmail.com>
> > > > wrote:
> > > >
> > > > > RC4 is loading (every time) as Motif appearance on Windows 7.
> > > Resetting
> > > > > this through the menu takes effect for that session, but on
> > restarting,
> > > > > this preference is not saved.
> > > > >
> > > > > Deleting the stacks here:
> > > > >
> > > > > C:\Users\<<User>>\AppData\Roaming\RunRev\Preferences
> > > > >
> > > > > just results in a new Livecode7 stack being created there.  But
> still
> > > > > changes to preferences are not saved to it.
> > > > >
> > > > > Does anyone know where Livecode is getting these preferences from?
> > > > >
> > > > > Bernard
> > > > > _______________________________________________
> > > > > use-livecode mailing list
> > > > > use-livecode at lists.runrev.com
> > > > > Please visit this url to subscribe, unsubscribe and manage your
> > > > > subscription preferences:
> > > > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > > > >
> > > > _______________________________________________
> > > > use-livecode mailing list
> > > > use-livecode at lists.runrev.com
> > > > Please visit this url to subscribe, unsubscribe and manage your
> > > > subscription preferences:
> > > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > > >
> > > _______________________________________________
> > > use-livecode mailing list
> > > use-livecode at lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list