Scott Moreau wrote:
Note to Bill Spitzac: I find your posts to be often frivolous and
incoherent. I don't mean to be rude here but I have tried to consider
many of your points and you often go on long tangents about some
problem that doesn't exist in reality or a highly isolated use case.
Many times I see your postings as a frivolous spec in a ml paragraph
of how you think something should work. My point here is, if you want
something to work a certain way, then write the code. This way, people
can review and comment on your code (not your random comments) or you
can just use it for yourself. I would like to ask that if you do
respond, please put in the time and effort to make your thoughts
coherent and in the scope of the wayland reference compositor.
I have gotten zero feedback (not even somebody saying "this is
incorrect") for any patches I have submitted so far. I have to say this
is a little discouraging.
I agree my posts tend to specify an implementation rather than the
desired results, though it would seem that source code is going even
further in that direction.
I can try some pictures to show what I think the minimize must be able
to support:
#1:
+--------+
| |
| MAIN1 |---------+
| | |
| +--------+ |
| | DIALOG | |
| +--------+ |
+--------+ MAIN 2 |
+----------+
After "minimize" of MAIN1, this is the desired result:
#2:
+----------+
| |
+--------+ |
| DIALOG | |
+--------+ |
| MAIN 2 |
+----------+
After "minimize" of MAIN 2 this is the desired result:
#3:
<blank>
The API must be designed so that no composite other than the initial and
final is ever produced, even for a split second, for each of these
transitions. By "other composite" I mean any different stacking order or
any where the set of visibility of surfaces is different.
For instance if minimize hid the dialog but the client could put it
back, this would make the transition from #1 to #2 have an intermediate
composite where MAIN 2 was visible but not the dialog.
If the compositor did not hide the dialog but the client did it in
response to the minimize, then the transition from #2 to #3 would result
in an intermediate display where only the dialog is visible.
I believe the only solution is for the compostior to send
minimize-request to the client, and the client then has to minimize the
window (and the dialog if it wants) and then to a commit to make it
atomic. However I agree that trying to specify a solution would be
better with source code.
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel