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

World: r3wp

[View] discuss view related issues

Anton
7-Nov-2006
[6063]
You could express everything that you want but do not have as something 
"taken away" from you. That's the "glass half-empty" way of looking 
at things. Are you a programmer or not ? If you want something, just 
make it !  If it's hard, work hard !  The whole art of programming 
is to make something previously difficult, easy.
Maxim
7-Nov-2006
[6064x2]
I don' t have the time to take a week getting my hands in MS window's 
dev stuff just to implement icon support. (for one platform)  That's 
one feature out of SOOOOOOO many.  I am happy if you have the time 
to implement such tricks.  But then only some of the hard core will 
benefit.. since OS-lib interface is not free!


We need a second, (and compatible) lower-level API  (like amiga has 
vanilla and direct).  then its just up to RT to provide a switch 
case of all supported features it can take from a host OS.  and let 
us pick out of that.


I use REBOL cause its more productive.  I want to stay in REBOL. 
 and I just wish VIEW where less limiting.
VIEW is the one deciding for me what is usefull or not... yes it 
takes a raw freedom away from me.  It is deciding in my place what 
events IT listens to.  There are ways for it to allow us to decide. 
 and this would allow us to take advantage of some OS features.


I remember reading a chat between Jaime and Carl where they where 
talking about OSX events and stuff...  basically they where looking 
at WHAT events to handle and in what apis... so what I (and sooo 
many others have asked) is possible.
Pekr
7-Nov-2006
[6066x2]
I agree with Maxim - I don't want Rebol to contain just and only 
features, available on all platforms ...
I know it can be problematic, I do remember some hot discussions 
with Holger about e.g. why some key events are not trapped by REBOL. 
What do we do, if e.g. Mac keyboard does not support Alt, or Win-Keys? 
:-)
Maxim
7-Nov-2006
[6068x4]
Holger was pretty anal about making REBOL the next christ... I love 
everyone... but we ended up with Rael.  ;-)
who loves everyone (with certain peculiar attributes l wont name 
here  ;-)
its funny, cause I have a list of rants I never send out about REBOL. 
 I just accumulated them and see how over the years... they are similar. 
 Things in REBOL have not changed a lot.  R3 is the first really 
profound change since v1.2 core.  and its very welcome IMHO.
(When I mean change, I mean for users... not internals which we don't 
really have to cope with)
Anton
7-Nov-2006
[6072]
Ah for heaven's sakes !  How can you see things that way ? You just 
want something badly and you can't get it easily. You are willing 
to erode the cross-platform nature of rebol, which would inevitably 
waste other people's time. Yes, it's a rant.
Rebolek
8-Nov-2006
[6073x2]
Is there some easy way to change font globally? Something like:
>> set-global-sans-font "Segoe UI" ;I need this function
>> desktop ;everything is in Segoe instead of Arial
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.