0

Window Overlapped

asked 2005-11-28 06:02:33 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3446938

By: nobody

There is one issue with overlapping windows. When the user clicks on a window and moves around, the window does not come in the front of other overlapped windows. One would expect the currently moving window to come above all other windows.

Also, there is no API method to control the Z-value of overlapped windows. Perhaps this should be added.

delete flag offensive retag edit

20 Replies

Sort by ยป oldest newest

answered 2005-11-28 09:35:57 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3447152

By: nobody

Well overlapped window does have a good use when we are trying to simulate a MDI like application. In my ZK app, it serves a critical function.

link publish delete flag offensive edit

answered 2005-12-09 13:23:04 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3467584

By: nobody

This should be a fairly simple fix. The Z-index of the active window should be the max out of all open overlapped windows. Hope to see this fix in the next build!

link publish delete flag offensive edit

answered 2005-12-10 03:47:28 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468600

By: nobody

I am also having trouble trying to fix the caption of the window. In a overlapped window generated by java code, the caption does not seem to behave properly.
The X value of the children of the caption does not change, only the Y value changes.

You can see what I mean at:
http://apps.yomari.net/webdb/

The source is at:
http://apps.yomari.net/webdb/webdb.src.zip

What might have caused this behaviour? It appears to work fine with direct ZUL page. Something seem to be broken inbetween. I am using the latest build of ZK.

link publish delete flag offensive edit

answered 2005-12-10 05:16:03 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468642

By: tomyeh

OK, I'll fix it.

link publish delete flag offensive edit

answered 2005-12-10 05:59:11 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468658

By: tomyeh

It is an interesting app.

How did you set the position of caption?

I saw you created components manually. You might consider to use the template approach.

1. Create a ZUL file for each portion of you window.
2. use Executions.create to create components from the file you prepared.

link publish delete flag offensive edit

answered 2005-12-10 07:54:18 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468705

By: nobody

For caption, all I want is the window decoration to move with the window. The width of the window goes to the right end instead of containing within the window boundary. Try to move around the window and see. By default, the window should have the width automatically maintained as expected.

I am expecting my app to get quite sophisticated and I would rather want everything inside Java with full access to IDE tools like refactor and intellisense etc.
>From my experience, with ZUL templates without tool support, it is
>slower to
develop application than pure Java.

I'll release the source code of my app as it grows.

link publish delete flag offensive edit

answered 2005-12-10 09:14:14 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468738

By: nobody

Note that setting the window width solves this problem. However, even when width is set to null, it should have behaved naturally.

link publish delete flag offensive edit

answered 2005-12-12 16:23:13 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3471339

By: tomyeh

Well, it depends on the behavior of the browser. We have to intend to make an assumption about this (not setting width).

link publish delete flag offensive edit

answered 2005-12-13 07:29:58 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3472807

By: nobody

I guess you understood the "problem" that I had with the width right? When the window is dragged around, the width does change but the right side remains fixed at the right most corner of the browser. I am sure this is not something that was expected. This problem only happened to me when I added controls to the caption of the window. If they are not added to the caption, the window behaves as normally expected.

link publish delete flag offensive edit

answered 2005-12-14 07:36:54 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3474861

By: tomyeh

Welcome to the dark side of browsers.

According to my experiences, it is better to set the width. Otherwise, the layout is somehow unpreditable (IE and FF has different interpretation).

If the layout is complex, setting width to 100% is not good idea since FF sometimes won't shrink control back when you resize the browser. Use 99% or less works fine!


link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2005-11-28 06:02:33 +0800

Seen: 961 times

Last updated: May 11 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More