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

World: r3wp

[!REBOL3 GUI]

Graham
14-Feb-2010
[686]
if they're hidden you can't correct them if they fail validation
Steeve
14-Feb-2010
[687x3]
why not ?
just show them if validation fail
changing of state is a dynamic behaviour
Gregg
14-Feb-2010
[690x2]
Hidden faces should still be accessible programmatically, but can't 
get focus or key events, including access keys.
To clarify, depending on the event loop model, you may be able to 
post messages to them, but the standard UI event loop won't.
Steeve
14-Feb-2010
[692]
exact
Henrik
14-Feb-2010
[693]
graham, tooltips will come. I'll add them to the spec.
BrianH
14-Feb-2010
[694]
Don't make the UI depend on tooltips too much - they aren't supported 
on touch screen UIs, and those are becoming more popular.
Robert
14-Feb-2010
[695]
Well, that's an app decision not a framwork one IMO. Designing for 
touch screens looks different in a lot of aspects anyway.
Steeve
14-Feb-2010
[696]
to my mind a tooltip should be an HIDDEN widget you add or not in 
a panel. 

This widget would "sense" the move events in its parent container 
and decide by himself if he must  pop up or not.
BrianH
14-Feb-2010
[697]
Framework design can shape app design. For a new GUI framework, it's 
best to support a variety of interaction models. There are a lot 
of apps written on legacy frameworks that are having trouble adapting 
to the current interaction models. For instance, we better assume 
that there can be more than one simultaneous input - multitouch is 
here already.
Graham
14-Feb-2010
[698x2]
Does r3/view support multitouch?
The idea that Rebol has to be the same on all platforms is a little 
crippling as it means you only have the lowest common denominator
shadwolf
14-Feb-2010
[700x3]
i'm agreed that's a compromise to find betwin interesting unique 
feature and common features allowing your script to be ported
and all this in less than a mega where much of the actual other advanced 
script language  use mode than 20 Mo
rebol for itab that could be really fun ...
Graham
14-Feb-2010
[703x2]
for scripting purposes, having a script that works on all supported 
platforms is a reasonable aim.
I just don't see that it works for GUI based applications
If a particular linux distro doesn't support multitouch, what relevance 
is it to me working with Windows?
shadwolf
14-Feb-2010
[705x2]
if a distribution of linux doesn't support multi touch you still 
have the oportunity to port the needed modules  to make it feet your 
distro that's less problematic than windows for example
linux is the most configurable and modular OS existing ...
Graham
14-Feb-2010
[707]
Say you want to write a multiplatform gui app, well, then you make 
sure that what you do is supported.
shadwolf
14-Feb-2010
[708]
and that flexibility is a part of a problem for setting up a small 
all in 1 VM like rebol ...
Graham
14-Feb-2010
[709]
If you're not interested, you shouldn't be hindered by a philosophical 
view ( pun ) that everything should be the same.
shadwolf
14-Feb-2010
[710x4]
graham yeah but in fact most of the time when you write a software 
you make it first to feel your need or the need of your client ... 
then you don't think out of the box if that guy will be able to run 
your script on his I-phone with the same posibilities that you initially 
planned
graham it's less evident than that ... things that are supposed to 
works on the 3 main OSes only works properly under Windows XP ... 
(i think area-tc shown that the portabilities in draw area is far 
from perferct in R2 )
and once again i'm not saying that's not to be done ... i'm saying 
if we take in charge unic specs according to a given documentaton 
then you have to provide a clear information mecanism explaining 
to the user why the technologies involved in the script he wants 
to use is not supported on the plateform he is under if that's the 
case
no multitouch wit threading  ( you can't have several sources of 
 event and treat them at the same time without threading system)
Graham
14-Feb-2010
[714x2]
The OS detects the multitouch event and sends it View
I don't see why we need multithreading for that
shadwolf
14-Feb-2010
[716]
cause you need to clip the actions to the event you receive
Henrik
14-Feb-2010
[717]
next issue is storing the tab face in the window face... this is 
necessary to store a tab navigation frame per window. I wonder how 
this is going to be done...
BrianH
14-Feb-2010
[718]
I thought that the whole point of Carl's GUI was to allow app developers 
ignore all of the little details about how the app looks and acts 
at runtime and just focus on the semantics. Let the stylist worry 
about the appearance, and let the infrastructre people worry about 
whether the input came from multitouch, mouse and keyboard, whatever. 
Separation of form and function.
Henrik
14-Feb-2010
[719]
people are so used to R2 VID, that it's hard to get out of that thought 
process that the GUI must be completely hackable. :-)
BrianH
14-Feb-2010
[720]
And I think it should be, by the GUI hackers. But those hacks should 
be able to be used by others who don't want to have to worry about 
that stuff (like me).
Henrik
14-Feb-2010
[721]
The challenge is to provide a GUI that you don't need to hack to 
make it do what you want. We can go much further with that in R3 
than we ever would be able to with R2.
Graham
14-Feb-2010
[722]
The challenge is to make a GUI that ordinary users can hack :)
Robert
14-Feb-2010
[723]
I'm more with Henrik here.
BrianH
14-Feb-2010
[724]
No, the challenge is to make a GUI that ordinary users won't have 
to hack. Ordinary users are terrible at making GUIs, and their attemps 
to hack them look terrible.
Henrik
14-Feb-2010
[725]
worse is that when GUIs scale up, you really don't want to do hacks. 
you want faces to be churned out smoothly, like a  modern car factory.
AdrianS
14-Feb-2010
[726x2]
is stylus input being considered at all?
if not, can the design at least not make it diffucult to be added 
later?
Graham
14-Feb-2010
[728]
for handwriting?
AdrianS
14-Feb-2010
[729]
yes
Graham
14-Feb-2010
[730]
I wish ...
AdrianS
14-Feb-2010
[731]
I love my Tablet PC...
Graham
14-Feb-2010
[732]
I have a Dell XT2 tablet with multitouch ... so yes, I would want 
that as well
Henrik
15-Feb-2010
[733]
hmm... it seems that the on-key actor requires keyboard focus for 
the specific face before it works. I figure that the tab navigation 
stuff would fit nicely in the window's on-key actor, but the focus 
requirement is a problem. Ideas?
Graham
15-Feb-2010
[734]
So, what happens to the keyboard strokes??
Geomol
15-Feb-2010
[735]
I really like this line: 

he wants his last 15 years of life to mean something to more than 
himself"
I think of that every day."

Some ideas on focus:

- If REBOL should be feature rich, maybe concentrate on one platform 
reducing the work load.

- Make REBOL less feature rich, but make it work 100% the same on 
all platforms.

- Focus on defining the language, not on implementation. Like Kernighan 
and Ritchie defined C (and later ANSI C), Stroustrup defined C++, 
Meyer defined Eiffel, etc. Why don't we really see more implementation 
of REBOL? Because the language isn't well defined. Would it be ok 
to have it well defined and then see alternative implementations?