Skip to content

High CPU usage from "GTK Theme Detec" thread when running in WSL VM (PR included) #52

@guillaume154a

Description

@guillaume154a

Greeting,

When running a Java application that uses jSystemThemeDetector, we notice an unsually high CPU usage from the "GTK Theme Detec" thread that is part of GnomeThemeDetector.

This occurs within a Ubuntu VM runnings with Windows Subsystem for Linux (WSL).

Image

Debugging shows that the thread tries running a gsettings command since that command is available. The command exit immediately, but the thread keeps running in a (very) busy loop.

I'll submit a PR to fix this shortly.

Regards,

Guillaume

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions