Enter toggles fullscreen
Describe the bug Enter exits FullScreen mode. So, to be clear, when freerdp is in fullscreen mode and I press only Enter, it exits fullscreen, but when in window mode I press enter it doesn't switch to fullscreen mode.
To Reproduce Steps to reproduce the behavior:
- Connect
- Switch to fullscreen mode with ctrl+alt+enter
- Type anything and press Enter
Expected behavior Only Ctrl+Alt+Enter should toggle fullscreen mode
Application details
-
Version of FreeRDP : FreeRDP version 2.0.0-dev5 (df280a7ff)
-
Command line used :
-
output of
/buildconfig/opt/freerdp-nightly/bin/xfreerdp /v:/build-config [16:17:55:978] [28135:28136] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr [16:17:55:979] [28135:28136] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd [16:17:55:979] [28135:28136] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr -
OS version connecting to Windows 10
Desktop (please complete the following information):
- OS: Linux Mint 19.1
Command Line #!/bin/bash /opt/freerdp-nightly/bin/xfreerdp /drive:home,/home/XXX/Share /u:XXXX /v:none.com /w:1920 /h:1080 +auto-reconnect /auto-reconnect-max-retries:5 /p:XXX +clipboard /log-level:trace
Not seen such behaviour so far. You're using our nightly builds I assume? Which desktop environment dou you use, it is most likely related to that. (Key bindings, special keys?)
Not seen such behaviour so far. You're using our nightly builds I assume? Which desktop environment dou you use, it is most likely related to that. (Key bindings, special keys?)
Yes, latest nightly from repo. It's Cinnamon 4.0.10, with default key bindings, no modifications against stock. Any suggestions how to debug this issue ?
Additionally, here is another issue with fullscreen: if I use /f /floatbar , than ctrl+alt+enter toggles visibility of float bar, in other words without /flotabar I don't see any option to close rdp, and nothing helpful in help =(
It sounds like somehow Ctrl-Alt got stuck in your session. I'm seeing this quite often when switching workspaces, but that wouldn't work in fullscreen mode.
Try pressing Ctrl-Alt or clicking into the session window after switching to fullscreen mode. Does pressing Enter still take you out of fullscreen mode afterwards?
Exactly same issue at FreeRDP version 2.0.0-dev5 (5d804852b) Linux Mint 19.1
Try to use /smart-sizing
Try to use /smart-sizing
It works!
Thanks, the /smart-sizing works when hit ctrl+alt+ENTER.
Describe the bug Enter exits FullScreen mode. So, to be clear, when freerdp is in fullscreen mode and I press only Enter, it exits fullscreen, but when in window mode I press enter it doesn't switch to fullscreen mode.
To Reproduce Steps to reproduce the behavior:
- Connect
- Switch to fullscreen mode with ctrl+alt+enter
- Type anything and press Enter
Expected behavior Only Ctrl+Alt+Enter should toggle fullscreen mode
Application details
- Version of FreeRDP : FreeRDP version 2.0.0-dev5 (df280a7)
- Command line used :
- output of
/buildconfig/opt/freerdp-nightly/bin/xfreerdp /v:/build-config [16:17:55:978] [28135:28136] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr [16:17:55:979] [28135:28136] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd [16:17:55:979] [28135:28136] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr- OS version connecting to Windows 10
Desktop (please complete the following information):
- OS: Linux Mint 19.1
Command Line #!/bin/bash /opt/freerdp-nightly/bin/xfreerdp /drive:home,/home/XXX/Share /u:XXXX /v:none.com /w:1920 /h:1080 +auto-reconnect /auto-reconnect-max-retries:5 /p:XXX +clipboard /log-level:trace
After resume remote session press Win 2x :)
I have same issue: version: This is FreeRDP version 2.1.1 (n/a) on: Ubuntu 18.04.4 LTS
- I connect from ubuntu to windows 10 computer using: xfreerdp /multimon /u:xxx /p:xxx /v:xxx
- Starts on Win10 fullscreen, then ctrl+alt+enter to see ubuntu again as expected.
- Now I press ctrl+alt+enter to go to full screen again as expected.
- Then pressing enter alone toggles fullscreen off! NOT as expected.
[edit] smart-sizing doesn't help since I use multiple monitors ~~pressing the windows key twice didn't help~~ Win 2x after resume worked the num-pad enter doesn't trigger this bug, so for now this is my work-around. [edit] Or restarting the connection to avoid the bug.
[edit] @dmsuhanov worked but you gotta press Win 2x quick right after resume (@kotipalvelu, @lghtman)
I have same issue: version: This is FreeRDP version 2.1.1 (n/a) on: Ubuntu 18.04.4 LTS
1. I connect from ubuntu to windows 10 computer using: xfreerdp /multimon /u:xxx /p:xxx /v:xxx 2. Starts on Win10 fullscreen, then ctrl+alt+enter to see ubuntu again as expected. 3. Now I press ctrl+alt+enter to go to full screen again as expected. 4. Then pressing enter alone toggles fullscreen off! NOT as expected.[edit] smart-sizing doesn't help since I use multiple monitors pressing the windows key twice didn't help the num-pad enter doesn't trigger this bug, so for now this is my work-around. [edit] Or restarting the connection to avoid the bug.
I can confirm this behavior. My system is also Ubuntu 18.04 login to Gnome+Wayland -variant of desktop. I am logging to W10 client which is running on host as a Virtualbox session.
I'm having exactly the same problem as @weaponrex and @kotipalvelu, but connecting to a physical Windows 10 machine instead of a VM.
I am having the same problem as @weaponrex and also cannot use smart-sizing due to using multiple monitors. Pressing Win twice immediately after using ctrl-alt-enter to fullscreen the remote window does not work for me. Restarting the connection does work, as the issue only arises after I use ctrl-alt-enter to un-fullscreen once, but this is not a very good solution because it messes with all the windows on the remote machine. Pressing the numpad enter also works, but the muscle memory to press the normal enter is too strong.
I´ve reworked some parts of the input handling with https://github.com/FreeRDP/FreeRDP/pull/6323 Any change with that?
It seems like this issue happens only with -grab-keyboard in a Wayland session with Xwayland. And No, akallabeth:x11_kbd_mapping doesn't fix it.
To reproduce,
- Run a GNOME wayland session
- Run xfreerdp with
-grab-keyboardand connect to a Windows - Switch to a second workspace
- Run xlogo and make sure it gets focused
- Go back to the previous workspace and hit enter in the xfreerdp
An odd thing is that with xeyes, xclock, xload, or oclock in the second workspace doesn't trigger this bug. But xlogo, xcalc, or xconsole does. The diff AFAICS is that the apps which trigger this bug get drop shadow and the title bar changes color when it gets focused. The apps which don't trigger don't get any visual indication for "focused".
A native wayland app, like gnome-terminal or gedit, doesn't trigger this bug. Google Chrome, or any other non-native / x11 app, triggers.
This is on Debian Sid with
gnome-shell 3.36.3-1 mutter 3.36.3-1 x11-apps 7.7+8 xwayland 2:1.20.8-2
I've tested against FreeRDP "2.1.2", "stable-2.0", "master", and "akallabeth:x11_kbd_mapping". All behave the same.
Hope this helps.
ubuntu 18.04 , xfreerdp2-x11 , I am having the same problem Press Win 2x don't work too. Finally, I tried a strange but useful method: after use ctrl+alt+enter resume, Press [Alt + F8], and MUST be Right Alt on your keyboard, Left Alt cannot work. @weaponrex @kotipalvelu @Jaculabilis
The same behavior FreeRDP version 2.1.1 Ubuntu 18.04.5 LTS
Single press of RightAlt helps after returning to fullscreen
I've got the same problem. All the above solutions don't work. Some of them worked but only once or twice.
Manjaro (Kernel 5.12.1) FreeRDP version 2.3.2
I've tried all of these. xfreerdp /v:XYZ /u:USER /p:PASS /smart-sizing /multimon -grab-keyboard xfreerdp /v:XYZ /u:USER /p:PASS /f /multimon -grab-keyboard xfreerdp /v:XYZ /u:USER /p:PASS /smart-sizing /f /multimon -grab-keyboard
Turns out... I've switched to gnome (x-org) instead of Wayland... and I did not have the problem since. I'll keep you up to date!
Ubuntu 18.04.5 LTS 2.0.0-rc3 OK from 2.0.0-rc4 NG
I compared the code of rc3 and rc4. Starting from rc4, function xf_keyboard_update_modifier_keys(xfc) was added to xf_keyboard.c, and it was OK after deleting it.
Suspected the possibility of repeated counting of LCtrl Press Event
Ubuntu 20.04.3 LTS This is FreeRDP version 2.2.0 (n/a)
Still have the issue. I use following command to connect
wlfreerdp /audio-mode:0 /bpp:24 /f /microphone /p:password /gfx:RFX -glyph-cache +toggle-fullscreen /floatbar /sound -themes /u:user /v:<ip> -wallpaper
As workaround I use following:
- Press Win + Esc, which activates host hotkeys
- Press Alt + Tab to switch to any Ubuntu window
- Terminate wlfreerdp from ubuntu terminal
@pavel-zhigulin you´re talking about wlfreerdp, this issue is for xfreerdp (different clients)
similar problem. I'm using xfreerdp3, using ctrl+alt+up/down/left/right to switch between workspaces.
When I press enter, it triggered fullscreen. When I press enter again, it exited fullscreen.
Solution: I'm using xfreerdp -disable-grab-keyboard -disable-toggle-fullscreen and pretty happy.