Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-30 Thread Bernard Devlin
Mike, I'm extremely grateful for your help on this matter.  And I have
finally got some kind of explanation of what is going wrong.

Hearing that the native appearance manager worked for you on Win7/64 -
which is what I'm on too - I created another user account and logged in
there.  LC7 RC4 native theme works when using that account. That was a
breakthrough.

So I returned to my normal account and checked if I had switched off Aero
or something else.  I hadn't.  But what I had done was had set an image as
my desktop background.  I saved that theme, and reverted to the default
Windows 7 theme, and now native theme works within LC7.  Having a plain
themed background has not been a problem on LC 5.x or 6.x.  I was working
on this Win7 PC with LC 5.5 for about 3 years.

If I revert back to my old desktop theme, with LC7 open, the view menu
gets completely screwed up in LC7.  Basically, it looks like a wreck -- it
has different colours from the other LC menus and is neither a Win95, OS X
nor Motif theme.  Restart LC7 with my themed desktop, and I'm back to a
Motif appearance and the problem of the native theme option not working.
If I switch to any of the other provided themes which are installed on
Win7, then it is only after a restart of LC7 that the appearance reverts,
and native theme works.

I guess this must mean I'm the only LC user who has created a theme of
their own.  Mine was nothing more than a graphic I used as the backdrop for
the desktop.

I can at least enter this in the bug report.

Regards,
Bernard



On Tue, Dec 30, 2014 at 12:47 AM, Mike Bonner bonnm...@gmail.com wrote:

 Can't test on 7.0.1 stable, but on rc4 it has an affect. in rc4 from the
 menu, it does appear to work for me, setting back to the native appearance
 manager look.

 I looked at this though:
 The Appearance Manager option can be used only on Windows XP, Mac OS and
 OS X systems. If you set the lookAndFeel to Appearance Manager on a Unix
  system, it is reset to Motif. Similarly, tf you set the lookAndFeel to
 Appearance Manager on a pre-Windows XP system, it is reset to Wondows
 95.

 It is still behaving as if the engine doesn't think you're on windows.
 Since you can set it, and it is then reset, somewhere in there it must be
 checking the platform and failing.  At this point, since you checked the
 platform from the msg box, I have NO idea why it might be doing that.  So
 color me stumped.

 On Mon, Dec 29, 2014 at 5:33 PM, Bernard Devlin bdrun...@gmail.com
 wrote:

  The suggestion about a system proxy was a good one!
 
  That proxy was disabled on a system-wide basis on Windows; the values for
  the proxy were still in the boxes (but grayed-out).  It appears all the
  browsers were ignoring these values, as the Internet Options said to not
  use a proxy.  Livecode seemed to get that value still.  After setting
 that
  to empty on a system-wide basis, then saving revPreferences, the proxy
  value is now empty in LC across restarts.
 
  Alas the lookAndFeel is still not working.  I took your suggestion
  seriously, and did a restart. But still no change on this front.
 
  If I put the platform, it is Win32.  If I change the lookAndFeel
 through
  the menu, then the lookAndFeel reports Windows 95.  But this does not
  persist across restarts.  You may be right, that the lookAndFeel is not
  saved with revPreferences.  But then the conundrum is why this would look
  like Motif by default, whereas on LC 6.7 and earlier it correctly stays
  as Windows 95
 
  Incidentally, do you find that clicking the native theme on the View
 menu
  has any effect, i.e if you choose Motif, then after that choose Native
  Theme, does it display the appropriate appearance for your platform?
 When
  I try this on 6.7 and 7.0.1, it changes nothing.
 
  Bernard
 
  On Mon, Dec 29, 2014 at 11:47 PM, Mike Bonner bonnm...@gmail.com
 wrote:
 
   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.
  
  
  ___
  use-livecode mailing 

Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-30 Thread Mike Bonner
Hey cool. It would never have occurred to me that setting a background
could wreak such havoc.  Another bug to squash is a good thing. (2 in fact,
lc shouldn't pick up the disabled proxy setting either)

On Tue, Dec 30, 2014 at 4:32 AM, Bernard Devlin bdrun...@gmail.com wrote:

 Mike, I'm extremely grateful for your help on this matter.  And I have
 finally got some kind of explanation of what is going wrong.

 Hearing that the native appearance manager worked for you on Win7/64 -
 which is what I'm on too - I created another user account and logged in
 there.  LC7 RC4 native theme works when using that account. That was a
 breakthrough.

 So I returned to my normal account and checked if I had switched off Aero
 or something else.  I hadn't.  But what I had done was had set an image as
 my desktop background.  I saved that theme, and reverted to the default
 Windows 7 theme, and now native theme works within LC7.  Having a plain
 themed background has not been a problem on LC 5.x or 6.x.  I was working
 on this Win7 PC with LC 5.5 for about 3 years.

 If I revert back to my old desktop theme, with LC7 open, the view menu
 gets completely screwed up in LC7.  Basically, it looks like a wreck -- it
 has different colours from the other LC menus and is neither a Win95, OS X
 nor Motif theme.  Restart LC7 with my themed desktop, and I'm back to a
 Motif appearance and the problem of the native theme option not working.
 If I switch to any of the other provided themes which are installed on
 Win7, then it is only after a restart of LC7 that the appearance reverts,
 and native theme works.

 I guess this must mean I'm the only LC user who has created a theme of
 their own.  Mine was nothing more than a graphic I used as the backdrop for
 the desktop.

 I can at least enter this in the bug report.

 Regards,
 Bernard



 On Tue, Dec 30, 2014 at 12:47 AM, Mike Bonner bonnm...@gmail.com wrote:

  Can't test on 7.0.1 stable, but on rc4 it has an affect. in rc4 from the
  menu, it does appear to work for me, setting back to the native
 appearance
  manager look.
 
  I looked at this though:
  The Appearance Manager option can be used only on Windows XP, Mac OS
 and
  OS X systems. If you set the lookAndFeel to Appearance Manager on a
 Unix
   system, it is reset to Motif. Similarly, tf you set the lookAndFeel to
  Appearance Manager on a pre-Windows XP system, it is reset to Wondows
  95.
 
  It is still behaving as if the engine doesn't think you're on windows.
  Since you can set it, and it is then reset, somewhere in there it must
 be
  checking the platform and failing.  At this point, since you checked the
  platform from the msg box, I have NO idea why it might be doing that.  So
  color me stumped.
 
  On Mon, Dec 29, 2014 at 5:33 PM, Bernard Devlin bdrun...@gmail.com
  wrote:
 
   The suggestion about a system proxy was a good one!
  
   That proxy was disabled on a system-wide basis on Windows; the values
 for
   the proxy were still in the boxes (but grayed-out).  It appears all the
   browsers were ignoring these values, as the Internet Options said to
 not
   use a proxy.  Livecode seemed to get that value still.  After setting
  that
   to empty on a system-wide basis, then saving revPreferences, the proxy
   value is now empty in LC across restarts.
  
   Alas the lookAndFeel is still not working.  I took your suggestion
   seriously, and did a restart. But still no change on this front.
  
   If I put the platform, it is Win32.  If I change the lookAndFeel
  through
   the menu, then the lookAndFeel reports Windows 95.  But this does not
   persist across restarts.  You may be right, that the lookAndFeel is not
   saved with revPreferences.  But then the conundrum is why this would
 look
   like Motif by default, whereas on LC 6.7 and earlier it correctly
 stays
   as Windows 95
  
   Incidentally, do you find that clicking the native theme on the View
  menu
   has any effect, i.e if you choose Motif, then after that choose
 Native
   Theme, does it display the appropriate appearance for your platform?
  When
   I try this on 6.7 and 7.0.1, it changes nothing.
  
   Bernard
  
   On Mon, Dec 29, 2014 at 11:47 PM, Mike Bonner bonnm...@gmail.com
  wrote:
  
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 

resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-29 Thread Bernard Devlin
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-29 Thread Mike Bonner
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 bdrun...@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-29 Thread Bernard Devlin
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 bonnm...@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 bdrun...@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-29 Thread Mike Bonner
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 bdrun...@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 bonnm...@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 bdrun...@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-29 Thread Bernard Devlin
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 bonnm...@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 bdrun...@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 bonnm...@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 bdrun...@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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-29 Thread Mike Bonner
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 bdrun...@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 bonnm...@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 bdrun...@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 bonnm...@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 bdrun...@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and 

Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-29 Thread Bernard Devlin
The suggestion about a system proxy was a good one!

That proxy was disabled on a system-wide basis on Windows; the values for
the proxy were still in the boxes (but grayed-out).  It appears all the
browsers were ignoring these values, as the Internet Options said to not
use a proxy.  Livecode seemed to get that value still.  After setting that
to empty on a system-wide basis, then saving revPreferences, the proxy
value is now empty in LC across restarts.

Alas the lookAndFeel is still not working.  I took your suggestion
seriously, and did a restart. But still no change on this front.

If I put the platform, it is Win32.  If I change the lookAndFeel through
the menu, then the lookAndFeel reports Windows 95.  But this does not
persist across restarts.  You may be right, that the lookAndFeel is not
saved with revPreferences.  But then the conundrum is why this would look
like Motif by default, whereas on LC 6.7 and earlier it correctly stays
as Windows 95

Incidentally, do you find that clicking the native theme on the View menu
has any effect, i.e if you choose Motif, then after that choose Native
Theme, does it display the appropriate appearance for your platform?  When
I try this on 6.7 and 7.0.1, it changes nothing.

Bernard

On Mon, Dec 29, 2014 at 11:47 PM, Mike Bonner bonnm...@gmail.com wrote:

 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.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-29 Thread Mike Bonner
Can't test on 7.0.1 stable, but on rc4 it has an affect. in rc4 from the
menu, it does appear to work for me, setting back to the native appearance
manager look.

I looked at this though:
The Appearance Manager option can be used only on Windows XP, Mac OS and
OS X systems. If you set the lookAndFeel to Appearance Manager on a Unix
 system, it is reset to Motif. Similarly, tf you set the lookAndFeel to
Appearance Manager on a pre-Windows XP system, it is reset to Wondows
95.

It is still behaving as if the engine doesn't think you're on windows.
Since you can set it, and it is then reset, somewhere in there it must be
checking the platform and failing.  At this point, since you checked the
platform from the msg box, I have NO idea why it might be doing that.  So
color me stumped.

On Mon, Dec 29, 2014 at 5:33 PM, Bernard Devlin bdrun...@gmail.com wrote:

 The suggestion about a system proxy was a good one!

 That proxy was disabled on a system-wide basis on Windows; the values for
 the proxy were still in the boxes (but grayed-out).  It appears all the
 browsers were ignoring these values, as the Internet Options said to not
 use a proxy.  Livecode seemed to get that value still.  After setting that
 to empty on a system-wide basis, then saving revPreferences, the proxy
 value is now empty in LC across restarts.

 Alas the lookAndFeel is still not working.  I took your suggestion
 seriously, and did a restart. But still no change on this front.

 If I put the platform, it is Win32.  If I change the lookAndFeel through
 the menu, then the lookAndFeel reports Windows 95.  But this does not
 persist across restarts.  You may be right, that the lookAndFeel is not
 saved with revPreferences.  But then the conundrum is why this would look
 like Motif by default, whereas on LC 6.7 and earlier it correctly stays
 as Windows 95

 Incidentally, do you find that clicking the native theme on the View menu
 has any effect, i.e if you choose Motif, then after that choose Native
 Theme, does it display the appropriate appearance for your platform?  When
 I try this on 6.7 and 7.0.1, it changes nothing.

 Bernard

 On Mon, Dec 29, 2014 at 11:47 PM, Mike Bonner bonnm...@gmail.com wrote:

  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.
 
 
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: resetting preferences in 7.0.1 rc4 (Windows 7)

2014-12-29 Thread Mike Bonner
Oh, I'm on win7 64 bit. If you're on 95, the behavior would differ.  It
would try to set to appearance manager (most likely) then shift to windows
95. Wish I had more os's around here to experiment with.

On Mon, Dec 29, 2014 at 5:47 PM, Mike Bonner bonnm...@gmail.com wrote:

 Can't test on 7.0.1 stable, but on rc4 it has an affect. in rc4 from the
 menu, it does appear to work for me, setting back to the native appearance
 manager look.

 I looked at this though:
 The Appearance Manager option can be used only on Windows XP, Mac OS and
 OS X systems. If you set the lookAndFeel to Appearance Manager on a Unix
  system, it is reset to Motif. Similarly, tf you set the lookAndFeel to
 Appearance Manager on a pre-Windows XP system, it is reset to Wondows
 95.

 It is still behaving as if the engine doesn't think you're on windows.
 Since you can set it, and it is then reset, somewhere in there it must be
 checking the platform and failing.  At this point, since you checked the
 platform from the msg box, I have NO idea why it might be doing that.  So
 color me stumped.

 On Mon, Dec 29, 2014 at 5:33 PM, Bernard Devlin bdrun...@gmail.com
 wrote:

 The suggestion about a system proxy was a good one!

 That proxy was disabled on a system-wide basis on Windows; the values for
 the proxy were still in the boxes (but grayed-out).  It appears all the
 browsers were ignoring these values, as the Internet Options said to not
 use a proxy.  Livecode seemed to get that value still.  After setting that
 to empty on a system-wide basis, then saving revPreferences, the proxy
 value is now empty in LC across restarts.

 Alas the lookAndFeel is still not working.  I took your suggestion
 seriously, and did a restart. But still no change on this front.

 If I put the platform, it is Win32.  If I change the lookAndFeel through
 the menu, then the lookAndFeel reports Windows 95.  But this does not
 persist across restarts.  You may be right, that the lookAndFeel is not
 saved with revPreferences.  But then the conundrum is why this would look
 like Motif by default, whereas on LC 6.7 and earlier it correctly stays
 as Windows 95

 Incidentally, do you find that clicking the native theme on the View
 menu
 has any effect, i.e if you choose Motif, then after that choose Native
 Theme, does it display the appropriate appearance for your platform?
 When
 I try this on 6.7 and 7.0.1, it changes nothing.

 Bernard

 On Mon, Dec 29, 2014 at 11:47 PM, Mike Bonner bonnm...@gmail.com wrote:

  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.
 
 
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode