Skip to content

Problem with User Desktop taskbar and closing last form #835

Closed

Description

@itg-assistant

Robin Lao asked 2017-05-13 16:38:33 UTC

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

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    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>
  2. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 12, 2026
  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Robin Lao answered 2017-05-13 22:02:31 UTC

    Great. I’ll try it out. Thanks for the fast response!
    Robin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions