freenode/#clim - IRC Chatlog
Search
6:49:16
loke
beach: I've been experimenting with getting more than one window managed under a single event loop
6:51:28
loke
jackdaniel: Interesting. I didn't see that one before. It seems it's doing some of the things I figured out. Let me experiment some more.
6:56:34
loke
In my experiments, I've almost succeeded but there are some annoying beahviours that might turn out to be unsolvable.
7:12:50
loke
Main issue: When I resize the supplementary window, the main window _also_ resizes. But only when I make it bigger. Not smaller.
7:13:59
loke
The main thing that works is that I can add presentations to both windows, and select them from either frame.
7:14:52
loke
Yeah. You're right. So basically, this is a case of “it kinda sorta works, ship it!”. If people complain we just tell them to be happy we're not making their windows smaller
7:14:56
jackdaniel
that's good. in principle we would want to have it being a defaul behavior for frames started independently
7:16:29
loke
What I'm doing is basically making the supplementary windows part of the main application frame, just living in a separate window. Basically, pane-frame on a pane in a secondary windows returns the application frame (the other window). I guess that's why resizing behaves the way it does.
7:16:40
jackdaniel
but after initial prototype that would require a careful regression testing against multiple frames running at the same time. I can imagine bugs like having one push-button clicked trigger callback on another frame (and such)
7:17:11
loke
jackdaniel: Yeah. I'm thinking of starting to look at that instead of continuing down this path.
7:18:42
loke
there would need to be some communication between those threads... hmm... thinking out lout here. I guess I'll think about it for a while.
8:49:38
loke
jackdaniel: I've been thinking a bit more about it... If we want to be able to select presentations from windows that have their own toplevel-loops, what should happen if both windows are sitting in a read-gesture, looking for the same presentation type?
8:51:34
jackdaniel
also we have a ticket on a tracker - I think that at least partial answer is there
8:52:02
jackdaniel
I don't remember the number (nor exact name), so you need to look for it yourself
8:54:50
loke
pperhaps if other window's input contexts could be considered only if the local one doesn't match?
8:57:22
loke
I guess if there is more than one, clicking could pop up some question, askick to whom it should be sent
8:59:28
jackdaniel
my advice is still actual: look for the issue, if it doesn't answer all your question talk with some regular genera user (i.e you may mail lispm) of how this system behave on these situations