Skip to content

feat: Add switchToNextScreen hotkey to cycle through computers - #8904

Merged
sithlord48 merged 2 commits into
deskflow:masterfrom
KrisEnigma:master
Sep 1, 2025
Merged

feat: Add switchToNextScreen hotkey to cycle through computers#8904
sithlord48 merged 2 commits into
deskflow:masterfrom
KrisEnigma:master

Conversation

@KrisEnigma

@KrisEnigma KrisEnigma commented Aug 29, 2025

Copy link
Copy Markdown
  • Add switchToNextScreen action type and GUI option
  • Implement server-side screen cycling logic
  • Update configuration parsing for new action
  • Fix Action::text() method indexing bug
  • Update copyright headers for 2025

This implements GitHub issue #8006 - a hotkey to cycle through
connected computers in the Deskflow network.

Closes #8006

@sithlord48 sithlord48 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks ok need to split your fix into its own commit.

Comment thread src/lib/gui/Action.cpp
@KrisEnigma
KrisEnigma requested a review from sithlord48 August 29, 2025 05:29
@nbolton
nbolton self-requested a review August 29, 2025 09:03

@sithlord48 sithlord48 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some things:

You should start the commits message with fix: and feat: (must be lowercase and have the :)

The commits here are not in order and are broken up incorrectly (for us)

Lets get this commits fixed you have two commits here (in this order if you don't mind)

  1. fixes the mouse label issue (changes to Action.cpp)
  2. The rest that adds the feature (documentation etc is added in the same commit)

I have not tested the code yet by running it.

@KrisEnigma KrisEnigma left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added 2 commits as requested.

@sithlord48

Copy link
Copy Markdown
Member

Linting need to be fixed and my last two comments need to be addressed.

Comment thread src/lib/gui/Action.cpp
Comment thread src/lib/server/Server.cpp Outdated
@KrisEnigma
KrisEnigma force-pushed the master branch 2 times, most recently from 28094ca to 0ff34a8 Compare August 31, 2025 21:47
@KrisEnigma
KrisEnigma requested a review from sithlord48 August 31, 2025 22:11
@KrisEnigma

Copy link
Copy Markdown
Author

I've addressed the requested changes. Please let me know if I mised something, I'm still new at contributing to open source software :)

@KrisEnigma

KrisEnigma commented Sep 1, 2025

Copy link
Copy Markdown
Author

Hi @sithlord48 and @nbolton, I've addressed the feedback:

  • Moved the copyright header to the first commit.
  • Fixed the std::find issue with std::ranges::find.
  • Kept the commits in the fix:/feat: format.

I've pushed the updates and requested reviews. Let me know if there's anything else!

@nbolton nbolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate you probably wanted to avoid noise, but these things shouldn't happen normally so I'd consider them to be errors.

Comment thread src/lib/server/Server.cpp Outdated
Comment thread src/lib/server/Server.cpp Outdated
Comment thread src/lib/server/Server.cpp Outdated

@sithlord48 sithlord48 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me now

@sithlord48

Copy link
Copy Markdown
Member

For future reference after you change stuff you can hit the little refresh icon by the reviewer and we will be notified to review again

@sithlord48
sithlord48 enabled auto-merge (rebase) September 1, 2025 15:20
@sithlord48
sithlord48 merged commit 104d2fa into deskflow:master Sep 1, 2025
29 checks passed
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.

Toggle screen keybind to cycle through screens

3 participants