Skip to content

Connect button in connect dialogue doesn't connect to the expected server #3857

Description

@dingodoppelt

Describe the bug

In the connect dialogue we can connect to a server either by double clicking or single clicking and hitting the connect button.
When there is a custom server address in the combo box the connect button will only connect to that server, it if was either changed or the combo box hasn't lost focus (the user didn't click anywhere).

To Reproduce

  1. Open connect dialogue
  2. Have a server address in the combo box
  3. Single-Click on any server in the serverlist
  4. Single-Click on the combo box and notice that it has focus again
  5. Hit the connect button
  6. Find yourself on the server you clicked in the serverlist instead of the one from the combo box

Expected behavior

Giving focus to the combo box should make the connect button connect to that combo box item as it corresponds to the last selected item that the user probably set on purpose.

Operating system
All

Version of Jamulus
All

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions