Hi, I wrote a GUI using FXRuby under WinXP. I then upgraded to Vista, installed Ruby (and thus by default FXRuby) and ran my GUI. It was then that I noticed that the colours have gone weird. The main user interface is now white (the default colour that Vista uses), but all of the data targets and tables have remained beige (RGB 236, 233, 216). Of course one can individualy declare a white background colour for each of these widgets, but then it looks garish if run on XP or Linux. Is there any setting I can apply to make the colour for the application uniform and overide the system default. I already tried such things as app.backColour = FXRGB(236, 233, 216). I also noticed that the FXShutter doesn''t work properly under Vista. When you click on the various shutter items, it just flicks from one item to the next without the smooth animation in between. It just flicks from one shutter button to the next in one frame. Is there any way of fixing this, or should I just can Vista and go back to XP. Thanks in advance for any advice. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090115/f54426c5/attachment.html>
On Thursday 15 January 2009, James Hibbard wrote:> Hi, > > I wrote a GUI using FXRuby under WinXP. > I then upgraded to Vista, installed Ruby (and thus by default FXRuby) and ran my GUI. > It was then that I noticed that the colours have gone weird. > The main user interface is now white (the default colour that Vista uses), but all of the data targets and tables have remained beige (RGB 236, 233, 216). > Of course one can individualy declare a white background colour for each of these widgets, but then it looks garish if run on XP or Linux. > Is there any setting I can apply to make the colour for the application uniform and overide the system default. > I already tried such things as app.backColour = FXRGB(236, 233, 216). >You should be able to run the FOX ControlPanel application and change color schemes; normally, FOX fishes its colors from the Windows GUI control registry; this works pretty good on 2K and XP. I don''t have Vista myself so I never noticed the problem.> I also noticed that the FXShutter doesn''t work properly under Vista. When you click on the various shutter items, it just flicks from one item to the next without the smooth animation in between. > It just flicks from one shutter button to the next in one frame. > Is there any way of fixing this, or should I just can Vista and go back to XP.I don''t know what''s up with the shutter under Vista. I can''t say I have any idea why you''re seeing this, since its supposed to do all the timing completely inside FOX. I''m not sure if you''re able to research this issue or not; I''d like to fix it if other people experience this also. - Jeroen
Thanks for the reply Jeroen,>You should be able to run the FOX ControlPanel application and change color schemes; normally, >FOX fishes its colors from the Windows GUI control registry; this works pretty good on 2K and XP.It''s probably a silly question, but how can I access the FOX ControlPanel application? I tried Googling and consulting the PP FXRuby book, but couldn''t find anything.>I don''t know what''s up with the shutter under Vista. I can''t say I have any idea why you''re >seeing this, since its supposed to do all the timing completely inside FOX.I would have thought so too.>I''m not sure if you''re able to research this issue or not; >I''d like to fix it if other people experience this also.Certainly willing if not able. If you can give me any pointers as to what I could do to research it, I will do so. We have a couple of machines running Vista at work, so I could try and recreate the situation there. Cheers Jim ________________________________ From: Jeroen van der Zijp <jeroen at fox-toolkit.org> To: fxruby-users at rubyforge.org Sent: Friday, 16 January, 2009 0:01:32 Subject: Re: [fxruby-users] Vista issues On Thursday 15 January 2009, James Hibbard wrote:> Hi, > > I wrote a GUI using FXRuby under WinXP. > I then upgraded to Vista, installed Ruby (and thus by default FXRuby) and ran my GUI. > It was then that I noticed that the colours have gone weird. > The main user interface is now white (the default colour that Vista uses), but all of the data targets and tables have remained beige (RGB 236, 233, 216). > Of course one can individualy declare a white background colour for each of these widgets, but then it looks garish if run on XP or Linux. > Is there any setting I can apply to make the colour for the application uniform and overide the system default. > I already tried such things as app.backColour = FXRGB(236, 233, 216). >You should be able to run the FOX ControlPanel application and change color schemes; normally, FOX fishes its colors from the Windows GUI control registry; this works pretty good on 2K and XP. I don''t have Vista myself so I never noticed the problem.> I also noticed that the FXShutter doesn''t work properly under Vista. When you click on the various shutter items, it just flicks from one item to the next without the smooth animation in between. > It just flicks from one shutter button to the next in one frame. > Is there any way of fixing this, or should I just can Vista and go back to XP.I don''t know what''s up with the shutter under Vista. I can''t say I have any idea why you''re seeing this, since its supposed to do all the timing completely inside FOX. I''m not sure if you''re able to research this issue or not; I''d like to fix it if other people experience this also. - Jeroen _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090116/15d80293/attachment-0001.html>
> Hi, > > I also noticed that the FXShutter doesn''t work properly under Vista. > When you click on the various shutter items, it just flicks from one > item to the next without the smooth animation in between. > It just flicks from one shutter button to the next in one frame. > Is there any way of fixing this, or should I just can Vista and goback to XP. Hi, I''m not using the FXShutter widget myself, so I''m not sure how it''s supposed to work, but I have just run the FXShutter example here: http://www.fxruby.org/examples/shutter.rb ... And I don''t see the smooth animation effect you are talking about, although I use XP as well. (I have disactivated the icons load, it''s not supposed to change anything, right?) Maybe your XP machine is so old that your funny smooth effect is in fact a huge slowdow in screen redraw? :) Just kidding... Philippe Lang
Hi, So, referring to shutter.rb Supposing you have the ''Lookout shortcuts'' shutter item selected (you can see ''Lookout today'', ''Inbox'', ''Calendar'', ''Contacts'' etc) When you click on the shutter item below it, does it smoothly scroll up to nest underneath the ''Lookout shortcuts'' item, or does it just spring up there in one frame? When running this under XP I got the first effect (smooth scrolling), when running it under Vista I got the second effect (jumpy frames). Do I understand it correctly that you get the jumpy frames effect in both XP and Vista, or just in XP? Cheers for looking into this. Jim P.S. under windows the shutter programme can be found here - no need to deactivate ithe icons :) C:\ruby\lib\ruby\gems\1.8\gems\fxruby-1.6.12-mswin32\examples ________________________________ From: Philippe Lang <philippe.lang at attiksystem.ch> To: fxruby-users at rubyforge.org Sent: Friday, 16 January, 2009 11:24:39 Subject: Re: [fxruby-users] Vista issues> Hi, > > I also noticed that the FXShutter doesn''t work properly under Vista. > When you click on the various shutter items, it just flicks from one > item to the next without the smooth animation in between. > It just flicks from one shutter button to the next in one frame. > Is there any way of fixing this, or should I just can Vista and goback to XP. Hi, I''m not using the FXShutter widget myself, so I''m not sure how it''s supposed to work, but I have just run the FXShutter example here: http://www.fxruby.org/examples/shutter.rb ... And I don''t see the smooth animation effect you are talking about, although I use XP as well. (I have disactivated the icons load, it''s not supposed to change anything, right?) Maybe your XP machine is so old that your funny smooth effect is in fact a huge slowdow in screen redraw? :) Just kidding... Philippe Lang _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090116/cd521ecf/attachment.html>
Hi again, I have just run shutter.rb (from the example folder, thanks! :)) under XP, and no scrolling effet at all on my computer. When I click on the shutter, change are immediate, no effect or whatever. Have you made tests on other XP computers? _____ De : fxruby-users-bounces at rubyforge.org [mailto:fxruby-users-bounces at rubyforge.org] De la part de James Hibbard Envoy? : vendredi, 16. janvier 2009 13:01 ? : fxruby-users at rubyforge.org Objet : Re: [fxruby-users] Vista issues Hi, So, referring to shutter.rb Supposing you have the ''Lookout shortcuts'' shutter item selected (you can see ''Lookout today'', ''Inbox'', ''Calendar'', ''Contacts'' etc) When you click on the shutter item below it, does it smoothly scroll up to nest underneath the ''Lookout shortcuts'' item, or does it just spring up there in one frame? When running this under XP I got the first effect (smooth scrolling), when running it under Vista I got the second effect (jumpy frames). Do I understand it correctly that you get the jumpy frames effect in both XP and Vista, or just in XP? Cheers for looking into this. Jim P.S. under windows the shutter programme can be found here - no need to deactivate ithe icons :) C:\ruby\lib\ruby\gems\1.8\gems\fxruby-1.6.12-mswin32\examples _____ From: Philippe Lang <philippe.lang at attiksystem.ch> To: fxruby-users at rubyforge.org Sent: Friday, 16 January, 2009 11:24:39 Subject: Re: [fxruby-users] Vista issues> Hi, > > I also noticed that the FXShutter doesn''t work properly under Vista. > When you click on the various shutter items, it just flicks from one > item to the next without the smooth animation in between. > It just flicks from one shutter button to the next in one frame. > Is there any way of fixing this, or should I just can Vista and goback to XP. Hi, I''m not using the FXShutter widget myself, so I''m not sure how it''s supposed to work, but I have just run the FXShutter example here: http://www.fxruby.org/examples/shutter.rb ... And I don''t see the smooth animation effect you are talking about, although I use XP as well. (I have disactivated the icons load, it''s not supposed to change anything, right?) Maybe your XP machine is so old that your funny smooth effect is in fact a huge slowdow in screen redraw? :) Just kidding... Philippe Lang _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090116/bbd4aee7/attachment.html>
Hello, Only on my wife''s laptop and under Ubuntu Linux. There the scolling effect worked like a charm. At the end of the day it is not the most major issue as the program still functions exactly like it should, but the effect was actually really neat! Maybe a couple of other people could have a look if the effect works on their computers? ________________________________ From: Philippe Lang <philippe.lang at attiksystem.ch> To: fxruby-users at rubyforge.org Sent: Friday, 16 January, 2009 14:06:59 Subject: Re: [fxruby-users] Vista issues Hi again, I have just run shutter.rb (from the example folder, thanks! :)) under XP, and no scrolling effet at all on my computer. When I click on the shutter, change are immediate, no effect or whatever. Have you made tests on other XP computers? ________________________________ De : fxruby-users-bounces at rubyforge.org [mailto:fxruby-users-bounces at rubyforge.org] De la part de James Hibbard Envoy? : vendredi, 16. janvier 2009 13:01 ? : fxruby-users at rubyforge.org Objet : Re: [fxruby-users] Vista issues Hi, So, referring to shutter.rb Supposing you have the ''Lookout shortcuts'' shutter item selected (you can see ''Lookout today'', ''Inbox'', ''Calendar'', ''Contacts'' etc) When you click on the shutter item below it, does it smoothly scroll up to nest underneath the ''Lookout shortcuts'' item, or does it just spring up there in one frame? When running this under XP I got the first effect (smooth scrolling), when running it under Vista I got the second effect (jumpy frames). Do I understand it correctly that you get the jumpy frames effect in both XP and Vista, or just in XP? Cheers for looking into this. Jim P.S. under windows the shutter programme can be found here - no need to deactivate ithe icons :) C:\ruby\lib\ruby\gems\1.8\gems\fxruby-1.6.12-mswin32\examples ________________________________ From: Philippe Lang <philippe.lang at attiksystem.ch> To: fxruby-users at rubyforge.org Sent: Friday, 16 January, 2009 11:24:39 Subject: Re: [fxruby-users] Vista issues> Hi, > > I alsonoticed that the FXShutter doesn''t work properly under Vista.> When youclick on the various shutter items, it just flicks from one> item to thenext without the smooth animation in between.> It just flicks from oneshutter button to the next in one frame.> Is there any way of fixingthis, or should I just can Vista and go back to XP. Hi, I''m not using the FXShutter widget myself, so I''m not sure how it''s supposed to work, but I have just run the FXShutter example here: http://www.fxruby.org/examples/shutter.rb ... And I don''t see the smooth animation effect you are talking about, although I use XP as well. (I have disactivated the icons load, it''s not supposed to change anything, right?) Maybe your XP machine is so old that your funny smooth effect is in fact a huge slowdow in screen redraw? :) Just kidding... Philippe Lang _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090116/1e3d6ccf/attachment-0001.html>
Philippe Lang wrote:>> Hi, >> >> I also noticed that the FXShutter doesn''t work properly under Vista. >> When you click on the various shutter items, it just flicks from one >> item to the next without the smooth animation in between. >> It just flicks from one shutter button to the next in one frame. >> Is there any way of fixing this, or should I just can Vista and go > back to XP. > > Hi, > > I''m not using the FXShutter widget myself, so I''m not sure how it''s > supposed to work, but I have just run the FXShutter example here: > > http://www.fxruby.org/examples/shutter.rb > > ... And I don''t see the smooth animation effect you are talking about, > although I use XP as well. (I have disactivated the icons load, it''s not > supposed to change anything, right?) > > Maybe your XP machine is so old that your funny smooth effect is in fact > a huge slowdow in screen redraw? :) Just kidding... > > Philippe Lang > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users >On my Linux system the changes are very fast as well. As Philippe suggests you would have to be running a much slower system to see the in-between frames, I would think. Len
On Friday 16 January 2009, Len Lawrence wrote:> Philippe Lang wrote: > >> Hi, > >> > >> I also noticed that the FXShutter doesn''t work properly under Vista. > >> When you click on the various shutter items, it just flicks from one > >> item to the next without the smooth animation in between. > >> It just flicks from one shutter button to the next in one frame. > >> Is there any way of fixing this, or should I just can Vista and go > > back to XP. > > > > Hi, > > > > I''m not using the FXShutter widget myself, so I''m not sure how it''s > > supposed to work, but I have just run the FXShutter example here: > > > > http://www.fxruby.org/examples/shutter.rb > > > > ... And I don''t see the smooth animation effect you are talking about, > > although I use XP as well. (I have disactivated the icons load, it''s not > > supposed to change anything, right?) > > > > Maybe your XP machine is so old that your funny smooth effect is in fact > > a huge slowdow in screen redraw? :) Just kidding... > > > > Philippe Lang > > _______________________________________________ > > fxruby-users mailing list > > fxruby-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/fxruby-users > > > On my Linux system the changes are very fast as well. As Philippe > suggests you would have to be running a much slower system to see the > in-between frames, I would think.You can change the speed in the registry [SETTINGS/animspeedns (nanoseconds) for 1.7, SETTINGS/animspeed (milliseconds) for 1.6 and below]. - Jeroen
On Jan 16, 2009, at 1:26 PM, Len Lawrence wrote:> On my Linux system the changes are very fast as well. As Philippe > suggests you would have to be running a much slower system to see > the in-between frames, I would think.What happens if you increase the "animation speed" (which is technically the delay between frame updates) from its default of 10ms? Try adding this somewhere in the application initialization: app.animSpeed = 100 # increased from default value of 10 If that makes it too slow, obviously, pick some value in between. Just curious if this affects it at all. In _theory_, it shouldn''t.
>You can change the speed in the registry [SETTINGS/animspeedns (nanoseconds) for 1.7,>SETTINGS/animspeed (milliseconds) for 1.6 and below].Cheers Jeroen, That worked perfectly. You''re a star! P.S. I''d still be really greatful if you could tell me how I can access the FOX ControlPanel application (ref. earlier post)>You should be able to run the FOX ControlPanel application and change color schemes; normally, >FOX fishes its colors from the Windows GUI control registry; this works pretty good on 2K and XP.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090116/999ca1b9/attachment.html>
On my system this has an effect (it slows it right down)>app.animSpeed = 100So much the theory :-) ________________________________ From: Lyle Johnson <lyle at lylejohnson.name> To: fxruby-users at rubyforge.org Sent: Friday, 16 January, 2009 22:02:21 Subject: Re: [fxruby-users] Vista issues On Jan 16, 2009, at 1:26 PM, Len Lawrence wrote:> On my Linux system the changes are very fast as well. As Philippe suggests you would have to be running a much slower system to see the in-between frames, I would think.What happens if you increase the "animation speed" (which is technically the delay between frame updates) from its default of 10ms? Try adding this somewhere in the application initialization: app.animSpeed = 100 # increased from default value of 10 If that makes it too slow, obviously, pick some value in between. Just curious if this affects it at all. In _theory_, it shouldn''t. _______________________________________________ fxruby-users mailing list fxruby-users at rubyforge.org http://rubyforge.org/mailman/listinfo/fxruby-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090116/8f9a52c4/attachment.html>
I guess a millisecond lasts longer when you''re running XP vs. Vista. ;) Sent from my iPhone On Jan 16, 2009, at 5:03 PM, James Hibbard <mr_nice66 at yahoo.com> wrote:> On my system this has an effect (it slows it right down) > >app.animSpeed = 100 > So much the theory :-) > > From: Lyle Johnson <lyle at lylejohnson.name> > To: fxruby-users at rubyforge.org > Sent: Friday, 16 January, 2009 22:02:21 > Subject: Re: [fxruby-users] Vista issues > > > On Jan 16, 2009, at 1:26 PM, Len Lawrence wrote: > > > On my Linux system the changes are very fast as well. As Philippe > suggests you would have to be running a much slower system to see > the in-between frames, I would think. > > What happens if you increase the "animation speed" (which is > technically the delay between frame updates) from its default of > 10ms? Try adding this somewhere in the application initialization: > > app.animSpeed = 100 # increased from default value of 10 > > If that makes it too slow, obviously, pick some value in between. > Just curious if this affects it at all. In _theory_, it shouldn''t. > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090116/b2794427/attachment.html>