Bug 1988906

Summary: Disable unfullscreen gesture or a function to switch between normal mode and fullscreen mode
Product: Red Hat Enterprise Linux 8 Reporter: Lili Huang <lilhuang>
Component: gnome-shell-extensionsAssignee: Carlos Garnacho <cgarnach>
Status: CLOSED ERRATA QA Contact: Michael Boisvert <mboisver>
Severity: high Docs Contact:
Priority: high    
Version: 8.4CC: cgarnach, jadahl, jkoten, sbarcomb, tpelka, tpopela, yuokada
Target Milestone: betaKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-shell-extensions-3.32.1-24.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2009191 2009192 (view as bug list) Environment:
Last Closed: 2022-05-10 13:42:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2009191, 2009192    

Description Lili Huang 2021-08-02 05:02:09 UTC
Description of problem:

When swap from the top of the touchscreen, the rdp window exit from the fullscreen mode (to Maximized Window). There is no way to switch back to the fullscreen mode without a physical keyboard (With a keyboard, it's able to switch back by Alt+Ctrl+Enter).
----------------
XFREERDP(1)
...
  /f
       Fullscreen mode (<Ctrl>+<Alt>+<Enter> toggles fullscreen)

-toggle-fullscreen
           Alt+Ctrl+Enter to toggle fullscreen (default:on)
----------------

Seems the unfullscreen gesture is added from gnome-shell 3.29.90.

3.29.90
* Add gesture to unfullscreen a window

This gesture doesn't not only effect rdp windows but other windows in fullscreen mode.

Version-Release number of selected component (if applicable):

RHEL8.4 + freerdp-2.2.0-1.el8.x86_64 + Windows
Wayland disabled
Touch screen.

How reproducible:

This behavior can be seen in any touchscreen environment.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

A function to disable unfullscreen gesture
OR
A function to be able to switch between normal mode and fullscreen mode without a physical keyboard.

Additional info:

Comment 21 Michael Boisvert 2021-11-10 22:26:36 UTC
I know the customer reported that the test packages worked properly for them, but I still may not be able to inhibit the unfullscreen gesture on gnome-shell-extensions-3.32.1-24.el8.

[test@localhost ~]$ gsettings get org.gnome.shell.extensions.gesture-inhibitor unfullscreen
false

[test@localhost ~]$ gsettings list-recursively org.gnome.shell.extensions.gesture-inhibitor
org.gnome.shell.extensions.gesture-inhibitor unfullscreen false
org.gnome.shell.extensions.gesture-inhibitor show-app-grid false
org.gnome.shell.extensions.gesture-inhibitor show-osk true
org.gnome.shell.extensions.gesture-inhibitor app-switch true
org.gnome.shell.extensions.gesture-inhibitor overview true

Trying to test on a VM. If I have a window fullscreen then click + hold the cursor on the very top bar and drag down, the window is now not fullscreen anymore. The window size shouldn't be modified by this gesture, correct? I can disable the show-app-grid left drag gesture successfully.

Comment 27 Michael Boisvert 2021-11-11 17:01:07 UTC
Sorry about the ack drop, I was trying to adjust the component to be correct.

Comment 31 Michael Boisvert 2021-11-11 17:05:55 UTC
Verified on gnome-shell-extensions-3.32.1-24.el8.

Comment 33 errata-xmlrpc 2022-05-10 13:42:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (gnome-shell-extensions bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:1807