🖱️ Mouse input freezes after closing titlebar menu on installed software (VS Code, Obsidian, Blender, etc...)

Open
#1,798 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux, typescript

Research direction

No source files, tests, or entry points are identified in the issue. Start by reproducing the titlebar-menu dismissal flow in Pop!_OS 22.04 on an Xorg session with an externally installed app, compare it with Firefox or Terminal, and consider the issue done when clicking outside the menu no longer freezes mouse input.

Written by the indexing model from the issue text.

Description

🧩 Summary

GNOME input freezes when dismissing the titlebar context menu in external (.deb-installed) apps such as Obsidian or VS Code. Input restores after pressing the super key.

Suggested labels: bug, GNOME, Xorg, input, external-apps

🐞 Bug Description

Right-clicking the title bar of externally installed apps (Obsidian, VS Code, Blender) causes GNOME input to freeze after clicking outside the context menu. Important note: System-integrated apps (Firefox, Terminal, Settings) do not show this issue.


♻️ Steps to Reproduce

  1. Open an externally installed app (e.g., Obsidian or VS Code).
  2. Right-click the window title bar to open the system context menu.
  3. Click anywhere outside the context menu.
  4. Mouse input freezes and stops responding.
  5. Press Super to restore input.

⚙️ Expected Behavior

Clicking outside the context menu should simply close it.
Instead, GNOME input freezes until Super is pressed.


📸 Screenshot Example

The issue occurs in Obsidian and VS Code but not in Firefox. Here, I demonstrate right-clicking on the vs-code titlebar, and opening the system-level window options. Clicking away, will freeze mouse input for the entire system, and lock the mouse in it's current state... (if it was in a text field, it will stay locked as a text cursor.)

Screenshot example


📝 Additional Notes

  • Occurs only with apps installed externally (e.g., via .deb).
  • System-integrated apps behave correctly.
  • Pressing Super restores focus immediately.
  • This issue occurs 100% of the attempts

🔎 Possible Cause

May be related to how non-integrated applications handle GNOME’s window management or input focus events.
System apps likely communicate focus changes correctly, while .deb apps may not.


🔌 System Info

Field Specs
OS Pop!_OS 22.04 LTS
Desktop Environment GNOME
Session Type Xorg (X11)
GPU AMD RX 570
RAM 8GB
CPU AMD Ryzen 5000G
Installation Date Fresh install (a few days old)
Dominant language
TypeScript
Stars
5.3k
Forks
318
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pop-os/shell

All issues in pop-os/shell

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.