Problem with User Desktop taskbar and closing last form

0
0

Hi,

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.

See attached screen.

Thanks,
Robin

 

Attachment
  • You must to post comments
0
0

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 <head>. 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>

  • Robin Lao
    Great. I’ll try it out. Thanks for the fast response! Robin
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.