r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!RebGUI] A lightweight alternative to VID

Graham
25-Aug-2009
[8416x3]
Did you change the table routines recently?
In my app, I have 24 rows, and there is a definite lag belween the 
scroller and what I see on screen.
ie. the scroller lags behind the mouse as it drags it up and down.
Ashley
25-Aug-2009
[8419]
The underlying face-iterator hasn't changed much, but the slider 
code was totally rewritten ... so it *might* have been the slider 
widget?
Graham
25-Aug-2009
[8420x4]
I'm using the table from prior to the big color changes
Going to try the older rebgui....
Wow .. huge differences
Even with only 50 items there is a noticeable lag with the older 
table.
Ashley
25-Aug-2009
[8424]
The rewrite was worth it then ;)
Graham
25-Aug-2009
[8425x3]
Yes .. definitely .. although I can't use it without breaking my 
application
Did you always use iterated faces for the table?
Could it just be the scroller?
Ashley
25-Aug-2009
[8428]
Yes and yes.
Graham
25-Aug-2009
[8429]
Ok.
Ashley
25-Aug-2009
[8430]
And before you ask, back-porting just the scroller is not viable.
Graham
25-Aug-2009
[8431]
I erased that response I was about to make!
Ashley
25-Aug-2009
[8432]
Back to your request-value prompt wrap issue ... I just tried it 
under WinXP with build#212 and I get 3 wrapped lines of text. Does 
your requestor have a big blue question mark icon in the top-left 
corner?
Graham
25-Aug-2009
[8433]
Yes
Ashley
25-Aug-2009
[8434]
Are you on WinXP, Vista or Win7?
Graham
25-Aug-2009
[8435x7]
Looks like the scroller issue goes back a while .. I tested the version 
where you had the color changes and that is also fast.
Windows 7 RC1
let me check the source ..
Yes, it is request-value
But you must have just changed it ... as it now wraps
let me show you the older version
Ahhh.. can't use 'editor anymore.
Ashley
25-Aug-2009
[8442]
Try request-edit instead.
Graham
25-Aug-2009
[8443]
** Access Error: Cannot open /C/Rebol/rebgui/icons/16x16/actions/document-new.png
** Where: load-icon
** Near: icon: load file
Ashley
25-Aug-2009
[8444]
Does tour.r work for you (it needs the same icons)?
Graham
25-Aug-2009
[8445]
yes
Ashley
25-Aug-2009
[8446]
Different dir?
Graham
25-Aug-2009
[8447x4]
http://screencast.com/t/BEp7A32PY7
Yes.
the icons are loaded each time from disk?
Ah.. no icon at top left.
Ashley
25-Aug-2009
[8451]
Yes, I probably need to inline them (in %rebgui-images.r).
Graham
25-Aug-2009
[8452x4]
That rebgui was just one build earlier ...
My main screen was ViD based as it used a toggle widget .. and then 
the rest was rebgui
So, the improved scroller code was from quite a while ago.
Loading off disk is bad!
Ashley
25-Aug-2009
[8456]
All that for a toggle, you should have said something earlier! ;) 
BTW, the screencast shows a build#1nn widget (pre-gradient buttons).
Graham
25-Aug-2009
[8457]
It was written a few years ago and just recently revamped
Ashley
25-Aug-2009
[8458]
Bottom line is the current request-value works the way you requested/expected?
Graham
25-Aug-2009
[8459x2]
And when I tried to port it to the latest build .. then I discovered 
vid/rebgui were no longer bed mates
Yes, latest is okay.
Bobik
26-Aug-2009
[8461x4]
Hi Ashley, i would like ask you, are you thinking about auto-scroll 
in widget AREA, because of  i can not select text bigger than area 
size.  Cool example in VID has Didier Cadieu, see http://www.rebol.org/view-script.r?script=area-scroll-style.r&sid=ptn126rv
I made small CMS using Rebgui, so sometime i lack this feature :-)
I think it is importent feature in some apps processing text (medical 
notes, cms, blogs etc..)
Many times users use  "copy-paste"  method to carry large text:-)
Pekr
26-Aug-2009
[8465]
Ashley - request-edit from RebDOC looks nice, it even scrolls, but 
it somehow misbehaves on my system. 

1) The Window could be smaller - does not even fit my 1280x800

2) When I try to resize it from the top, the window jumps around 
100pixels below

3) editing - only typing works ... e.g. hilighting by mouse does 
not work (strange, as it works for fields)
4) scroller misbehaves too ....