# Log window cannot be hidden in enviroments with no windows manager

**URL:** <https://discourse.slicer.org/t/log-window-cannot-be-hidden-in-enviroments-with-no-windows-manager/29633>\
**Category:** Development\
**Created:** [May 24, 2023, 4:29pm UTC](https://discourse.slicer.org/t/log-window-cannot-be-hidden-in-enviroments-with-no-windows-manager/29633 "2023-05-24T16:29:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davide\_Punzo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/davide_punzo/32/66104_2.png) [@Davide\_Punzo](https://discourse.slicer.org/u/Davide_Punzo)\
**Post date:** [May 24, 2023, 4:29pm UTC](https://discourse.slicer.org/t/log-window-cannot-be-hidden-in-enviroments-with-no-windows-manager/29633/1 "2023-05-24T16:29:12Z")

</div>

Hi all,

the log messages widget is a separate window respect the main one of 3DSlicer.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/1/0198d01ce766d2ec5c9cc331bbfda9b97ea7cf1b.png)

This is not optimal when Slicer is in an enviroment with no windows manager (e.g. Slicer running in a docker with vnc). For example, once the “show log” button in the bottom-right corner is clicked, it is not possible to hide the application log window anymore. Also it can’t be moved etc…

It would be great if this can be changed in Slicer core.

The idea would be to make the logging window a dockable widget (and make the show button toggle) - exactly the same way as the Python console.

Before doing it and opening a PR, I would like to hear your feedback.

Davide.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [May 24, 2023, 5:10pm UTC](https://discourse.slicer.org/t/log-window-cannot-be-hidden-in-enviroments-with-no-windows-manager/29633/2 "2023-05-24T17:10:57Z")

</div>

Sounds reasonable to me.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [May 24, 2023, 5:38pm UTC](https://discourse.slicer.org/t/log-window-cannot-be-hidden-in-enviroments-with-no-windows-manager/29633/3 "2023-05-24T17:38:03Z")

</div>

In general, the issue affects non-modal windows like the application log window, but not other modal windows like the Add Data Dialog?

---

<div class="post-metadata">

**Author:** ![Davide\_Punzo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/davide_punzo/32/66104_2.png) [@Davide\_Punzo](https://discourse.slicer.org/u/Davide_Punzo)\
**Post date:** [May 25, 2023, 8:05am UTC](https://discourse.slicer.org/t/log-window-cannot-be-hidden-in-enviroments-with-no-windows-manager/29633/4 "2023-05-25T08:05:27Z")

</div>

While the issue is present for every separate window/dialog, the most incovenient is just the application log window. Dialogs have always a “close” button inside the window (ok, load, etc…) and generally the user does not need to move the dialog window, since it is a prompt to the user for an immediate action to do.
