Skip to content

--connect doesn't load ini before connecting, causing missing pan controls #3732

@seanogdelaney

Description

@seanogdelaney

The --connect command line option causes server connection to occur before the ini file is processed. I think that's unintended.

In main.cpp: Jamulus constructs CClient with strConnOnStartupAddress before it constructs CClientSettings, calls Settings.Load(...), and attaches settings with Client.SetSettings(...). The same block then constructs CClientDlg later for the GUI path.

I noticed pan controls missing in my GUI after using --connect. If I disconnect and reconnect using the GUI, the pan controls reappear. I think the ordering above is the reason.

I think issue #555 is also related to startup ordering but doesn't mention this specific problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions