Sounds like a bug to me.

If you can create a simplified test-case, and log it in JIRA, we can probably track it down and fix it for you.

-- Noel Grandin

On 2012-03-13 16:21, Piotr Kołaczkowski wrote:
I understand it is tied to its owner's active state, and it is exactly
what I'm doing.
The parent of the palette *is* the main window - it is visible and active.

The window tree is like that:

main window
   |
   +--- palette 1
   +--- palette 2
   +--- some other frame

When I close the other frame, the palettes disappear. They are *not*
tied to the other frame.

Thanks,
Piotr


2012/3/13 Sandro Martini<[email protected]>:
Hi Piotr,
from what I can see on Palette:

A tool palette is an auxiliary window whose visibility is tied to its
owner's active state

so the behaviour you see should be right, at least if the owner you
close and reopen is that right :-) ...


Some more info: the related class is Palette under the package
org.apache.pivot.wtk, then there is the related skin class.

Under the Tests subproject you can find WindowTest, a runnable test
application using Palette, could help.


How to make them stay open whatever new window / frame / dialog gets open?
Have you tried using as parent your main window ? I'm not sure this
can works (could be by design), Greg can say more on this ... but you
can try and tell us as a starting point.


And another question - is there a simple way to make the palette title text use 
a different, bigger font?
I have to look inside, but could be a missing feature in its skin,
let's update on this.


Bye

Reply via email to