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

World: r3wp

[!REBOL3-OLD1]

Gabriele
25-Jul-2007
[3729]
ie. i can make a "screen" panel style and a window style.
Pekr
25-Jul-2007
[3730x2]
yes, that is what I meant .....
it would help plug-in at least ....
Gabriele
25-Jul-2007
[3732]
i think that in the case of plugin it's the host code that has to 
handle this. you should not have to change your app to work in the 
plugin.
Geomol
25-Jul-2007
[3733]
Gabriele, do you (or other in the R3 dev team) know about GLUT? It 
may be a fast way for you to have e.g. key-up events on all platforms.
Gabriele
25-Jul-2007
[3734x2]
(although, of course, the environment is so different that the app 
may need to handle it as a special case.)
geomol, i'm sure cyphre knows about it, but i don't think we're going 
to explore that anytime soon. we have key-up for control, shift, 
and so on already.
Pekr
25-Jul-2007
[3736]
ctrl tab  supported? :-)
Geomol
25-Jul-2007
[3737]
ok, I was thinking, it might be a shortcut to many wanted features, 
until the final code is found for the different platforms.
Gabriele
25-Jul-2007
[3738]
i haven't tried ctrl tab
Pekr
25-Jul-2007
[3739]
it was not trappable in R2 iirc ....
Gabriele
25-Jul-2007
[3740]
yes, i get event/key: #"^-" and event/flags: [control]
Pekr
25-Jul-2007
[3741]
Gabriele - re plug-in - it is different kind of app. But I would 
hate any single window to pop-up, even for simple dialog. And I mean 
to that extent, that I would ban such app, or it would be blocked 
by some add-block kind of extension anyway.
Gabriele
25-Jul-2007
[3742]
(i'm on wine though.)
Pekr
25-Jul-2007
[3743]
ok, that is good to hear, ctrl tab is used for switching between 
tab in tab style ...
Gabriele
25-Jul-2007
[3744]
petr, i think the plugin host should never open new windows, but 
that depends on the plugin developer.
Pekr
25-Jul-2007
[3745]
ok, but if you think about your app, you need dialog box, right? 
And what did currently R2 plug-in did? It popped-up in front of your 
browser ... that is not good. So to avoid this, you need something 
like windowing styles directly in VID level ....
Gabriele
25-Jul-2007
[3746]
no, you need the plugin to open its windows inside the window it 
has available.
Pekr
25-Jul-2007
[3747]
But you are right that it can be solved by creating such styles ...... 
have you seen portals? Big ones? E.g. websphere? User has one website, 
and it has kind of small windows (javascript probably), which can 
be moved, resized, maximised, minimised ....
Gabriele
25-Jul-2007
[3748x3]
VID does not even need to know about it.
r2 plugin is just wrapper around view.
back later...
Pekr
25-Jul-2007
[3751]
it is not clear to me what you mean. How can you open one window 
inside another one, not being a different window in the same time?
Henrik
25-Jul-2007
[3752]
oh, well, next time i'll forbid people from posting screenshots. 
:-)

 <-- OK, that's it, I won't say anymore about R3 until after beta 
 :-)
Anton
25-Jul-2007
[3753]
Pekr, in the plugin, you specify an initial window which appears 
in the browser. You are not allowed to open new OS-level windows, 
therefore if you want to open new windows they must be VID-level 
windows. How do you do that ? You add faces to the first face's PANE, 
 start calling them "windows", and use code such as Cyphre's SWIS 
system to implement it. Simple as that.
Gabriele
25-Jul-2007
[3754x3]
Petr, Windows allows having windows inside windows. but even if it 
did not, the host code can easily emulate them using the same code 
that handles gobs and so on (that is, no extra code to write).
i don't think, users should have to switch between using view many 
times or one view and adding window faces to the pane. the host code 
can do this easily enough: the screen-gob isn't the screen anymore, 
but it becomes the plugin window, and the "window gobs" you add there 
create virtual windows inside that.
Henrik, it's ok to talk imho, it's just funny to see people start 
complaining before we even show anything. :)
Henrik
25-Jul-2007
[3757]
Gabriele, I understand the fear completely and it can be a little 
frustrating to be kept in the dark for a little while longer. :-)
Pekr
25-Jul-2007
[3758]
Anton - that is exactly what I am saying - VID level windowing. But 
what Gabriele suggests sounds like something else.
Geomol
29-Jul-2007
[3759]
Does SWITCH need a /case refinement like we have in FIND and SELECT?
Pekr
29-Jul-2007
[3760]
Gabriele - has anyone tried new View on multi-monitor display? It 
is imo good to keep that in mind, as R2 was not much friendly here 
....
Gregg
29-Jul-2007
[3761]
Under R2 it would just need to propagate the refinement to SELECT 
(which is a bit of a pain of course). Worth asking for R3 though.
btiffin
29-Jul-2007
[3762]
John;  I'd vote yes for a case sensitive refinement for switch.
Pekr
30-Jul-2007
[3763]
... as for multiple screen, my experience is as follows. Under Windows, 
multimonitor set-up is an ilusion. You can find it out, once you 
use e.g. VNC and connect to such a remote desktop - you can easily 
see one big screen. The interesting part is - even if one of your 
displays is moved 90%, it is still one big box of x*y size.


So, in regards to REBOL, I think it would be vital to being able 
to identify multi-monitor set-up, and not one big screen face. My 
expectation is to have screen-face having two (or more, according 
to active monitors) or more subfaces - desktop windows ....


It would be good to get correct behavior in that regard from the 
very beginning ....
Geomol
30-Jul-2007
[3764]
Sound like a complicated thing to support on all platforms.
Pekr
30-Jul-2007
[3765x2]
hmm ... maybe we should at least have some strategy. Simply we should 
be prepared that screen-face is not screen face, but kind of desktop-face 
.... it should be indexed [1 [screen here] 2 [screen here]], it would 
be on pair with how driver identifies primary and secondary monitors. 
Not sure all drivers do it the same though, I mostly use nVidias 
.....
so my suggestion is, that screen-face should be a holding block, 
container, not face itself ...
Gabriele
30-Jul-2007
[3767x2]
Petr, I have two monitors here, one 1600x1050 and one 1280x1024. 
screen-gob size only reports the first, but I hope we can add support 
for things like these soon enough (not for beta).
about it being i single big box - it is so on linux too, and i'd 
assume it would be so in all OSes that have legacy to maintain, but 
it depends on the desktop mode too.
Pekr
30-Jul-2007
[3769x2]
hmm, if you have two monitors, maybe you could try "a trick" :-) 
try to place your window "off-screen" and watch, if it appears on 
secondary monitor? :-)
btw - will there be release this week, or is it going to be postponed?
Gabriele
30-Jul-2007
[3771x2]
petr, is ok if screen gob is just one when it is one for the OS too, 
we just need some way to know the size of the monitors.
yes, i can move windows around the two monitors. i have this altme 
window in one monitor and other two on the other monitor.
Pekr
30-Jul-2007
[3773]
... and if so, could we at least get some preliminary (one week before 
release) access to docs, to read some things and being prepared to 
jump on R3 more quickly?
Gabriele
30-Jul-2007
[3774x2]
i can have windows "in between" and so on. it's just one big framebuffer. 
if i do a screeshot, i get a big 3000x1000 image.
access to docs.... i can ask Carl...
Pekr
30-Jul-2007
[3776]
really? (re screenshot) ... moving windows by accelerator keys was 
fine. I think that we will need to map win32 api, which will tell 
us about particular monitor set-ups ...
btiffin
30-Jul-2007
[3777]
Add a meetoo for access to docs, even if it's a subset.
Gabriele
30-Jul-2007
[3778]
this is how linux sees my display: