Skip to content

The console window is not hidden under Windows 11 #19

Closed

Description

@petermost

If Sourcetrail is started via the Explorer/GUI (i.e. not from a console) then it tries to hide the console which Windows will create.
This stopped working with Windows 11. See these issues:

Further information: Windows Terminal is now the Default in Windows 11

Workaround: In Settings > Update & Security > For developers > Terminal: Change the setting from 'Let Windows decide' to 'Windows console host'

Activity

  1. added
    dependency problemThis issue is blocked by a missing dependency or an issue in a dependency
    on Sep 11, 2024
  2. niepiekm commented on Jul 23, 2025

    @niepiekm

    I second that, unchecking Preferences > Output > "Enable console and file logging" only disables the log output, the windows remains open. :(

  3. added
    workaroundThe comments contain a workaround for the described issue
    on Nov 8, 2025
  4. petermost commented on Jun 12, 2026

    @petermost
    OwnerAuthor

    Fixed with commits 2c71eb4, 089f565

    Sourcetrail is now a Windows GUI application, which means that Windows will not open a console window and the behaviour is now the same for Linux and Windows:

    • Start from file manager: No console with log messages
    • Start from console and logging disabled: No log messages
    • Start from console and logging enabled: Log messages

    Summary: To get console log messages, Sourcetrail must be started from within a console and logging must be enabled.

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

    dependency problemThis issue is blocked by a missing dependency or an issue in a dependencyworkaroundThe comments contain a workaround for the described issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions