You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Problem with User Desktop taskbar and closing last form #835
When the last form on task bar in the user desktop is closed any subsequent forms opened do not display in the task bar. Tested with the 'UserDesktop' Example.
Unfortunately you are correct. Thanks. Use this quick patch please. You can add it to Default.html or into a js file and add the file to a <script> tag in . This will be fixed quickly.
<script>
Wisej.onLoad = function () {
qx.Mixin.define("wisej.web.desktop.TaskBarPatch", {
members: {
// hides the taskbar when there are no visible children: task bar items.
_updateTaskBarVisibility: function () {
var anyVisible = false;
var items = this.getChildren();
for (var i = 0; i < items.length; i++) {
var item = items[i];
var window = item.window;
if (window && window.isVisible() && window.getShowInTaskbar()) {
anyVisible = true;
break;
}
}
if (anyVisible)
this.show();
else if (this.isAutoHide())
this.exclude();
},
}
});
qx.Class.patch(wisej.web.desktop.TaskBar, wisej.web.desktop.TaskBarPatch);
}
</script>
Activity
itg-assistant commentedon Jun 12, 2026
Luca answered 2017-05-13 17:14:21 UTC
Unfortunately you are correct. Thanks. Use this quick patch please. You can add it to Default.html or into a js file and add the file to a <script> tag in . This will be fixed quickly.
<script> Wisej.onLoad = function () { qx.Mixin.define("wisej.web.desktop.TaskBarPatch", { members: { // hides the taskbar when there are no visible children: task bar items. _updateTaskBarVisibility: function () { var anyVisible = false; var items = this.getChildren(); for (var i = 0; i < items.length; i++) { var item = items[i]; var window = item.window; if (window && window.isVisible() && window.getShowInTaskbar()) { anyVisible = true; break; } } if (anyVisible) this.show(); else if (this.isAutoHide()) this.exclude(); }, } }); qx.Class.patch(wisej.web.desktop.TaskBar, wisej.web.desktop.TaskBarPatch); } </script>itg-assistant commentedon Jun 12, 2026
Robin Lao answered 2017-05-13 22:02:31 UTC
Great. I’ll try it out. Thanks for the fast response!
Robin