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
20-Apr-2006
[3369x2]
not so far ...
In fact I wonder if the need for a tree view indicates a poor design?
Pekr
20-Apr-2006
[3371]
not sure ... how do you want to display hierarchical structures?
Graham
20-Apr-2006
[3372]
Not at present... but I may need to later on.
Pekr
20-Apr-2006
[3373]
it is also a pity, Henrik's grid does not work with RebGUI (although 
not supporting my favourite horizontal scroll :-)
Graham
20-Apr-2006
[3374]
Henrik's aim is to get it to work with rebgui eventually.
Graham
21-Apr-2006
[3375]
Ashley, just wondering how well RebGui runs on OSX  .. any reports?
Ashley
21-Apr-2006
[3376]
Works fine here. One of my QA tests is to run %tour.r on both Mac 
and WIndows prior to each release and ensure all widgets work the 
same on both.
[unknown: 9]
21-Apr-2006
[3377]
We have a drop down in RebGUI that when we click off does not close, 
any hints?
Pekr
21-Apr-2006
[3378]
I think no hints ... it is long time reported misbehavior, but the 
trouble is, it is based upon rebol's pop-up model .... imo no chance 
getting it fixed easily enough ... although e.g. Cyphre's menu works 
.... not sure how difficult it is to change it ...
[unknown: 9]
21-Apr-2006
[3379]
Well, that is a hint, I will ask Richard.  Thanks.
Cyphre
21-Apr-2006
[3380]
I have made small fix so the drop-list behaves like Reichart wants 
under View 1.3.x. If anyone is  interested you can grab it here:
http://cyphre.mysteria.cz/stuff/rebgui-widgets.r
[unknown: 9]
21-Apr-2006
[3381]
Cool..
Ashley
21-Apr-2006
[3382]
Works well, although it stll requires a click outside the popup for 
it to be dismissed (not merely moving the mouse pointer off the list 
as some have requested). Also note that this changes the behaviour 
of clicking from one drop-list to another (you have to click the 
new drop-list button twice ... once to dismiss the old list and now 
a second time to activate the new list). Note that the first hide-popup 
in the choose function (line 405) is no longer needed with this change.
[unknown: 9]
21-Apr-2006
[3383]
Yeah, all these points do need to be addressed.  I will hold him 
[Mr. C] down, you tickle him.
Gabriele
21-Apr-2006
[3384]
View's modal system can handle closing on moving the mouse away, 
you just need to set a custom handler.
Anton
21-Apr-2006
[3385]
I think requiring a click outside is good behaviour, but it is only 
good if that click is not consumed, but passed on (so that the second 
drop-list  activates straight away)..
[unknown: 9]
21-Apr-2006
[3386x2]
Agreed.  


One more subtle point, on Windows, both in Firefox browser, and in 
products like Word, the behavior is:


Moving your mouse over Droplist-1 highlights it (this is true of 
all widgets)
Droplist-1 is clicked on, and opens.

Moving the mouse to Droplist-2 does not highlight, because the first 
widget is engaged.

Clicking on Droplist-2 closed Droplist-1, and highlights Droplist-2, 
but does not engage it (open Droplist-2).


Of note, even something as simple as a checkbox on Windows has 8 
states:

Unchecked
Checked
Unchecked highlighted
Checked highlighted
Unchecked ghosted 
Checked ghosted
Button down unchecked
Button down checked


I strongly vote copying the most used UI in the world on every little 
detail.  They might not be "right" but they are the popular vote.
RebGui has some rough edges, but over all it has been really easy 
to build stuff with.  Ashley, on our Qfile client application, we 
are putting in the Credits RebGUI, and a ink to your site.  We will 
post a beta on Qtask and if you want something changed just tell 
us.
Graham
22-Apr-2006
[3388]
It would be good if changes can be made to the svn store.
[unknown: 9]
22-Apr-2006
[3389]
What do you mean exactly, and what interface to SVN do you use? (I'm 
sort of studying iCVS vs SVN right now).
Graham
22-Apr-2006
[3390x3]
one uses a svn client.
I believe I posted the details on qtask.
And if I didn't, Ashley has a list of clients on his main page at 
http://trac.geekisp.com/rebgui
[unknown: 9]
22-Apr-2006
[3393]
Do you use TortoiseSVN?
Graham
22-Apr-2006
[3394x2]
I started out with Tortoise SVN, but it doesn't work well with DirOpus 
for windows.
So, I'll be looking for a non GUi client.
[unknown: 9]
22-Apr-2006
[3396]
Interesting.  I made a joke to a freind of mine about how I keep 
getting depressed learning about the features of some given product 
that is version 2.  I look at the product that is version 2 that 
is missing important features, and then wonder, what did version 
one have?

Version 1, our light switch features "on." 

Version 2, in addition to the much loved "on" feature, you can now 
turn the light "off"

I really feel this way about SVN and CVS.
Robert
22-Apr-2006
[3397x3]
Might be related to the discussion above:

If I have a 'field that uses an on-unfocus event and I enter some 
test and than click on a drop-down list, the on-unfocus event for 
the field isn't generated.
Cyphre: The download is very slow... just for your information.
How can I create something like a STYLE to avoid always having to 
specify things like
	font [align: 'right]
Anton
22-Apr-2006
[3400x2]
view layout [style my-field field font [align: 'right]  my-field 
my-field]
or you could restyle the field with 
	layout [style field field font [align: 'right]  field field]
Robert
22-Apr-2006
[3402]
Does RebGUI support the 'style  keyword? Ah, didn't knew it.
Anton
22-Apr-2006
[3403x2]
Whoops! Sorry, didn't pay attention to the group name... :-(
But I suppose you could do something like:	
	rebgui-widgets: make rebgui-widgets [

  my-widget: make one-of-the-widgets [font: make font [align: 'right]]
	]
Graham
22-Apr-2006
[3405]
What exactly was Cyphre's change?
Ashley
22-Apr-2006
[3406]
***** rebgui-widgets.r *****
Lines which are not present in the other.
-------------------------------------
419 :       show-popup/window popup parent/parent-face
420 : ;     show-popup/window/away popup parent/parent-face
***** rebgui-widgets.r *****
Lines which are not present in the other.
-------------------------------------
407 :           feel: system/words/face/feel
420 : ;     show-popup/window popup parent/parent-face
421 :       show-popup/window/away popup parent/parent-face
618 :                   down    [face/data: on]
619 :                   up      [face/action face face/data: off]
Graham
22-Apr-2006
[3407]
thanks.
Anton
23-Apr-2006
[3408x4]
I hate this line.  I hate this line.  I hate this line:

		either 1 = length? view*/screen-face/pane [quit] [

I hate this line.
By the way, I hate this line.
Here's a patch to group-box which makes the top line font-size sensitive:
;init:	make function! [] [ ; <- this multi-arg spec notation will 
be broken in rebol 3
		init:	func [] [ ; <- but this will still work
			font/color: colors/menu

   ; note: if you recalculate the draw block in feel/redraw instead, 
   that allows dynamic font-size changes
			insert effect/draw compose [
				pen (colors/edge)

    ;box (as-pair 0 sizes/cell * 2 - 2) (size - 1x1) ; -2 accounts for 
    para/margin/y, I think
				box (as-pair 0 ((second size-text self) / 2)) (size - 1x1)

    ; blank out the portion of the top edge of the box where the text 
    is
				pen none ; <- this will be set later by feel/redraw

    ;line (-2x-2 + as-pair sizes/cell * 2 sizes/cell * 2) (as-pair sizes/cell 
    * 2 + first size-text self sizes/cell * 2 - 2)
				line 

     (as-pair (sizes/cell * 2 - 2)					 ((second size-text self) / 2)) 
     ; -2 for space between line and title text (on the left side)

     (as-pair (sizes/cell * 2 + first size-text self) ((second size-text 
     self) / 2))
			]
-2 accounts for para/margin/y, I think
  <- you can ignore this :)
Graham
23-Apr-2006
[3412]
have you thought of asking Ashley for a write access account to the 
svn?
Geomol
23-Apr-2006
[3413]
Anton, you could try some buddhist lotus meditation, and suddently 
you'll hear wonderfull music, smell exotic odours, see never-thought-of 
colours ... and that line will look very beautiful to you! ;-)
Anton
23-Apr-2006
[3414x2]
Graham, no I haven't. I don't think I'm so closely involved.
Geomol, I was enlightened to hit the public cache with a few ;;;;;
Ashley
23-Apr-2006
[3416]
That line you hate:

	either 1 = length? view*/screen-face/pane [quit] [

could be replaced with:

	unless 1 = length? view*/screen-face/pane [

better?
Anton
23-Apr-2006
[3417]
That just basically removes the quit from the equation ? Should be 
ok. :-)
Robert
24-Apr-2006
[3418]
tables: Is it possible to change the column layout of a table after 
it was layouted? I have a space where I display a table that changes 
it's layout depending on the context of the app. Sometimes it has 
2 than 5 columns and different column labels.