Wt:::WPopupWidget setTransient() not working correct.
we try to implement a WPopupWidget-Stack where the previous opened WPopupWidgets stay visible. Therefore we try to use setTransient(false,0) for the top of the stack, before we push the new opened WPopupWidget. But setTransient only works the first time correct. We cannot override.
Please see our example.
Updated by Koen Deforche over 10 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
- Target version set to 3.3.1
Yes indeed changes to 'transient' aren't being propagated --- what is the use case for this (what will be in the popup widgets) if I may ask?
Updated by Georg Baumann over 10 years ago
we open one popupwidget which shows results (product, price, etc.) of a productsearch. Transient is set true for this popupwidget. If an user klicks an article we open a second popupwidget which is again transient = true. This popupwidget shows further informations for that product. If we klick somewhere in the second popupwidget then the first closes. We do not want the first to close, so we tried to use setTransient(...) to tell the first popupwidget to be transient = false until the second popupwidget is removed from the stack. Then we want to tell the first popupwidget to be transient = true againt.