World: r3wp
[View] discuss view related issues
older newer | first last |
Maxim 17-May-2009 [8816] | it within (part of) the glayout library |
Graham 17-May-2009 [8817] | Is it like Romano's and Jeff's object browsers ? |
Maxim 17-May-2009 [8818x4] | something similar, but much easier to browse... less features than romano's though. |
the rebol.org demo app has a button which allows you to use it. | |
wrt rebgui, it could be problematic, cause I think regbui also replaces the wake event, which will create intereference with glayout, but for this specific use... they could very well co-exist. if you open the glayout first, and let rebgui do its own patching after. | |
many features could be added to it, but for what I use it for, its already very usefull... its only bug is that is seems to have trouble with unset! values... but I could probably fix that now that I have more understanding of a lot of rebol's more complex issues. | |
Henrik 20-May-2009 [8822x2] | anyone remember how to make cornered buttons like the tabs in IOS? |
I think I got it. | |
Dockimbel 20-May-2009 [8824] | face/edge/effect: 'rounded ? |
Henrik 20-May-2009 [8825x3] | no such thing. it's in the effect block for face rather than edge. |
it's behaving rather strange though... not at all like it should from the docs. | |
actually it does, but it doesn't work very well. not like I intended. I'll draw some bitmaps instead... | |
Dockimbel 20-May-2009 [8828] | I often use images with rounded corners and the EXTEND effect to achieve that. |
Henrik 20-May-2009 [8829] | I was just looking for that one. :-) Thanks. |
Maxim 21-May-2009 [8830x5] | can anyone confirm to me that the modal window system in view 2.7.6 is broken? view layout [button "inform" [inform layout [button "ok"]]] closes the dialog whenever you touch it... even when clicking on background? |
glayout has its own popup system, so I didn't notice this earlier, but i'm using VID for another project.... I've tried a lot of things, but nothing seems to work... I don't want to have to path VID internals again... | |
path=patch | |
show-popup is reacting even more violently... closing all my windows in my app... just by touching the popup :-( | |
seems I can use my glayout version of show-popup hide-popup in VID directly , and that works flawlessly in a few tests.... even fixing the inform call indirectly. | |
Graham 21-May-2009 [8835x3] | try this view layout [button "inform" [inform layout [button "ok" [] ] ]] |
Looks like a bug. | |
Unless you assume that any popup must have an active button. | |
Maxim 21-May-2009 [8838x4] | but my dialogs don't have a close button in the main pane of the layout (using faces with nested panes). :-( |
I've been looking into this and remembered the source of my fix... I don't use the VID popup-feels in glayout, cause its wake event is smart enough to handle things properly. | |
VID sets the window feel to one of many different feels... :-( so I've got to patch VID again ) | |
arrgh. | |
Henrik 21-May-2009 [8842] | you must use hide-popup to close an inform. |
Gabriele 21-May-2009 [8843] | Max, that's intentional. by default, there needs to be a way to get rid of the modal popup. if you don't provide any, the system will get rid of it on click. do you have an example where you want a modal popup (blocking your app) with no clickable face in it? |
Maxim 21-May-2009 [8844x3] | I did a full analysis of the problem (again, since I had done so with glayout a looooonng time ago) and there is no simple ways to handle the issue with the current view setup. |
part of the problem is that closing the window via the title bar doesn't propely call hide-popup. | |
so I built a new pair of funcs and do the event blocking for non pop ups in my event-handler. | |
Henrik 21-May-2009 [8847] | I don't have a PC keyboard, but does View support overwrite/insert switcing? |
Maxim 21-May-2009 [8848] | not AFAIK, but using windows api, you surely can. |
Henrik 21-May-2009 [8849] | hmm... I thought it was a matter of doing some changes in CTX-TEXT. but if I get this right, it won't matter. |
RobertS 22-May-2009 [8850] | . |
Gabriele 23-May-2009 [8851] | Max, how much time ago did you do your "analysis"? The modal system was rewritten almost from scratch in view 1.3. Did you post the bugs you had found? |
Maxim 23-May-2009 [8852x2] | a long time ago. the problems where that it was missing some things like opt support in show-popup and some other thing. and the show-popup selection of feels didn't make it very predictable. with my custom wake-event/window-feel pair, it just went haywire. so I rewrote both so that they would work better within glayout's revised management of view layer. for example in glayout... the view function has a /modal and a /center refinements... these make many things much simpler to use... I rarely use show-popup within the app, cause the glayout's view command supports it directly. |
(modality that is.) | |
Graham 23-May-2009 [8854] | Is Cyphre's gui console source around anywhere? |
Pekr 23-May-2009 [8855] | start a desktop, go to Sites/Cyphre ... there is vconsole script ... |
Graham 23-May-2009 [8856] | ahh.. simple |
Maxim 23-May-2009 [8857] | anyone know a way to trigger event code at a rate faster than 15 times a second within a view wait?... the view rate is REALLY imprecise and doesn't go above 15 ticks a second in my tests. strangely this has nothing to do with possible refresh rate which can bo well beyond 15 frames a second. |
Steeve 24-May-2009 [8858] | What do you try to do ? An animation ? |
Maxim 24-May-2009 [8859x4] | that and / or better interactive feedback when the refresh can support it. |
right now I'm testing a forever loop ... | |
but if there is something builtin that can precisely trigger precisely the rate we ask it, I'd prefer to go with that. | |
right now asking for a rate is always about 66-75% off, even using wait 1 / 30 or 1/100 will consistently be off by a window of 66% to 75% | |
Steeve 24-May-2009 [8863x2] | there is not to my mind. |
i have this limit too in some scripts | |
Maxim 24-May-2009 [8865] | its funny cause if I do a timed wait 0, I go up to over 100000 iterations a second. |
older newer | first last |