Skip to content

feat: improve connections status bar info - #8690

Merged
nbolton merged 1 commit into
masterfrom
feat_better_connection_status
Jun 16, 2025
Merged

feat: improve connections status bar info#8690
nbolton merged 1 commit into
masterfrom
feat_better_connection_status

Conversation

@sithlord48

@sithlord48 sithlord48 commented Jun 15, 2025

Copy link
Copy Markdown
Member

fixes: #8688

Modify the status area to show different message on connections

ServerConnection Changes:

  • Added new Q_EMIT to ServerConnection::clientsChanged (QStringList)
  • Replace QStringList m_receivedClients => QSet<QString> m_connectedClients (set items are unique)

MainWindows Changes:

Clients will show
Deskflow is connected as client of <serverName>

Servers will show a few things depends on the number of clients
No clients: Deskflow is waiting for clients
1 Client: Deskflow is connected to a client: <clientName> 2-4 Clients: Deskflow is connected N clients: , , ,
5+ Clients: Deskflow is connected to N clients

If any more then one client is connected the client list is set to the status bars tooltip in a message like

Clients:
  ClientA
  ClientB
  ClientC
....

Can be tested from the artifacts from the Ci job : https://github.com/deskflow/deskflow/actions/runs/15663414272

@sithlord48
sithlord48 force-pushed the feat_better_connection_status branch from 7ed1636 to 90d3b55 Compare June 15, 2025 12:49
@sithlord48
sithlord48 marked this pull request as ready for review June 15, 2025 12:54
@sithlord48
sithlord48 requested a review from nbolton June 15, 2025 12:54
@nbolton
nbolton force-pushed the feat_better_connection_status branch from 90d3b55 to f6fc60d Compare June 16, 2025 09:17
@nbolton
nbolton enabled auto-merge (rebase) June 16, 2025 09:23
@nbolton
nbolton merged commit a73e8df into master Jun 16, 2025
@nbolton
nbolton deleted the feat_better_connection_status branch June 16, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show device connection status in configuration window

2 participants