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
Sometimes cannot resize client on Mac [deprecated client] #9882
Comments
can not reproduce. [edit] did just run |
I did a git pull 6 hours ago and did not see that (same build process, but my tools come from |
yes, same command line. [edit] fullscreen switch seems to sometimes screw up session resizing though |
I am trying to rebuild from a clean tree on a new machine. Mind sharing your Mine are: git clean -xdf
cmake -S . -B build -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET=14 -DWITH_CLIENT_MAC=on -DWITH_X11=off -DBUILD_SHARED_LIBS=on -DCMAKE_BUILD_TYPE=Release -DWITH_WEBVIEW=on -DWITH_MANPAGES=off -DBUILD_SHARED_LIBS=on
# if this isn't run under bash it will fail
bash ./scripts/bundle-mac-os.sh |
I just rebuilt the whole thing from scratch on my laptop (as in: from a completely new git clone) and the window is not resizable, as you can see in this screen recording: Untitled.mp4The command line I used is: ./install/MacFreeRDP.app/Contents/MacOS/MacFreeRDP /gfx:rfx,progressive +rfx /sound +dynamic-resolution /v:xfce.local /u:me Can we reopen the issue, please? |
@rcarmo well, you intentionally break the build ;) |
so, just to be sure I did run it again and today there seems to be something different? same binary, same command line but the window resize arrows no longer appeared. (not even an update/restart of the machine, just arrow up in the still open bash to run the same connection again) so I think this might be some race on startup (by default the window is not resizable, but if |
@rcarmo FYI: you did run the deprecated mac client, not the SDL client. (the warning messages in the CLI are quire obvious ;)) |
Well, the docs aren't clear on how to run the SDL one, and the "deprecated" one is still building and generating a working .app, so... I thought that was the SDL one. How do I get only the SDL binary to build with the standard Mac script, so that we can all agree on how to reproduce this? |
you seem to misunderstand the purpose of the script.
|
Well, that certainly isn't documented well enough (I saw the Libraries folder, and the bundle defaults to the client, so...). Thanks, I will give it a whirl. |
Describe the bug
Building from git tip, the SDL client does not let me resize the window, and switching to full screen does not seem to update the display size either.
To Reproduce
Running with these options:
Removing
w
orh
does not help,+workarea
doesn't seem to work either. There is no cursor feedback regarding the local window being resizable, either, which to me feels like a window creation bug (why isn't the CoreGraphics code handling window resizes)?Expected behavior
The cursor should change when hovering over a window edge and I should be able to resize the SDL client and have the remote display area increase accordingly.
The text was updated successfully, but these errors were encountered: