Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt program doesn't receive any mouse event when overlapping with gnome-shell panel
Forum Update on Monday, May 27th 2025

Qt program doesn't receive any mouse event when overlapping with gnome-shell panel

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 153 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hao-lee
    wrote on last edited by
    #1

    The gnome-shell's window-list extension provides a panel. I write a Qt program and put it on top of this panel to implement my taskbar. The window flags I set are Qt::FramelessWindowHint|Qt::X11BypassWindowManagerHint|Qt::WindowStaysOnTopHint. My program can cover the panel successfully, but it can't receive any mouse event. It seems the focus is still captured by the window-list extension. How could I resolve this? Thanks.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      It seems like a gnome issue.
      Not really sure what we can do about it.
      Keyboard focus is one thing but no mouse events is a bit odd.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved