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

World: r3wp

[!REBOL3 GUI]

Robert
30-Sep-2010
[3604x4]
Regarding the _, we can get rid of it. I use it to "indicate" private/internal 
stuff, you shouldn't mess around with.
And _data should be renamed into BAG, because this better describes 
what it is.
Petr, being able to get a database / table design right from the 
GUI is IMO a very good approach :-).
Because, schema updates will be done automatic. Hence, adding fields, 
renaming fields etc. will work.
Henrik
2-Oct-2010
[3608x3]
Small status update:


Cyphre has completed first version with keywords for draw blocks. 
This means you can now use the vertices of the box model for coordinates, 
instead of tediously calculating them inside the draw block.

http://94.145.78.91/files/r3/gui/240.png
New R3 GUI uploaded here

http://94.145.78.91/files/r3/gui/r3-gui.r3

It should contain the feature.
http://94.145.78.91/files/r3/gui/resizing-new-9.r3

Contains example.
Gregg
2-Oct-2010
[3611]
Go GUI-team go!
Pekr
3-Oct-2010
[3612]
Not sure it is now the right time to report bugs for area style, 
I simply regard it being very incomplete,  but - writing some czech 
chars into area/field does not work ...
Henrik
3-Oct-2010
[3613]
does this only occur for the area style? what about field?
Pekr
3-Oct-2010
[3614x3]
ditto for fields ...
some chars do work, but half of them don't
Behaviour for chars under particular keys:

2 - losing the focus of area
3 - tpyes "a"
4 - arrow down
5 - writes "Y"
6 - writes "~"
7, 8, 9, 0 - types correct Czech chars ...
Henrik
3-Oct-2010
[3617x2]
interesting, let me see if you have the latest compiled version
They seem to be the same size, but, just to be safe:

http://94.145.78.91/files/r3/gui/r3.exe
http://94.145.78.91/files/r3/gui/r3lib.dll
Pekr
3-Oct-2010
[3619]
OK, new executable + dll did the trick ....
Henrik
3-Oct-2010
[3620]
ok, good
Henrik
5-Oct-2010
[3621]
New R3 GUI uploaded here

http://94.145.78.91/files/r3/gui/r3-gui.r3

Fixes slider crash. Is 21 kb bigger. For some reason. :-)
Pekr
5-Oct-2010
[3622]
what's precisely "some reason?" :-)
Henrik
5-Oct-2010
[3623x2]
I don't know.
Got a pattern on the resize loop bug, but I guess it requires a very 
specific VM setup:

1. Start the R3 GUI and make a window. Maximize it.
2. Resize the VM desktop window

3. Hope that your resize action is slow enough to allow you to doubleclick 
the titlebar to de-maximize it.
4. Now it loops between maximized and normal size.

Perhaps there is some confusion about screen-face size changing.
Pekr
5-Oct-2010
[3625]
re 'area style - trying auto-scrolling or scrolling in general:


1) still the same bad aproach as with R2 area - I don't care that 
it does not hilite right now, that can be added, but when dragging 
the mouse outside of the area, it stops scrolling, and that is wrong 
- it should scroll even if I move mouse out of the window, wherever 
around my 2 monitors ....


2) when I start dragging, the proportional size of scroller is lost, 
and it gets reset to its full-size dragger ....
Henrik
5-Oct-2010
[3626]
probably still some bugs in those areas.
Pekr
5-Oct-2010
[3627]
I think, that system metrics are still under-developed. In fact, 
they were never correct in REBOL, and it is known fact, that R2 crashed 
when you changed resulution of window. I would like to see screen-face 
more developed - it should be a block, along with proper system metrics, 
number of monitors, their orientation, resolution, etc.
Henrik
5-Oct-2010
[3628x2]
Uploaded panel scoping prototype:

http://94.145.78.91/files/r3/gui/panel-scoping.r3

Test support file:

http://94.145.78.91/files/r3/gui/file.txt


It's an earlier prototype that eventually became db-reactors, but 
it shows much more of the panel scoping features and uses EMIT, OBTAIN, 
ACQUIRE and SUBMIT.
metrics: I'm not sure what's being considered here. Cyphre may have 
something in the works.
Pekr
5-Oct-2010
[3630]
Henrik - new build possible? Rebolek told me, there should be new, 
improved version of area available. I would like to test :-)
Henrik
5-Oct-2010
[3631x3]
one second...
done
is it better?
Pekr
5-Oct-2010
[3634]
Area style report:


1) hilite some few chars, then you click elsewhere in the text, or 
just move the caret using arrows - the text stays hilited, whereas 
default OS behaviour is, that the hilite is discarded. The question 
is, if we are targeting for REBOL specific behaviour, e.g. allowing 
to move caret, and have multi-hilte areas? I think not.


2) hilite autoscroll works chaotically. Sometimes it scrolls the 
area, sometime it does not. Dragging the mouse outside the window 
does not work at all.


3) scroll by mouse-wheel. When I reach the "bottom" of the area, 
I loose my focus, and scrolling back up does not work


4) moving up/down by arrow. It seems that in OS native widget (Notepad), 
the caret position is counted by the follow-the-leftmost-tex-length 
rule. So if I e.g. go via an empty line, caret should stay at the 
beginning of line for all other rows.

5) cut and paste into Notepad discards newlines


6) cut and paste from Notepad inserts text in hilited form - random 
behaviour here, ot it needs more observation ...


7) hilited text should be deleled by hitting delete, backspace, or 
by typing any character

8) when hiliting the text by mouse, scroller gets reset to 100%

Is that enough bug-reporting for the starter? :-)
Henrik
5-Oct-2010
[3635]
Bolek will see to these, thanks.
Rebolek
5-Oct-2010
[3636]
Thanks for report.
Henrik
6-Oct-2010
[3637]
New R3 compile should fix a scroll-wheel issue:

http://94.145.78.91/files/r3/gui/r3.exe
http://94.145.78.91/files/r3/gui/r3lib.dll
Pekr
6-Oct-2010
[3638]
Is there some easy way of of hot obtain list of available styles? 
Are styles somehow divided upon internal (thsoe are more of classes 
you use to construct other styles) and user useable styles?
Rebolek
6-Oct-2010
[3639]
words-of guie/styles
Henrik
6-Oct-2010
[3640]
I need a function to figure out the style tree. Will have to write 
it later. That would be part of the documentation.
Rebolek
6-Oct-2010
[3641]
Yes, style tree would be useful, but I think it's not top priority 
right now.
Pekr
6-Oct-2010
[3642x2]
btw - I really hate guie name. It reminds me of Internet Explorer 
and I can't decode its meaning at first sight ....
is there anything like 'flags item in new VID? I find tagging very 
usefull technique. That way you could simply add a tag, e.g. 'internal, 
and such style would not appear int he list of styles for something 
like get-styles function. Simply put - only styles/widgets which 
are able to function on their own, would be shown ...
Rebolek
6-Oct-2010
[3644]
GUI Enviroment. I didn't like it at first too, but I get used to 
it. OTOH, you don't need to acces guie most of the time.
Pekr
6-Oct-2010
[3645]
This will have to be done anyway, or how are you supposed to display 
styles for REBOL IDE, which you can place on a form? Unless you are 
supposed to do it manually of course ...
Rebolek
6-Oct-2010
[3646]
yes, there's supprot for tags, although it's not used as much as 
it should be right now.
Pekr
6-Oct-2010
[3647]
scroll-wheel now works like expected ...
Rebolek
6-Oct-2010
[3648]
supprot=support
Henrik
6-Oct-2010
[3649]
Since the GUI is not a module yet, I don't know whether the GUIE 
name stays.
Pekr
6-Oct-2010
[3650]
there definitely have to be accessors like get-styles (get-style-list) 
or something like that. Playing in console and trying to display 
tabbox, container, errors out ...
Henrik
6-Oct-2010
[3651]
Tags were implemented by me. They are used in validation and keyboard 
navigation for now.
Rebolek
6-Oct-2010
[3652]
tabbox, tab-box and container are tests of tab-box implementation 
and only tab-box (name) will stay. They actually shouldn't be in 
SVN, so ignore them for now, please.
Henrik
6-Oct-2010
[3653]
Relobek, btw. the tabbing that is done inside the field style needs 
to be removed, which will make tab navigation work for fields.