This is happening to me now with Gnome on Ubuntu 22.04.3. I'm going to
document all the behaviors I see, and I think I have reproduction steps
(taking a screenshot when a context menu is open, maybe specifically
with shutter), but I need to reboot to verify the exact steps.

Observations while it is stuck:

- Core issue: Window focus cannot be changed with the mouse.
  - But it can with the keyboard. Alt-Tab still works.
- On the focused window: All mouse functions work: left / right / middle / 
wheel / hover
- On other windows: ONLY hover and wheel (scroll) DO WORK. No clicks whatsoever
- On the upper or lower gnome toolbars: nothing works. No clicks, no hovers. 
But the clock time is still correct, so they're "working"
- If I tap META, it opens the activities ui, but no mouse functions work 
(click/hover/wheel), but I can hit TAB or start typing to search for an app to 
launch / use arrow keys to navigate the interface.

- Regarding window adjustments (resize by borders, drag by title, 
close/maximize buttons) - Google Chrome responds differently than all other 
windows. I assume this is due to Chrome's custom window decorations.
  - Google Chrome can still be resized and dragged by title and closed / 
maximized / etc
  - Non-custom window decorations (gnome-terminal, gimp, shutter, vscode, 
Chrome's debug tools, etc) cannot be dragged, resized, or closed by their 
window decorations.
  - META-click to drag and resize does not work for any windows, Google Chrome 
included.

- Changing workspaces with keyboard still works. When you do so, as
always, one window in the new workspace is focused, so it's the only
working window.

- Running xev (and then closing it) did not fix it
- Killing shutter did not fix it
- Taking a second screenshot with shutter does not fix it.

I think that's all I can observe, I'll reboot now, and edit / update if
I can reproduce it.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/362359

Title:
  Focus gets stuck to a window - impossible to select other windows

Status in xorg-server package in Ubuntu:
  Fix Released

Bug description:
  Alright, terribly annoying bug that gets me to reboot several times a
  day, but very hard to understand how to trigger it.

  What happens: after some time of usage, you get "stuck" in a window. Idem 
est, you can not select another window. 
  You can still click, select and drag in the window that has the focus, but 
clicking on other windows, or on the panel, just doesn't work.

  Notes:
  - With window I don't mean "application window". For example it can only be 
the page view in firefox, and  you won't be able to click the buttons or the 
URL field. It can also be the main text window in xchat, and you wont be able 
to click in the user list or to change the chatroom.
  - The click seems to be grabbed by the window having the focus, even if you 
click outside of it. For example, using xchat, if the main text window has 
focus, clicking and dragging in the user list will actually select text in the 
main text window.
  - Using xev, it seems that clics do not get passed to the correct window at 
all (nothing received)
  - I have no idea what triggers this as sometimes it will trigger alone - pc 
works, I leave it for an hour, I come back, the problem is triggered
  - Curious effect now: dragging and dropping to another window gives focus to 
the window, and seems to be the only way to do so. For example if in firefox 
the main page view window has the focus and I cant click the buttons, drag and 
dropping text to the buttons gives the focus to the buttons, and I can't clic 
the page view window anymore. Drag and dropping a button to the page view 
window gives it its focus back....

  
  Additional info: 
  * Compiz disabled
  * Intel graphic card
  * Ubuntu jaunty - latest patches
  * Using a laptop, with an USB mouse

  HAL, xserver, I have no idea where to file this bug into. I hope it will be 
fixed before the release, it is really terribly annoying :s 
  Please tell me if there is any other detail I can provide.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/362359/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to