0

message box

asked 2006-03-17 10:14:20 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: nobody

why message box is to slow in the demo ?

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2006-03-17 14:36:32 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: tomyeh

Slow? Is it particular to messsage boxes? Or, slow overall? Where did you connect from? Any one else experienced similarly?

link publish delete flag offensive edit

answered 2006-03-17 14:46:39 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: matteo_barbieri

In fact message box are quite slow even on my server.
I think it's caused by its implementation.
I don't use them but it seems that they are quite similar to a popup window.
So maybe it's slow because of the other sections of the screen that gets darker when a messagebox is displayed.

I'm using Firefox, don't know what happens with IE.

link publish delete flag offensive edit

answered 2006-03-17 15:08:58 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: tomyeh

A modal dialog (a message box is one of them) has to disable all possible buttons and hyperlink. Otherwise, user still can press TAB to move control over it (even we use a transparent div to prevent from clicking). And, you know, JavaScript is slow - another reason to use ZK :)

However, in my notebook (2GHz), it takes less a second to display (around 0.8 I guess). It is slower if there are more controls. Maybe we shall investigate a way to speed it up.

link publish delete flag offensive edit

answered 2006-03-17 15:19:13 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: tomyeh

I changed the order of codes to make the dialog appear as soon as possible.
It behaves more responsive. Wait for my next release and give me your feedback
;)

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: 2006-03-17 10:14:20 +0800

Seen: 665 times

Last updated: Mar 17 '06

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