Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make credential dialog work with SDL3 #11093

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

vmpn
Copy link
Contributor

@vmpn vmpn commented Jan 18, 2025

When using master branch with SDL3 the credentials dialog was not working for me.

Looking at code and API documentation seems like code was not fully changed from SDL2->SDL3 API conventions.

Tested by successfully working with real RDP host using SDL3 with wayland video driver and following flags

/gateway:g:<censored>,u:<censored>
/u:<censored>
/v:<censored>
/audio-mode:0
+compression
/multimon
+toggle-fullscreen

@freerdp-bot
Copy link

Can one of the admins verify this patch?

Copy link
Member

@akallabeth akallabeth left a comment

Choose a reason for hiding this comment

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

LGTM

@akallabeth
Copy link
Member

@freerdp-bot test

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

client/SDL/SDL3/dialogs/sdl_widget.hpp Outdated Show resolved Hide resolved
@freerdp-bot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://ci.freerdp.com//job/PullRequestTester/13983/

@akallabeth
Copy link
Member

@freerdp-bot test

@akallabeth
Copy link
Member

@vmpn there is a typo left: /home/runner/work/FreeRDP/FreeRDP/scripts/../client/SDL/SDL3/dialogs/sdl_widget.cpp:198: sucess ==> success

@vmpn vmpn force-pushed the vmpn/sdl3-credentials branch from c322386 to bc5bd0e Compare January 18, 2025 22:05
@akallabeth
Copy link
Member

@vmpn please rebase to master and squash commits (and force push) so we get a clean history.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

client/SDL/SDL3/dialogs/sdl_widget.hpp Show resolved Hide resolved
@vmpn
Copy link
Contributor Author

vmpn commented Jan 18, 2025

Sure, squash and rebase on the way

client/SDL/SDL3/dialogs/sdl_widget.cpp Show resolved Hide resolved
client/SDL/SDL3/dialogs/sdl_widget.cpp Outdated Show resolved Hide resolved
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@freerdp-bot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://ci.freerdp.com//job/PullRequestTester/13995/

@akallabeth akallabeth added this to the next-3.0 milestone Jan 18, 2025
@vmpn vmpn force-pushed the vmpn/sdl3-credentials branch from bc5bd0e to acffd25 Compare January 18, 2025 22:21
@vmpn vmpn force-pushed the vmpn/sdl3-credentials branch from acffd25 to 0757ad4 Compare January 18, 2025 22:24
@vmpn
Copy link
Contributor Author

vmpn commented Jan 18, 2025

Think I addressed all comments, and mistakes in follow up changes

@akallabeth
Copy link
Member

@freerdp-bot test

@akallabeth
Copy link
Member

@vmpn thx. looking good now, waiting for pr to go through (formatting et al)
thank you for the fixes!

Copy link

clang-tidy review says "All clean, LGTM! 👍"

@freerdp-bot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://ci.freerdp.com//job/PullRequestTester/13996/

@akallabeth akallabeth merged commit 2c72722 into FreeRDP:master Jan 18, 2025
8 checks passed
@vmpn vmpn deleted the vmpn/sdl3-credentials branch January 18, 2025 22:51
@vmpn
Copy link
Contributor Author

vmpn commented Jan 18, 2025

@akallabeth happy to help, appreciate your help getting this into acceptable shape

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.

3 participants