Description of problem:
Interrupting screen dimming partly locks window switching in Wayland and Xorg session of GNOME.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. to speed up testing: `gnome-control-center lock` -- Blank screen delay: 1 minute
2. open 2 independent programs, f.i. `nautilus` and `gnome-terminal` (or "GNOME settings" and `firefox`) ; you can test with a single window and right mouse button click on desktop too
3. when dimming starts: move mouse cursor or press keyboard key
4. use left mouse button to select other window
- other window not selectable
- no hover-over effect for buttons in top bar
- click on "Activities" in upper left corner - does not switch to overview mode
- right mouse button on desktop - context menu does not show up
- selecting buttons in the currently selected window - works (gnome-control-center)
- selecting buttons in the currently selected window - does not work (firefox)
no such problems
To get unstuck do either of these with currently selected window:
- double left click on title bar
- right mouse button click on title bar
- click-and-hold title bar and move window around
This helps as well:
- Super key on keyboard
- Alt+Tab to cycle window list
- Alt+F2 -- Esc
No problem if screen gets completely black and mouse cursor disappears and then you move mouse cursor.
I tested only on notebook (upgrade from Fedora Workstation 34 to 36) with built-in Intel graphics chip: $ lspci -nn | grep VGA
...Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
Same problem with nvidia graphics card on a different computer (upgraded from 34 to 36 too). Proposing as blocker bug.
Proposed as a Blocker for 36-final by Fedora user sobek using the blocker tracking app because:
the best match seems to be https://fedoraproject.org/wiki/Fedora_36_Final_Release_Criteria#Default_panel_functionality with "bad impression to a typical user"
I can confirm this on my laptop. Use `gsettings set org.gnome.desktop.session idle-delay 10` to test this quickly (10 second screen blanking delay). I tested with terminal and nautilus, if any of those is active while the blanking starts and is interrupted, my screen is completely frozen and doesn't respond to mouse input, contrary to what comment 0 says (none of those listed mouse-related workarounds work for me). I have to use the keyboard to get unstuck - either start typing, or press Super, or Alt+Tab, etc.
Discussed during the 2022-04-11 blocker review meeting: 
The decision to classify this bug as an AcceptedBlocker was made:
"It violates the following criteria: “All elements of the default panel (or equivalent) configuration in all release-blocking desktops must function correctly in typical use.”"
Confirming this issue, with an Acer with integrated Intel graphics
gnome-shell issue: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5124
Fixed by this mutter MR: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2333
Setting to POST then...
FEDORA-2022-374212758c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-374212758c
(In reply to Fedora Update System from comment #8)
> FEDORA-2022-374212758c has been submitted as an update to Fedora 36.
The bug is gone.
FEDORA-2022-374212758c has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-374212758c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-374212758c
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-374212758c has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.