I have an application that permits users to open multiple Windows within a Desktop. They may minimize any number of them and then Restore them all with a click of a button (or so I planned).
The problem is that when I call getWindows(), the collection returned contains duplicate entries (Windows) and is, in fact, only a subset of all Windows previously opened. That is, say I have 6 windows open and minimize them all. If I attempt to restore them, getWindows() returns an array of 6 Window objects but they are not all unique (do not map to the original 6). I may get windows with IDs [0,1,4,4,1,0] instead of [5, 3, 2, 4, 1, 0], for instance. Note the duplicate entries. --- Playground link here: http://preview.tinyurl.com/c3nmpvz 6 Windows should be open, each with a unique name. Usage: 1) Minimize all windows 2) Click the Restore button. 3) Note that not all 6 windows are restored. 4) Open the log. Note that there are duplicate window IDs in the log. Questions: 1) Is this behavior expected? 2) If so, how can I modify it so that a single click restores all windows? Thx. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
