pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Brown (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIVOT-418) Multiple host windows
Date Sun, 06 Jun 2010 17:58:53 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876065#action_12876065

Greg Brown commented on PIVOT-418:

> In some frameworks, if you specify a dialog window with a parent of another window, they
> min/max'd together and are not constrained as you described

That is also how Pivot windows behave. However, all Pivot windows live within the Pivot "display",
which is itself entirely contained within a single native frame or applet (specifically, it
lives in a "display host" which is a child of the native window). That's why Pivot windows
appear to be constrained to the client area of the native window. This is by design - it gives
Pivot complete control over the appearance of all UI elements including the window and its
associated trim, and allows us to create a user experience that otherwise would not be possible
(for example, "sheet" windows are supported on OS X but not on other platforms). Windows in
other RIA frameworks behave similarly.

However, there may be times when opening multiple native frame windows in a Pivot application
is desirable. Currently, this is possible but not easy. The solution proposed in this ticket
would simplify the process by allowing an application to create multiple displays, each of
which would be contained in its own display host and native frame.

That said, this is actually considered to be something of an edge case. Generally, when a
Pivot application requires a dialog or an alert, the recommended practice is to use a sheet
or a prompt instead. Sheets are attached to the top of the owner window and can't be moved
by the user. As a result, they can't be dragged "off screen" like a frame can. Perhaps this
approach would work for your application?

> Multiple host windows
> ---------------------
>                 Key: PIVOT-418
>                 URL: https://issues.apache.org/jira/browse/PIVOT-418
>             Project: Pivot
>          Issue Type: New Feature
>            Reporter: Mathias Versichele
>            Assignee: Greg Brown
>             Fix For: 1.6
> Until now, all Pivot windows run within a single native host window (which can hold child
windows). Some applications could, however, benefit greatly from the possibility of having
multiple host windows ('parent windows'). For example, one could then use the possibility
to use different monitors for each host window in a multi-monitor setup (e.g. one window 1
one monitor 1 for basic tasks, and window 2 on monitor 2 for heavy-duty 3d rendering).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message