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

World: r3wp

[View] discuss view related issues

Rebolek
8-Nov-2006
[6074]
So here's Cyphre's sollution:

change-vid-font: func [font-name [string!]][

 system/standard/face/font/name: system/view/vid/vid-face/font/name: 
 font-name
	foreach [n f] system/view/vid/vid-styles [
		all [f/font f/font/name: font-name]
	]
]
Maxim
8-Nov-2006
[6075x3]
hehe Anton, I like heated discussion like this... it brings out the 
passion in each of us  :-)
there are two modes of development IMHO:


- making wonderfull scripts and tools for the whole words to use 
and enjoy, here yes multiplatform is cool and such tools will obviously 
only use the most available options... hey apple doesn't have alt-down... 
does that keep anyone here from providing extra functionality for 
it?


- having a client breath down you neck telling you that a specific 
feature is needed, and you replying that adding such a simple thing 
(in REBOL) will tripple the cost of the project, cause you will have 
to go out of the box and try to hack something in, in which case 
in REBOL, its worse/more buggy than implementing it in C directly.
I only wish, and I'm surprised you are not appreciative of, the fact 
of allowing REBOL view give me more of what its already doing.  it 
wont add anything substantial to interpreter in file size, wont remove 
any features, won't even affect current VID objects, as they already 
handle the most basic event types.  But at least, I will be able 
to cater more precisely to client's needs without it removing the 
core reason I would propose REBOL for a client in the first place... 
cause I can just do it.


an example, in many apps, having the middle mouse button would have 
been very usefull (especially in my field, where all computers have 
3 buttons), and sorry, but having to try and hack such a thing in? 
 I don't even know where to start, how do I then reverse hack such 
a thing so that it gets into view cleanly?  how will a word be assigned 
in the event/type correctly?  and then linux... my god, do I have 
to understand the whole X,  just to figure out how to add a middle 
 mouse buttons?
Rebolek
8-Nov-2006
[6078]
there's only one button on Mac mouse IIRC, so how is it that REBOL 
supports right mouse click?  :)
Maxim
8-Nov-2006
[6079x4]
I'm not asking RT to change anything, only prevent it from filtering 
out events , we really could use.  Especially when coding for clients 
and for which multiplatformness is Irrelevant.  I'd say that so far, 
business wise, its been about 90% don't care for my clients.  They 
use windows, or linux, or mac. but rarelly more than one!
hehe
I've been told that holding down the button triggers a right-click 
style event in macs, poping up a contextual menu, but I wonder if 
that is set to REBOL view as the alt-down?
there are three button mice, but they are seldom used by non-3d artists. 
 in 3d XYZ,  Scare RotateTranslate, camera Tilt -Orient-Pan  all 
map so cleanly to 3 buttons.
Henrik
8-Nov-2006
[6083]
rebolek, Macs support as many mouse buttons as your mouse can handle, 
but right click operations are the same as command-click operations. 
Perhaps that could be mapped to alt-down.
Geomol
9-Nov-2006
[6084]
If you use a mouse with more than one button on a Mac, you can check 
for it as in this example:

view layout [b: box "click" [b/text: "left" show b][b/text: "right" 
show b]]

There's a problem on Macs, if you only have one button, because event/control 
and event/shift isn't set, so you can't check for that in the engage 
function.
Maxim
9-Nov-2006
[6085]
eek... that's not sexy.
Geomol
9-Nov-2006
[6086]
Getting REBOL/View to the same level on all graphical platforms, 
that REBOL support, should be a bigger priority! I'm not eager to 
do a lot of View development with the current situation.
Pekr
9-Nov-2006
[6087]
I would suggest setting View+ channel. We should voice what do we 
regard being important. E.g. - does rebol app still crashes, when 
changing resolution? That is unacceptable. There should be much more 
precise layer, getting info from OS - e.g. i do normally work in 
2 monitor set-up. I would expect system/Screen-face to reflect that, 
containing measure for both displays etc.
Pekr
10-Nov-2006
[6088x5]
Hi, I just received reply from RT towards my following request:

----------

I have also suggestion towards View Desktop. IIRC there is also RAMBO 
entry about it - please, lower the timeout, because Desktop tries 
to connect to Internet by default, and if someone is behind the proxy, 
it is frustrating experience - you can't close blocked Rebol even 
by window close button. As for me, I would prefer not connecting 
by default, and changing "Local" to "Connect", "Disconnect" duo ...
--------------


On Viewtop, I agree.  Let's develop a good method for that, and put 
it in the
next release.


There are a few choices.  1) Shorter timeout, 2) popup request to 
connect,

3) connect on demand (after clicking on an icon that has no file).

Perhaps you know some users who have a suggestion?

-REBOL Support
Feedback is appreciated ...
as for desktop the best case would be to support proxy automatically, 
as planned for plug-in, but we don't know status of such a development. 
My opinion is not to connect to Internet by default, or just display 
dialog box asking, if we want to connect in the beginning?
also "local" does not work for me. I would change it to "Connect", 
"Disconnet", which is much more obvious for me ...
upon my request Carl extended latest Doc chapter regarding console 
about Rebol/Core mention, and auto-completion feature :-)
Henrik
10-Nov-2006
[6093]
the button should be more visible as well. New users won't notice 
it until after a while.
Pekr
10-Nov-2006
[6094x2]
yes, that is true ...
this is so important to Desktop, that it could be main menu option, 
or left panel icon?
Henrik
10-Nov-2006
[6096]
there should also be an option to let users double click rather than 
single click. I've encountered many users who doubleclick on items 
in the viewtop, starting programs twice.
Geomol
10-Nov-2006
[6097]
Yes, people are so used to double-click, that they've lost the understandig 
of the difference between single- and double-click. Is it the masses, 
that just don't get it, or is it the designers, who doesn't design 
the user interfaces good enough?
Maxim
10-Nov-2006
[6098x3]
AFAICT its MS who convinced the world.  MY desktop is single click.. 
and its obvious Window was not designed for this.
AFAICT Vista is much better in this regard.
btw, I have successfull had Carl add a nav bar at the bottom of the 
quickstart tutorial...  he will propagate it to the other pages as 
well...
Anton
10-Nov-2006
[6101x10]
My first double-click experience was on Macs (the original Macs, 
with a 400kb floppy)
I believe it was the Mac interface which influenced MS to most in 
this regard.
Anyway, the option single/double-click would be good.
Something like this would be good:
view layout [across space 0 b: box 80x24 leaf "offline" btn 70x24 
"Connect" [b/text: "online" show b face/text: "Disconnect" show face]]
or maybe this, so it fits nicely in the existing left pane.
view layout [space 0 b: box 100x24 leaf "offline" btn 100x24 "Connect" 
[b/text: "online" show b face/text: "Disconnect" show face]]
Pekr, what is the link to the Doc chapter that changed ?
Well, I guess I keep putting this one off. Today, I am going to see 
how LAYOUT works from the inside.
Well, it seems easy to patch layout. Just bind the body to system/view/vid
Anton
11-Nov-2006
[6111x2]
I am shocked how easy it is. I put this off for years for fear of 
complication.
I've always just inspected layout's body to figure out how it works.
Pekr
11-Nov-2006
[6113x2]
Anton - why? :-) The doc is new doc in the line of new docs - console 
:-) http://www.rebol.com/docs/quick-start4.html.... I just suggested 
point 6), that simply to get Console you can download /Core, and 
the docl also initially  missed one good feature - auto completion 
...
I really like how new docs are done - very good for real newcomers 
...
Anton
11-Nov-2006
[6115]
Thanks, just wanted to see.
Anton
12-Nov-2006
[6116x2]
I've pretty much finished commenting LAYOUT. (Of course there is 
always more that can be done to explain the workings of this high-use 
function, but 24 hours later......)
http://anton.wildit.net.au/rebol/doc/investigate-layout.r
If anyone has any questions about how LAYOUT works, now is a good 
time to ask me, because my head is full of it right now.
Henrik
14-Nov-2006
[6118]
is it possible to prevent the creation of the Public folder when 
running a rebol/view that isn't installed, but just run on a windows 
PC?
Pekr
14-Nov-2006
[6119x2]
I am not sure it is - well, it is - just don't run desktop!
run view.exe -i, to prevent install process ....
Henrik
14-Nov-2006
[6121]
well, I'm not. I'm running View from a dos script, using all the 
options to keep it as quiet as possible.
Pekr
14-Nov-2006
[6122]
just throwing ideas around, dunno if it really works ...
Henrik
14-Nov-2006
[6123]
using all that already, so...